AliRoot Core  ee782a0 (ee782a0)
AliAODTracklets Class Reference

AOD class to store tracklets. More...

#include <AliAODTracklets.h>

Inheritance diagram for AliAODTracklets:

Public Member Functions

 AliAODTracklets ()
 
 AliAODTracklets (const char *name, const char *title)
 
 AliAODTracklets (const AliAODTracklets &evt)
 
AliAODTrackletsoperator= (const AliAODTracklets &evt)
 
virtual ~AliAODTracklets ()
 
void CreateContainer (Int_t nTracks)
 
void DeleteContainer ()
 
virtual void Clear (Option_t *)
 
Bool_t SetTracklet (Int_t pos, Double32_t theta, Double32_t phi, Double32_t deltaPhi, Int_t labelL1, Int_t labelL2)
 
virtual Int_t GetNumberOfTracklets () const
 
virtual Double_t GetTheta (Int_t i) const
 
virtual Double_t GetPhi (Int_t i) const
 
virtual Double_t GetDeltaPhi (Int_t i) const
 
virtual Int_t GetLabel (Int_t i, Int_t layer) const
 
virtual void SetLabel (Int_t i, Int_t layer, Int_t label)
 
virtual Double_t * GetTheta () const
 
virtual Double_t * GetPhi () const
 
virtual Double_t * GetDeltPhi () const
 
virtual Int_t * GetLabels () const
 
virtual Int_t * GetLabels2 () const
 
virtual Short_t GetNumberOfFiredChips (Int_t layer) const
 
virtual void SetFiredChips (Int_t layer, Short_t firedChips)
 
virtual void SetFastOrFiredChips (UInt_t chipKey)
 
virtual const TBits & GetFastOrFiredChips () const
 
virtual void SetFastOrFiredChipMap (const TBits &fochips)
 
virtual Bool_t TestFastOrFiredChips (UInt_t chipKey) const
 
virtual void SetFiredChipMap (const TBits &firedChips)
 
virtual void SetFiredChipMap (UInt_t chipKey)
 
virtual const TBits & GetFiredChipMap () const
 
virtual Bool_t TestFiredChipMap (UInt_t chipKey) const
 
virtual void Print (Option_t *opt="") const
 
virtual UInt_t GetNumberOfITSClusters (Int_t layer) const
 
virtual void SetITSClusters (Int_t layer, UInt_t clusters)
 
- Public Member Functions inherited from AliVMultiplicity
 AliVMultiplicity ()
 
 AliVMultiplicity (const char *name, const char *title)
 
 AliVMultiplicity (const AliVMultiplicity &m)
 
AliVMultiplicityoperator= (const AliVMultiplicity &m)
 
virtual ~AliVMultiplicity ()
 
Bool_t GetMultTrackRefs () const
 
Bool_t GetScaleDThetaBySin2T () const
 
void SetMultTrackRefs (Bool_t v)
 
void SetScaleDThetaBySin2T (Bool_t v)
 
Double_t GetEta (Int_t i) const
 
virtual const TBits & GetFastOrFiredChipMap () const
 
virtual UInt_t GetNumberOfSPDClusters () const
 

Protected Attributes

Int_t fNTracks
 
Double32_t * fTheta
 array with theta values More...
 
Double32_t * fPhi
 array with phi values More...
 
Double32_t * fDeltaPhi
 array with delta phi values More...
 
Int_t * fLabels
 array with labels of cluster in L1 used for the tracklet More...
 
Int_t * fLabelsL2
 array with labels of cluster in L2 used for the tracklet More...
 
Short_t fFiredChips [2]
 Number of fired chips in the two SPD layers. More...
 
UInt_t fITSClusters [6]
 Number of ITS cluster per layer. More...
 
TBits fFastOrFiredChips
 Map of FastOr fired chips. More...
 
TBits fClusterFiredChips
 Map of fired chips (= at least one cluster) More...
 

Additional Inherited Members

- Public Types inherited from AliVMultiplicity
enum  { kMultTrackRefs =BIT(14), kScaleDThtbySin2 =BIT(15), kSPD2Sng =BIT(16) }
 

Detailed Description

AOD class to store tracklets.

Class created from AliMultiplicity

Author
Jan Fiete Grosse-Oetringhaus, CERN

Definition at line 19 of file AliAODTracklets.h.

Constructor & Destructor Documentation

AliAODTracklets::AliAODTracklets ( )

Definition at line 23 of file AliAODTracklets.cxx.

