AliPhysics  vAN-20150723 (baea2bf)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliCaloTrackAODReader.h
Go to the documentation of this file.
1 #ifndef ALICALOTRACKAODREADER_H
2 #define ALICALOTRACKAODREADER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 //_________________________________________________________________________
16 //_________________________________________________________________________
17 
18 class AliAODEvent;
19 
20 #include "AliCaloTrackReader.h"
21 
23 
24 public:
25 
26  AliCaloTrackAODReader() ; // ctor
27 
28  virtual ~AliCaloTrackAODReader() {;} // virtual dtor
29 
30  Bool_t CheckForPrimaryVertex() const ;
31 
32  TClonesArray * GetAODMCParticles() const ;
33  AliAODMCHeader * GetAODMCHeader () const ;
34 
35  AliVEvent * GetOriginalInputEvent() const { return fOrgInputEvent ; }
36 
37  Bool_t SelectTrack(AliVTrack* track, Double_t* pTrack);
38 
39  ULong_t GetTrackFilterMask() const { return fTrackFilterMask ; }
40  void SetTrackFilterMask(ULong_t bit) { fTrackFilterMask = bit ; }
41 
44 
47 
50 
53 
56 
57  void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ;
58 
59 private:
60 
61  AliVEvent * fOrgInputEvent;
62 
65  ULong_t fTrackFilterMask;
69 
72 
75 
77  ClassDef(AliCaloTrackAODReader,7) ;
79 
80 } ;
81 
82 #endif //ALICALOTRACKAODREADER_H
83 
84 
85 
AliVEvent * GetOriginalInputEvent() const
Bool_t fSelectHybridTracks
Select CTS tracks of type hybrid.
AliCaloTrackAODReader & operator=(const AliCaloTrackAODReader &r)
Assignment operator not implemented.
AliVEvent * fOrgInputEvent
! Original input event, not from filtering
ULong_t fTrackFilterMaskComplementary
Complementary Track selection bit, for AODs in case hybrid option selected.
Bool_t SelectTrack(AliVTrack *track, Double_t *pTrack)
Select AOD track using the AOD filter bits or predefined selection methods.
AliAODMCHeader * GetAODMCHeader() const
ULong_t fTrackFilterMask
Track selection bit, for AODs (any difference with track status?)
Class for event, clusters and tracks filtering and preparation for the AOD analysis.
ULong_t GetTrackFilterMaskComplementary() const
Bool_t fSelectPrimaryTracks
Select CTS tracks of type primary.
Base class for event, clusters and tracks filtering and preparation for the analysis.
ULong_t GetTrackFilterMask() const
TClonesArray * GetAODMCParticles() const
void SetTPCSharedClusterFraction(Float_t fr)
void SetTrackFilterMask(ULong_t bit)
Float_t fCutTPCSharedClustersFraction
Fraction of TPC shared clusters to be accepted.
void SetTrackFilterMaskComplementary(ULong_t bit)
void SetInputOutputMCEvent(AliVEvent *esd, AliAODEvent *aod, AliMCEvent *mc)
Bool_t fSelectFractionTPCSharedClusters
Accept only TPC tracks with over a given fraction of shared clusters.
AliCaloTrackAODReader()
Default constructor. Initialize parameters.
Bool_t CheckForPrimaryVertex() const
Float_t GetTPCSharedClusterFraction() const