AliPhysics  master (3d17d9d)

Tracklet AOD object. More...

Inheritance diagram for AliAODTracklet:

Public Types

enum  {
  kInjection = 0x01, kCombinatorics = 0x02, kSecondary = 0x04, kDistinct = 0x08,
  kSimulated = 0x10, kGenerated = 0x20, kNeutral = 0x40, kSuppressed = 0x80
}
 Flags of tracklets. More...
 
typedef Float_t Real_t
 Type of real values. More...
 

Public Member Functions

 AliAODTracklet ()
 Default constructor. More...
 
 AliAODTracklet (const AliAODTracklet &other)
 
virtual ~AliAODTracklet ()
 
AliAODTrackletoperator= (const AliAODTracklet &other)
 
Setters
void SetTheta (Real_t x)
 
void SetPhi (Real_t x)
 
void SetDTheta (Real_t x)
 
void SetDPhi (Real_t x)
 
void SetDelta (Real_t x)
 
void SetFlags (UChar_t x)
 
void SetInjection ()
 
void SetCombinatorics ()
 
void SetSecondary ()
 
void SetDistinct ()
 
void SetSimulated ()
 
void SetGenerated ()
 
void SetNeutral ()
 
void SetSuppressed ()
 
Getters
Real_t GetTheta () const
 
Real_t GetPhi () const
 
Real_t GetDTheta () const
 
Real_t GetDPhi () const
 
Real_t GetDelta () const
 
UChar_t GetFlags () const
 
Queries
Real_t GetEta () const
 
Bool_t IsMeasured () const
 
Bool_t IsInjection () const
 
Bool_t IsCombinatorics () const
 
Bool_t IsDistinct () const
 
Bool_t IsSimulated () const
 
Bool_t IsSecondary () const
 
Bool_t IsPrimary () const
 
Bool_t IsGenerated () const
 
Bool_t IsNeutral () const
 
Bool_t IsSuppressed () const
 

Extra information in case of simulated data

Get parent transverse momentum

Parameters
secondIf true, second parent, otherwise first
Returns
Here, we always return 0
Real_t fTheta
 Tracklet polar angle. More...
 
Real_t fPhi
 Tracklet azimuthal angle. More...
 
Real_t fDTheta
 Tracklet polar opening angle. More...
 
Real_t fDPhi
 Tracklet azimuthal opening angle. More...
 
Real_t fDelta
 Tracklet quality. More...
 
UChar_t fFlags
 Tracklet flags. More...
 
virtual Real_t GetParentPt (Bool_t second=false) const
 
virtual Short_t GetParentPdg (Bool_t second=false) const
 
void Print (Option_t *option="") const
 

Detailed Description

Tracklet AOD object.

Single tracklet information

Single tracklet information

Author
Christian Holm Christensen cholm.nosp@m.@nbi.nosp@m..dk

Definition at line 17 of file AliAODTracklet.C.

Member Typedef Documentation

Type of real values.

Definition at line 33 of file AliAODTracklet.C.

Member Enumeration Documentation

anonymous enum

Flags of tracklets.

Enumerator
kInjection 
kCombinatorics 
kSecondary 
kDistinct 
kSimulated 
kGenerated 
kNeutral 
kSuppressed 

Definition at line 21 of file AliAODTracklet.C.

Constructor & Destructor Documentation

AliAODTracklet::AliAODTracklet ( )

Default constructor.

Definition at line 264 of file AliAODTracklet.C.

AliAODTracklet::AliAODTracklet ( const AliAODTracklet other)

Copy constructor

Parameters
otherObject to copy from

Definition at line 273 of file AliAODTracklet.C.

virtual AliAODTracklet::~AliAODTracklet ( )
inlinevirtual

Destrcutor

Definition at line 44 of file AliAODTracklet.C.

Member Function Documentation

Real_t AliAODTracklet::GetDelta ( ) const
inline

Get Tracklet quality

Returns
Tracklet quality

Definition at line 155 of file AliAODTracklet.C.

Referenced by AliTrackletDeltaWeights::CalcWeight(), AliTrackletAODdNdeta::CheckTracklet(), and AliTrackletAODdNdeta::Histos::ProcessTracklet().

Real_t AliAODTracklet::GetDPhi ( ) const
inline

Get Tracklet azimuthal opening angle

Returns
Tracklet azimuthal opening angle

Definition at line 149 of file AliAODTracklet.C.

Referenced by AliTrackletAODdNdeta::CheckTracklet().

