ROOT logo
AliRoot » PWGUD » DIFFRACTIVE » XSANDTWOPRONG » AliCDMesonTracks

class AliCDMesonTracks

Function Members (Methods)

protected:
voidApplyCuts()
voidCutTrack(AliESDEvent* ESDEvent, Int_t mode = 0)
voidCutTrack(AliAODEvent* AODEvent, Int_t mode = 0)
voidGetRemainingTracklets()

Data Members

protected:
AliAODEvent*fAODEventAOD event to analyze
Bool_tfDoAODis active for AOD processing, inactive for ESDs
Bool_tfDoSoftprocess soft tracks
AliESDEvent*fESDEventESD event to analyze
Bool_tfIsValidare the stored results valid
Int_tfNITSpureSAnumber of ITSpureSA tracks leading double counting
Int_tfNTrk0number of tracks before cuts
Int_tfNchnumber of charged ITSTPC tracks after cuts
Int_tfNcombinedfNch+fNsoft
Int_tfNsoftnumber of soft ITS standalone tracks (complementary to fNch)
Int_tfNtrackletsCentralBarreltracklets not assigned to tracks within
Int_tfNtrackletsForwardtracklets not assigned to tracks with |eta| > 0.9
TObjArray*fSoftTracksstorage for the soft tracks
TObjArray*fTracksstorage for the standard tracks

Class Charts

Inheritance Chart:
AliCDMesonTracks

Function documentation

AliCDMesonTracks()
 constructor

AliCDMesonTracks(const AliCDMesonTracks& tracks)
 copy constructor

AliCDMesonTracks& operator=(const AliCDMesonTracks& tracks)
 assignment operator

~AliCDMesonTracks()
 destructor

Bool_t ProcessEvent(AliAODEvent* aodEvent, AliESDEvent* esdEvent, Bool_t doSoft = kTRUE)
 this function controlls the processing of an event, after the processing is
 done, the results can be used via the getters

AliVTrack* GetTrack(UInt_t index) const
 provides access to the selected tracks, normal tracks have lower indices
 than soft tracks

Double_t GetInvariantMass(Bool_t includeSoftTracks = kTRUE)
 compute the invariant mass of all accepted tracks in the event

void ApplyCuts()
 steers the track selection process

void CutTrack(AliESDEvent* ESDEvent, Int_t mode = 0)
CutTrack to be combined with the AOD function // TODO

void CutTrack(AliAODEvent* AODEvent, Int_t mode = 0)
 CutTrack for AODs

void GetRemainingTracklets()
 determines the number of tracklets in an event, which are not assigned to
 tracks
 this is only possible running on ESDs, for AODs this information has to be
 preprocessed
Int_t GetTracksBeforeCuts() const
{ return (fIsValid) ? fNTrk0 : -1; }
Int_t GetTracks() const
{ return (fIsValid) ? fNch : -1; }
Int_t GetSoftTracks() const
{ return (fIsValid && fDoSoft) ? fNsoft : -1; }
Int_t GetCombinedTracks() const
{ return (fIsValid) ? fNcombined : -1; }
Int_t GetITSpureSACount() const
{ return (fIsValid) ? fNITSpureSA : -1; }
Int_t GetRemainingTrackletsCentralBarrel() const
Int_t GetRemainingTrackletsForward() const