AliAODTracklets::AliAODTracklets ( const char *  name,
const char *  title 
)

Named constructor

Definition at line 32 of file AliAODTracklets.cxx.

AliAODTracklets::AliAODTracklets ( const AliAODTracklets evt)

Copy constructor

Definition at line 42 of file AliAODTracklets.cxx.

AliAODTracklets::~AliAODTracklets ( )
virtual

destructor

Definition at line 117 of file AliAODTracklets.cxx.

Member Function Documentation

virtual void AliAODTracklets::Clear ( Option_t *  )
inlinevirtual

Reimplemented from AliVMultiplicity.

Definition at line 31 of file AliAODTracklets.h.

void AliAODTracklets::CreateContainer ( Int_t  nTracks)

function that creates container to store tracklets

Definition at line 96 of file AliAODTracklets.cxx.

Referenced by operator=().

void AliAODTracklets::DeleteContainer ( )

deletes allocated memory

Definition at line 124 of file AliAODTracklets.cxx.

Referenced by Clear(), AliAODEvent::ClearStd(), CreateContainer(), AliAODEvent::ResetStd(), and ~AliAODTracklets().

Double_t AliAODTracklets::GetDeltaPhi ( Int_t  i) const
virtual

access delta phi's

Implements AliVMultiplicity.

Definition at line 246 of file AliAODTracklets.cxx.

Referenced by GetNumberOfTracklets().

virtual Double_t* AliAODTracklets::GetDeltPhi ( ) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 45 of file AliAODTracklets.h.

virtual const TBits& AliAODTracklets::GetFastOrFiredChips ( ) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 53 of file AliAODTracklets.h.

virtual const TBits& AliAODTracklets::GetFiredChipMap ( ) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 59 of file AliAODTracklets.h.

Int_t AliAODTracklets::GetLabel ( Int_t  i,
Int_t  layer 
) const
virtual

access labels

Implements AliVMultiplicity.

Definition at line 207 of file AliAODTracklets.cxx.

Referenced by GetNumberOfTracklets(), and AliAODHandler::StoreMCParticles().

virtual Int_t* AliAODTracklets::GetLabels ( ) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 46 of file AliAODTracklets.h.

virtual Int_t* AliAODTracklets::GetLabels2 ( ) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 47 of file AliAODTracklets.h.

virtual Short_t AliAODTracklets::GetNumberOfFiredChips ( Int_t  layer) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 49 of file AliAODTracklets.h.

virtual UInt_t AliAODTracklets::GetNumberOfITSClusters ( Int_t  layer) const
inlinevirtual

Reimplemented from AliVMultiplicity.

Definition at line 65 of file AliAODTracklets.h.

virtual Int_t AliAODTracklets::GetNumberOfTracklets ( ) const
inlinevirtual
Double_t AliAODTracklets::GetPhi ( Int_t  i) const
virtual

access phi's

Implements AliVMultiplicity.

Definition at line 233 of file AliAODTracklets.cxx.

virtual Double_t* AliAODTracklets::GetPhi ( ) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 44 of file AliAODTracklets.h.

Referenced by GetNumberOfTracklets().

Double_t AliAODTracklets::GetTheta ( Int_t  i) const
virtual

access theta's

Implements AliVMultiplicity.

Definition at line 220 of file AliAODTracklets.cxx.

virtual Double_t* AliAODTracklets::GetTheta ( ) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 43 of file AliAODTracklets.h.

Referenced by GetNumberOfTracklets().

AliAODTracklets & AliAODTracklets::operator= ( const AliAODTracklets evt)

Assignment operator

Definition at line 71 of file AliAODTracklets.cxx.

void AliAODTracklets::Print ( Option_t *  opt = "") const
virtual

print

Implements AliVMultiplicity.

Definition at line 178 of file AliAODTracklets.cxx.

Referenced by TestFiredChipMap().

virtual void AliAODTracklets::SetFastOrFiredChipMap ( const TBits &  fochips)
inlinevirtual

Implements AliVMultiplicity.

Definition at line 54 of file AliAODTracklets.h.

virtual void AliAODTracklets::SetFastOrFiredChips ( UInt_t  chipKey)
inlinevirtual

Implements AliVMultiplicity.

Definition at line 52 of file AliAODTracklets.h.

virtual void AliAODTracklets::SetFiredChipMap ( const TBits &  firedChips)
inlinevirtual

Implements AliVMultiplicity.

Definition at line 57 of file AliAODTracklets.h.