Real_t AliAODTracklet::GetDTheta ( ) const
inline

Get Tracklet polar opening angle

Returns
Tracklet polar opening angle

Definition at line 143 of file AliAODTracklet.C.

Real_t AliAODTracklet::GetEta ( ) const
inline
UChar_t AliAODTracklet::GetFlags ( ) const
inline

Get Tracklet flags

Returns
Tracklet flags

Definition at line 161 of file AliAODTracklet.C.

Referenced by AliTrackletBaseWeights::CheckTracklet(), and AliTrackletAODdNdeta::Histos::ProcessTracklet().

virtual Short_t AliAODTracklet::GetParentPdg ( Bool_t  second = false) const
inlinevirtual

Get parent particle type

Parameters
secondIf true, second parent, otherwise first
Returns
Here, we always return 0

Reimplemented in AliAODMCTracklet.

Definition at line 240 of file AliAODTracklet.C.

Referenced by AliTrackletPtPidStrWeights::CalcWeight(), AliTrackletAODWeightedMCdNdeta::LookupWeight(), and AliTrackletAODdNdeta::Histos::ProcessTracklet().

virtual Real_t AliAODTracklet::GetParentPt ( Bool_t  second = false) const
inlinevirtual
Real_t AliAODTracklet::GetPhi ( ) const
inline

Get Tracklet azimuthal angle

Returns
Tracklet azimuthal angle

Definition at line 137 of file AliAODTracklet.C.

Referenced by AliTrackletAODdNdeta::ProcessEvent().

Real_t AliAODTracklet::GetTheta ( ) const
inline

Get Tracklet polar angle

Returns
Tracklet polar angle

Definition at line 131 of file AliAODTracklet.C.

Referenced by AliTrackletAODTask::ProcessTracklet().

Bool_t AliAODTracklet::IsCombinatorics ( ) const
inline
Returns
true if tracklet is from combinatorics

Definition at line 187 of file AliAODTracklet.C.

Referenced by IsPrimary(), Print(), AliTrackletAODdNdeta::ProcessEvent(), and AliTrackletAODdNdeta::Histos::ProcessTracklet().

Bool_t AliAODTracklet::IsDistinct ( ) const
inline
Returns
true if two mothers a distinct (do not have same ultimate mother).

Definition at line 192 of file AliAODTracklet.C.

Referenced by Print().

Bool_t AliAODTracklet::IsGenerated ( ) const
inline
Returns
true if tracklet is a generated, primary, charged particle

Definition at line 211 of file AliAODTracklet.C.

Referenced by AliTrackletDeltaWeights::CalcWeight(), IsMeasured(), IsPrimary(), Print(), and AliTrackletAODdNdeta::ProcessEvent().

Bool_t AliAODTracklet::IsInjection ( ) const
inline
Returns
true if tracklet was created in an event with injection background

Definition at line 183 of file AliAODTracklet.C.

Referenced by IsMeasured(), and Print().

Bool_t AliAODTracklet::IsMeasured ( ) const
inline

Check if this tracklet is a measured tracklet - in the sense that it is neither part of an injection sub-sample, nor generated by the model (in case of simulations)"

Returns

Definition at line 178 of file AliAODTracklet.C.

Referenced by AliTrackletPtPidStrWeights::CalcWeight(), AliTrackletAODdNdeta::CheckEvent(), AliTrackletAODdNdeta::FindFakeCentrality(), AliTrackletAODWeightedMCdNdeta::LookupWeight(), Print(), and AliTrackletAODdNdeta::ProcessEvent().

Bool_t AliAODTracklet::IsNeutral ( ) const
inline
Returns
true if tracklet is a generated, primary, neutral particle

Definition at line 215 of file AliAODTracklet.C.

Referenced by AliTrackletAODdNdeta::ProcessEvent().

Bool_t AliAODTracklet::IsPrimary ( ) const
inline
Returns
true if tracklet is from a primary particle

Definition at line 204 of file AliAODTracklet.C.

Referenced by Print().

Bool_t AliAODTracklet::IsSecondary ( ) const
inline
Returns
true if tracklet is from a secondary particle

Definition at line 200 of file AliAODTracklet.C.

Referenced by IsPrimary(), and Print().

Bool_t AliAODTracklet::IsSimulated ( ) const
inline
Returns
true if tracklet is from simulated data

Definition at line 196 of file AliAODTracklet.C.

Referenced by AliTrackletPtPidStrWeights::CalcWeight(), and IsPrimary().

