AliPhysics  5f855a4 (5f855a4)
Inheritance diagram for AliAODTracklet:

Public Types

enum  {
  kInjection = 0x01, kCombinatorics = 0x02, kSecondary = 0x04, kDistinct = 0x08,
  kSimulated = 0x10, kGenerated = 0x20, kNeutral = 0x40, kSuppressed = 0x80
}
 
typedef Float_t Real_t
 

Public Member Functions

 AliAODTracklet ()
 
 AliAODTracklet (const AliAODTracklet &other)
 
virtual ~AliAODTracklet ()
 
AliAODTrackletoperator= (const AliAODTracklet &other)
 
void Print (Option_t *option="") const
 
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
virtual Real_t GetParentPt (Bool_t second=false) const
 
virtual Short_t GetParentPdg (Bool_t second=false) const
 

Protected Attributes

Real_t fTheta
 
Real_t fPhi
 
Real_t fDTheta
 
Real_t fDPhi
 
Real_t fDelta
 
UChar_t fFlags
 

Detailed Description

Single tracklet information

Definition at line 25 of file AliAODTracklet.C.

Member Typedef Documentation

Type of real values

Definition at line 41 of file AliAODTracklet.C.

Member Enumeration Documentation

anonymous enum

Flags of tracklets

Enumerator
kInjection 
kCombinatorics 
kSecondary 
kDistinct 
kSimulated 
kGenerated 
kNeutral 
kSuppressed 

Definition at line 29 of file AliAODTracklet.C.

Constructor & Destructor Documentation

AliAODTracklet::AliAODTracklet ( )

Default constructor

Definition at line 285 of file AliAODTracklet.C.

AliAODTracklet::AliAODTracklet ( const AliAODTracklet other)

Copy constructor

Parameters
otherObject to copy from

Definition at line 294 of file AliAODTracklet.C.

virtual AliAODTracklet::~AliAODTracklet ( )
inlinevirtual

Destrcutor

Definition at line 55 of file AliAODTracklet.C.

Member Function Documentation

Real_t AliAODTracklet::GetDelta ( ) const
inline

Get Tracklet quality

Returns
Tracklet quality

Definition at line 171 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 165 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 159 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 177 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 260 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

Get parent transverse momentum

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

Reimplemented in AliAODMCTracklet.

Definition at line 252 of file AliAODTracklet.C.

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

Real_t AliAODTracklet::GetPhi ( ) const
inline

Get Tracklet azimuthal angle

Returns
Tracklet azimuthal angle

Definition at line 153 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 147 of file AliAODTracklet.C.

Referenced by AliTrackletAODTask::ProcessTracklet().

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

Definition at line 205 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 210 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 229 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 201 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 196 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 233 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 222 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 218 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 214 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 239 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 305 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 112 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessTracklet().

void AliAODTracklet::SetDelta ( Real_t  x)
inline

Set Tracklet quality

Parameters
xTracklet quality

Definition at line 98 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 120 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 92 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 86 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 104 of file AliAODTracklet.C.

void AliAODTracklet::SetGenerated ( )
inline

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

Definition at line 128 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated().

void AliAODTracklet::SetInjection ( )
inline

Set Injection flag

Definition at line 108 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 132 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 80 of file AliAODTracklet.C.

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

void AliAODTracklet::SetSecondary ( )
inline

Flag tracklet as secondary

Definition at line 116 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessTracklet().

void AliAODTracklet::SetSimulated ( )
inline

Flag tracklet as from simulated data

Definition at line 124 of file AliAODTracklet.C.

Referenced by AliAODMCTracklet::AliAODMCTracklet().

void AliAODTracklet::SetSuppressed ( )
inline

A primary charged particle can be suppressed

Definition at line 136 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 74 of file AliAODTracklet.C.

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

Member Data Documentation

Real_t AliAODTracklet::fDelta
protected

Tracklet quality

Definition at line 278 of file AliAODTracklet.C.

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

Real_t AliAODTracklet::fDPhi
protected

Tracklet azimuthal opening angle

Definition at line 276 of file AliAODTracklet.C.

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

Real_t AliAODTracklet::fDTheta
protected

Tracklet polar opening angle

Definition at line 274 of file AliAODTracklet.C.

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

Real_t AliAODTracklet::fPhi
protected

Tracklet azimuthal angle

Definition at line 272 of file AliAODTracklet.C.

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

Real_t AliAODTracklet::fTheta
protected

Tracklet polar angle

Definition at line 270 of file AliAODTracklet.C.

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


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