11 #ifndef ALIAODTRACKLET_C
12 #define ALIAODTRACKLET_C
296 fTheta(other.fTheta),
298 fDTheta(other.fDTheta),
300 fDelta(other.fDelta),
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;
450 fPar1Pt(other.fPar1Pt),
451 fPar2Pt(other.fPar2Pt),
452 fPar1Pdg(other.fPar1Pdg),
453 fPar2Pdg(other.fPar2Pdg)
461 if (&other ==
this)
return *
this;
void Print(Option_t *option="") const
ClassDef(AliAODTracklet, 2)
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
ClassDef(AliAODMCTracklet, 2)
virtual ~AliAODMCTracklet()