11 #ifndef ALIAODTRACKLET_C 12 #define ALIAODTRACKLET_C 307 if (&other ==
this)
return *
this;
320 if (
IsMeasured()) flags[0] =
'M';
else flags[0] =
'-';
321 if (
IsInjection()) flags[1] =
'I';
else flags[1] =
'-';
323 if (
IsDistinct()) flags[3] =
'D';
else flags[3] =
'-';
324 if (
IsSecondary()) flags[4] =
'S';
else flags[4] =
'-';
325 if (
IsPrimary()) flags[5] =
'P';
else flags[5] =
'-';
326 if (
IsGenerated()) flags[6] =
'G';
else flags[6] =
'-';
327 if (
IsSuppressed()) flags[7] =
'S';
else flags[7] =
'-';
329 printf(
"Tracklet 0x%02x %s (%6.2f,%6.2f)+/-(%6.2f,%6.2f) [eta=%5.2f]",
333 TMath::RadToDeg()*
fPhi,
335 TMath::RadToDeg()*
fDPhi,
337 if (option[0] ==
'B')
return;
386 return !second ? fPar1Pt : fPar2Pt;
397 return !second ? fPar1Pdg : fPar2Pdg;
407 if (!second) fPar1Pt = pt;
else fPar2Pt = pt;
417 if (!second) fPar1Pdg =
pdg;
else fPar2Pdg =
pdg;
461 if (&other ==
this)
return *
this;
void Print(Option_t *option="") const
void SetParentPdg(Short_t pdg, Bool_t second=false)
virtual ~AliAODTracklet()
Bool_t IsSecondary() const
Bool_t IsInjection() const
virtual Real_t GetParentPt(Bool_t second=false) const
virtual Real_t GetParentPt(Bool_t second=false) const
Bool_t IsCombinatorics() const
AliAODMCTracklet & operator=(const AliAODMCTracklet &other)
Bool_t IsSimulated() const
Bool_t IsSuppressed() const
virtual Short_t GetParentPdg(Bool_t second=false) const
Bool_t IsMeasured() const
virtual Short_t GetParentPdg(Bool_t second=false) const
AliAODTracklet & operator=(const AliAODTracklet &other)
void SetParentPt(Real_t pt, Bool_t second=false)
Bool_t IsGenerated() const
void Print(Option_t *option="") const
Bool_t IsDistinct() const
virtual ~AliAODMCTracklet()