AliPhysics  f05a842 (f05a842)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAODTracklet Class Reference
Inheritance diagram for AliAODTracklet:

Public Types

enum  {
  kInjection = 0x01, kCombinatorics = 0x02, kSecondary = 0x04, kDistinct = 0x08,
  kSimulated = 0x10, kGenerated = 0x20, kNeutral = 0x40
}
 
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 ()
 
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
 
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 Member Functions

 ClassDef (AliAODTracklet, 2)
 

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 40 of file AliAODTracklet.C.

Member Enumeration Documentation

anonymous enum

Flags of tracklets

Enumerator
kInjection 
kCombinatorics 
kSecondary 
kDistinct 
kSimulated 
kGenerated 
kNeutral 

Definition at line 29 of file AliAODTracklet.C.

Constructor & Destructor Documentation

AliAODTracklet::AliAODTracklet ( )

Default constructor

Definition at line 269 of file AliAODTracklet.C.

AliAODTracklet::AliAODTracklet ( const AliAODTracklet other)

Copy constructor

Parameters
otherObject to copy from

Definition at line 278 of file AliAODTracklet.C.

virtual AliAODTracklet::~AliAODTracklet ( )
inlinevirtual

Destrcutor

Definition at line 54 of file AliAODTracklet.C.

Member Function Documentation

AliAODTracklet::ClassDef ( AliAODTracklet  ,
 
)
protected
Real_t AliAODTracklet::GetDelta ( ) const
inline

Get Tracklet quality

Returns
Tracklet quality

Definition at line 166 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 160 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 154 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 172 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 249 of file AliAODTracklet.C.

Referenced by AliTrackletPtPidStrWeights::CalcWeight(), 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 241 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 148 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 142 of file AliAODTracklet.C.

Referenced by AliTrackletAODTask::ProcessTracklet().

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

Definition at line 200 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 205 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 224 of file AliAODTracklet.C.

Referenced by 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 196 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 191 of file AliAODTracklet.C.

Referenced by AliTrackletPtPidStrWeights::CalcWeight(), 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 228 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 217 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 213 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 209 of file AliAODTracklet.C.

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

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

Assignment operator

Parameters
otherObject to assign from
Returns
Reference to this object

Definition at line 289 of file AliAODTracklet.C.

Referenced by AliAODMCTracklet::operator=().

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

Definition at line 301 of file AliAODTracklet.C.

Referenced by AliTrackletAODdNdeta::CentBin::ProcessTracklet().

void AliAODTracklet::SetCombinatorics ( )
inline

Flag tracklet as a combinatorial background

Definition at line 111 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessTracklet().

void AliAODTracklet::SetDelta ( Real_t  x)
inline

Set Tracklet quality

Parameters
xTracklet quality

Definition at line 97 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 119 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 91 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 85 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 103 of file AliAODTracklet.C.

void AliAODTracklet::SetGenerated ( )
inline

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

Definition at line 127 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessGenerated().

void AliAODTracklet::SetInjection ( )
inline

Set Injection flag

Definition at line 107 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 131 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 79 of file AliAODTracklet.C.

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

void AliAODTracklet::SetSecondary ( )
inline

Flag tracklet as secondary

Definition at line 115 of file AliAODTracklet.C.

Referenced by AliTrackletAODMCTask::ProcessTracklet().

void AliAODTracklet::SetSimulated ( )
inline

Flag tracklet as from simulated data

Definition at line 123 of file AliAODTracklet.C.

Referenced by AliAODMCTracklet::AliAODMCTracklet().

void AliAODTracklet::SetTheta ( Real_t  x)
inline

Set Tracklet polar angle

Parameters
xTracklet polar angle

Definition at line 73 of file AliAODTracklet.C.

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

Member Data Documentation

Real_t AliAODTracklet::fDelta
protected

Tracklet quality

Definition at line 262 of file AliAODTracklet.C.

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

Real_t AliAODTracklet::fDPhi
protected

Tracklet azimuthal opening angle

Definition at line 260 of file AliAODTracklet.C.

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

Real_t AliAODTracklet::fDTheta
protected

Tracklet polar opening angle

Definition at line 258 of file AliAODTracklet.C.

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

Real_t AliAODTracklet::fPhi
protected

Tracklet azimuthal angle

Definition at line 256 of file AliAODTracklet.C.

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

Real_t AliAODTracklet::fTheta
protected

Tracklet polar angle

Definition at line 254 of file AliAODTracklet.C.

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


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