/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RootEventData/RootEventData-00-03-80/RootEventData/TEvtRecVeeVertex.h

Go to the documentation of this file.
00001 #ifndef RootEventData_TEvtRecVeeVertex_H
00002 #define RootEventData_TEvtRecVeeVertex_H 
00003 
00004 #include "TObject.h"
00005 
00006 class TEvtRecVeeVertex : public TObject {
00007 
00008  public:
00009   TEvtRecVeeVertex();
00010   ~TEvtRecVeeVertex();
00011 
00012   Int_t vertexId() const {return m_vertexId;}
00013   Int_t vertexType() const {return m_vertexType;}
00014   Double_t chi2() const {return m_chi2;}
00015   Int_t ndof() const {return m_ndof;}
00016   Double_t mass() const {return m_mass;}
00017   Double_t w(Int_t i) const {return m_w[i];}
00018   Double_t Ew(Int_t i) const {return m_Ew[i];}
00019   Int_t pair(Int_t i) const {return m_pair[i];}
00020   Int_t nCharge() const {return m_nCharge;}
00021   Int_t nTracks() const {return m_nTracks;}
00022   Int_t daughter(Int_t i) const {return m_daughter[i];}  
00023  
00024   void setVertexId(Int_t vtxId) {m_vertexId = vtxId;}
00025   void setVertexType(Int_t vtxType) {m_vertexType = vtxType;}
00026   void setChi2(Double_t chi2) {m_chi2 = chi2;}
00027   void setNdof(Int_t ndof) {m_ndof = ndof;}
00028   void setMass(Double_t mass) {m_mass = mass;}
00029   void setW(Double_t w[7]) {
00030     for (Int_t i = 0; i < 7; i++) m_w[i] = w[i];
00031   } 
00032   void setEw(Double_t Ew[28]) {
00033     for (Int_t i = 0; i < 28; i++) m_Ew[i] = Ew[i];
00034   }
00035   void setPair(Int_t pair[2]) {
00036    for (Int_t i = 0; i < 2; i++) m_pair[i] = pair[i];
00037   }
00038   void setNCharge(Int_t nCharge) {m_nCharge = nCharge;}
00039   void setNTracks(Int_t nTracks) {m_nTracks = nTracks;}
00040   void setDaughter(Int_t daughter[2]) {
00041     for (Int_t i = 0; i < 2; i++) m_daughter[i] = daughter[i];
00042   }
00043 
00044  private:
00045   Int_t m_vertexId;
00046   Int_t m_vertexType; // 0 : Ks;  1 : Lambda; 2 : gamma conversion
00047   Double_t m_chi2;  // chi square of vertex fitting
00048   Int_t m_ndof;     // degree of freedom
00049   Double_t m_mass; // mass of "V" type decay particle
00050   Double_t m_w[7]; // (px, py, pz, E, x, y, z) of "V" type decay particle
00051   Double_t m_Ew[28]; // error matrix
00052   Int_t m_pair[2]; // identification of daughter particles
00053                               // 1:e   2:mu   3:pion  4:kaon  5:proton
00054   Int_t m_nCharge;  // total charges of daughter particles 
00055   Int_t m_nTracks; // total tracks of daughter particles
00056   Int_t m_daughter[2];
00057 
00058   ClassDef(TEvtRecVeeVertex, 1)
00059 };
00060 #endif
00061   

Generated on Tue Nov 29 23:11:40 2016 for BOSS_7.0.2 by  doxygen 1.4.7