22 TLorentzVector fMomentum;
26 Int_t fDaugthers[2] = {-1, -1};
29 RecoTrack() : fIndexMc(-1), fNHits(0), fCharge(0) {};
30 Int_t GetMcIndex()
const {
return fIndexMc; }
31 Int_t GetNHits()
const {
return fNHits; }
32 Int_t GetCharge()
const {
return fCharge; }
33 void SetDaughers(Int_t a, Int_t b) {
37 void GetDaughters(Int_t& a, Int_t& b) {
41 void SetCharge(Int_t ch) { fCharge = ch; }
42 void SetMom(TLorentzVector mom) { fMomentum = mom; }
43 void SetNHits(Int_t nHits) { fNHits = nHits; }
44 void SetMcIndex(Int_t index) { fIndexMc = index; }
45 void SetMom(Double_t px, Double_t py, Double_t pz, Double_t e) { fMomentum.SetXYZT(px, py, pz, e); }
46 void Clear(Option_t* =
"") { fDaugthers[0] = fDaugthers[1] = -1; }
47 const TLorentzVector& GetMom()
const {
return fMomentum; }
53 TLorentzVector fMomentum;
54 TLorentzVector fFreezout;
59 McTrack() : fPdgCode(0), fMotherIdx(-1) {};
60 void SetMotherId(Int_t momId) { fMotherIdx = momId; }
61 void SetPdgCode(Int_t pdgCode) { fPdgCode = pdgCode; }
62 void SetFreezout(
const TLorentzVector& freezout) { fFreezout = freezout; }
63 void SetMomentum(
const TLorentzVector& momentum) { fMomentum = momentum; }
64 Int_t GetMotherId()
const {
return fMotherIdx; }
65 Int_t GetPdgCode()
const {
return fPdgCode; }
66 const TLorentzVector& GetFreezout()
const {
return fFreezout; }
67 const TLorentzVector& GetMomentum()
const {
return fMomentum; }