virtual void AliAODTracklets::SetFiredChipMap ( UInt_t  chipKey)
inlinevirtual

Implements AliVMultiplicity.

Definition at line 58 of file AliAODTracklets.h.

virtual void AliAODTracklets::SetFiredChips ( Int_t  layer,
Short_t  firedChips 
)
inlinevirtual

Implements AliVMultiplicity.

Definition at line 50 of file AliAODTracklets.h.

virtual void AliAODTracklets::SetITSClusters ( Int_t  layer,
UInt_t  clusters 
)
inlinevirtual

Reimplemented from AliVMultiplicity.

Definition at line 66 of file AliAODTracklets.h.

void AliAODTracklets::SetLabel ( Int_t  i,
Int_t  layer,
Int_t  label 
)
virtual

set labels

Implements AliVMultiplicity.

Definition at line 195 of file AliAODTracklets.cxx.

Referenced by GetNumberOfTracklets(), and AliAODHandler::StoreMCParticles().

Bool_t AliAODTracklets::SetTracklet ( Int_t  pos,
Double32_t  theta,
Double32_t  phi,
Double32_t  deltaPhi,
Int_t  labelL1,
Int_t  labelL2 
)

Sets a tracklet at the given position

Definition at line 161 of file AliAODTracklets.cxx.

Referenced by Clear().

virtual Bool_t AliAODTracklets::TestFastOrFiredChips ( UInt_t  chipKey) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 55 of file AliAODTracklets.h.

virtual Bool_t AliAODTracklets::TestFiredChipMap ( UInt_t  chipKey) const
inlinevirtual

Implements AliVMultiplicity.

Definition at line 60 of file AliAODTracklets.h.

Member Data Documentation

TBits AliAODTracklets::fClusterFiredChips
protected

Map of fired chips (= at least one cluster)

Definition at line 84 of file AliAODTracklets.h.

Referenced by GetFiredChipMap(), operator=(), SetFiredChipMap(), and TestFiredChipMap().

Double32_t* AliAODTracklets::fDeltaPhi
protected

array with delta phi values

Definition at line 75 of file AliAODTracklets.h.

Referenced by AliAODTracklets(), CreateContainer(), DeleteContainer(), GetDeltaPhi(), GetDeltPhi(), operator=(), Print(), and SetTracklet().

TBits AliAODTracklets::fFastOrFiredChips
protected

Map of FastOr fired chips.

Definition at line 83 of file AliAODTracklets.h.

Referenced by GetFastOrFiredChips(), operator=(), SetFastOrFiredChipMap(), SetFastOrFiredChips(), and TestFastOrFiredChips().

Short_t AliAODTracklets::fFiredChips[2]
protected

Number of fired chips in the two SPD layers.

Definition at line 81 of file AliAODTracklets.h.

Referenced by AliAODTracklets(), GetNumberOfFiredChips(), operator=(), and SetFiredChips().

UInt_t AliAODTracklets::fITSClusters[6]
protected

Number of ITS cluster per layer.

Definition at line 82 of file AliAODTracklets.h.

Referenced by AliAODTracklets(), GetNumberOfITSClusters(), operator=(), and SetITSClusters().

Int_t* AliAODTracklets::fLabels
protected

array with labels of cluster in L1 used for the tracklet

Definition at line 77 of file AliAODTracklets.h.

Referenced by AliAODTracklets(), CreateContainer(), DeleteContainer(), GetLabel(), GetLabels(), operator=(), Print(), SetLabel(), and SetTracklet().

Int_t* AliAODTracklets::fLabelsL2
protected

array with labels of cluster in L2 used for the tracklet

Definition at line 79 of file AliAODTracklets.h.

Referenced by AliAODTracklets(), CreateContainer(), DeleteContainer(), GetLabel(), GetLabels2(), operator=(), Print(), SetLabel(), and SetTracklet().

Int_t AliAODTracklets::fNTracks
protected
Double32_t* AliAODTracklets::fPhi
protected

array with phi values

Definition at line 73 of file AliAODTracklets.h.

Referenced by AliAODTracklets(), CreateContainer(), DeleteContainer(), GetPhi(), operator=(), Print(), and SetTracklet().

Double32_t* AliAODTracklets::fTheta
protected

array with theta values

Definition at line 71 of file AliAODTracklets.h.

Referenced by AliAODTracklets(), CreateContainer(), DeleteContainer(), GetTheta(), operator=(), Print(), and SetTracklet().


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