CbmRoot
CbmHadron.cxx
Go to the documentation of this file.
1 // ------------------------------------------------------------------
2 // ----- CbmHadron.h -----
3 // ----- Created 2008-01-18 by D.Kresan -----
4 // ------------------------------------------------------------------
5 
6 #include "CbmHadron.h"
7 
8 
9 // ------------------------------------------------------------------
11  : TObject()
12  , fCharge(0)
13  , fP(0.)
14  , fPt(0.)
15  , fPz(0.)
16  , fNMvdHits(0)
17  , fNStsHits(0)
18  , fNTrdHits(0)
19  , fB(0.)
20  , fLength(0.)
21  , fMass2(0.)
22  , fPdg(0)
23  , fGhost(kFALSE)
24  , fTDH(kFALSE) {}
25 // ------------------------------------------------------------------
26 
27 
28 // ------------------------------------------------------------------
29 CbmHadron::CbmHadron(Int_t charge,
30  Double_t p,
31  Double_t pt,
32  Double_t pz,
33  Int_t nMvdHits,
34  Int_t nStsHits,
35  Int_t nTrdHits,
36  Double_t b,
37  Double_t length,
38  Double_t mass2,
39  Int_t pdg,
40  Bool_t ghost,
41  Bool_t tdh)
42  : TObject()
43  , fCharge(charge)
44  , fP(p)
45  , fPt(pt)
46  , fPz(pz)
47  , fNMvdHits(nMvdHits)
48  , fNStsHits(nStsHits)
49  , fNTrdHits(nTrdHits)
50  , fB(b)
51  , fLength(length)
52  , fMass2(mass2)
53  , fPdg(pdg)
54  , fGhost(ghost)
55  , fTDH(tdh) {}
56 // ------------------------------------------------------------------
57 
58 
59 // ------------------------------------------------------------------
61 // ------------------------------------------------------------------
62 
63 
CbmHadron
Definition: CbmHadron.h:14
CbmHadron::CbmHadron
CbmHadron()
Definition: CbmHadron.cxx:10
CbmHadron.h
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition: CbmConverterManager.cxx:12
CbmHadron::~CbmHadron
virtual ~CbmHadron()
Definition: CbmHadron.cxx:60
nStsHits
Int_t nStsHits
Definition: CbmHadronAnalysis.cxx:65