Bool_t AliAODTracklet::IsSuppressed ( ) const
inline

Check if this primary is suppressed

Returns
true of suppressed

Definition at line 221 of file AliAODTracklet.C.

Referenced by Print(), and AliTrackletAODdNdeta::Histos::ProcessTracklet().

AliAODTracklet & AliAODTracklet::operator= ( const AliAODTracklet other)

Assignment operator

Parameters
otherObject to assign from
Returns
Reference to this object

Definition at line 284 of file AliAODTracklet.C.

Referenced by AliAODMCTracklet::operator=(), AliAODMCTracklet::~AliAODMCTracklet(), and ~AliAODTracklet().

void AliAODTracklet::Print ( Option_t option = "") const
void AliAODTracklet::SetCombinatorics ( )
inline

Flag tracklet as a combinatorial background

Definition at line 97 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessTracklet().

void AliAODTracklet::SetDelta ( Real_t  x)
inline

Set Tracklet quality

Parameters
xTracklet quality

Definition at line 83 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated(), and AliTrackletAODTask::ProcessTracklet().

void AliAODTracklet::SetDistinct ( )
inline

Flag tracklet as combinatorial background from distinct mothers

Definition at line 105 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessTracklet().

void AliAODTracklet::SetDPhi ( Real_t  x)
inline

Set Tracklet azimuthal opening angle

Parameters
xTracklet azimuthal opening angle

Definition at line 77 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated(), and AliTrackletAODTask::ProcessTracklet().

void AliAODTracklet::SetDTheta ( Real_t  x)
inline

Set Tracklet polar opening angle

Parameters
xTracklet polar opening angle

Definition at line 71 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated(), and AliTrackletAODTask::ProcessTracklet().

void AliAODTracklet::SetFlags ( UChar_t  x)
inline

Set Tracklet flags

Parameters
xTracklet flags

Definition at line 89 of file AliAODTracklet.C.

void AliAODTracklet::SetGenerated ( )
inline

Flag "tracklet" as from a generated primary, particle in simulated data

Definition at line 113 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated().

void AliAODTracklet::SetInjection ( )
inline

Set Injection flag

Definition at line 93 of file AliAODTracklet.C.

Referenced by AliTrackletAODTask::ProcessTracklet().

void AliAODTracklet::SetNeutral ( )
inline

Flag "tracklet" as from a neutral primary, particle in simulated data

Definition at line 117 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated().

void AliAODTracklet::SetPhi ( Real_t  x)
inline

Set Tracklet azimuthal angle

Parameters
xTracklet azimuthal angle

Definition at line 65 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated(), and AliTrackletAODTask::ProcessTracklet().

void AliAODTracklet::SetSecondary ( )
inline

Flag tracklet as secondary

Definition at line 101 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessTracklet().

void AliAODTracklet::SetSimulated ( )
inline

Flag tracklet as from simulated data

Definition at line 109 of file AliAODTracklet.C.

Referenced by AliAODMCTracklet::AliAODMCTracklet().

void AliAODTracklet::SetSuppressed ( )
inline

A primary charged particle can be suppressed

Definition at line 121 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated().

void AliAODTracklet::SetTheta ( Real_t  x)
inline

Set Tracklet polar angle

Parameters
xTracklet polar angle

Definition at line 59 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated(), and AliTrackletAODTask::ProcessTracklet().

Member Data Documentation

Real_t AliAODTracklet::fDelta
protected

Tracklet quality.

Definition at line 257 of file AliAODTracklet.C.

Referenced by GetDelta(), operator=(), and SetDelta().

Real_t AliAODTracklet::fDPhi
protected

Tracklet azimuthal opening angle.

Definition at line 255 of file AliAODTracklet.C.

Referenced by GetDPhi(), operator=(), Print(), and SetDPhi().

Real_t AliAODTracklet::fDTheta
protected

Tracklet polar opening angle.

Definition at line 253 of file AliAODTracklet.C.

Referenced by GetDTheta(), operator=(), Print(), and SetDTheta().

Real_t AliAODTracklet::fPhi
protected

Tracklet azimuthal angle.

Definition at line 251 of file AliAODTracklet.C.

Referenced by GetPhi(), operator=(), Print(), and SetPhi().

Real_t AliAODTracklet::fTheta
protected

Tracklet polar angle.

Definition at line 249 of file AliAODTracklet.C.

Referenced by GetEta(), GetTheta(), operator=(), Print(), and SetTheta().


The documentation for this class was generated from the following file: