1 #ifndef AliEmcalContainer_H
2 #define AliEmcalContainer_H
7 class AliTLorentzVector;
13 #include <TClonesArray.h>
118 virtual Bool_t
ApplyKinematicCuts(
const AliTLorentzVector& mom, UInt_t &rejectionReason)
const;
134 virtual Bool_t
GetMomentum(TLorentzVector &mom, Int_t i)
const = 0;
138 virtual Bool_t
AcceptObject(Int_t i, UInt_t &rejectionReason)
const = 0;
139 virtual Bool_t
AcceptObject(
const TObject* obj, UInt_t &rejectionReason)
const = 0;
142 virtual void SetArray(AliVEvent *event);
167 static Bool_t
SamePart(
const AliVParticle* part1,
const AliVParticle* part2, Double_t dist = 1.e-4);
particle not in acceptance in and/or
virtual Bool_t ApplyKinematicCuts(const AliTLorentzVector &mom, UInt_t &rejectionReason) const
void SetMassHypothesis(Double_t m)
const AliEmcalIterableContainer all() const
Int_t GetNAcceptEntries() const
virtual Bool_t GetNextMomentum(TLorentzVector &mom)=0
Double_t fMinE
Max. cut on particle energy.
Double_t fMinPhi
Min. cut on particle .
TObject * operator[](int index) const
Cut on the z of the leading particle in the EMCAL.
Double_t fMaxE
Min. cut on particle energy.
Double_t GetMinPhi() const
void SetName(const char *n)
Int_t GetIndexFromLabel(Int_t lab) const
Cut on the jet area in the EMCAL.
void SetMinE(Double_t min)
Double_t GetMaxEta() const
void SetMaxE(Double_t max)
virtual ~AliEmcalContainer()
UInt_t fBitMap
bitmap mask
TString fClassName
name of the class in the TClonesArray
void SetMinPt(Double_t min)
virtual void SetArray(AliVEvent *event)
Track too close to the TPC sector boundary.
Double_t fMinPt
Min. cut on particle .
void SetArrayName(const char *n)
void SetEtaLimits(Double_t min, Double_t max)
TClass * fLoadedClass
! Class of the objects contained in the TClonesArray
Cell time cut not passed.
TClass * GetLoadedClass()
void SetMCLabelRange(Int_t min, Int_t max)
const TString & GetClassName() const
Cut on flavour content in the jet.
Bool_t fIsParticleLevel
whether or not it is a particle level object collection
Cluster is exotic cluster.
virtual Bool_t AcceptObject(Int_t i, UInt_t &rejectionReason) const =0
Double_t GetMaxPhi() const
Double_t GetMinEta() const
UShort_t GetRejectionReasonBitPosition(UInt_t rejectionReason) const
Double_t GetMinPt() const
Int_t GetCurrentID() const
Double_t fMaxPhi
Max. cut on particle .
Cut on the z of the leading charged constituent.
Base class for container structures within the EMCAL framework.
void SetMaxPt(Double_t max)
void SetMinMCLabel(Int_t s)
virtual Bool_t GetMomentum(TLorentzVector &mom, Int_t i) const =0
TClonesArray * GetArray() const
RejectionReason
Bit definition for the reason a particle was rejected.
Container implementing iterable functionality of the EMCAL containers.
Track did not pass the hybrid track cuts.
AliNamedArrayI * fLabelMap
! Label-Index map
void SetPtLimits(Double_t min, Double_t max)
void SetClassName(const char *clname)
Int_t fMinMCLabel
minimum MC label
const TString & GetArrayName() const
Double_t fMassHypothesis
if < 0 it will use a PID mass when available
Cluster not in the EMCAL.
Double_t fVertex[3]
! event vertex array
const char * GetName() const
Double_t fMaxPt
Max. cut on particle .
AliEmcalContainer & operator=(const AliEmcalContainer &other)
void SetMaxMCLabel(Int_t s)
Cut on the minimum of the leading particle.
Cut on the neutral energy fraction.
static Bool_t SamePart(const AliVParticle *part1, const AliVParticle *part2, Double_t dist=1.e-4)
Double_t fMinEta
Min. cut on particle .
virtual Bool_t GetAcceptMomentum(TLorentzVector &mom, Int_t i) const =0
void SetIsParticleLevel(Bool_t b)
void SetELimits(Double_t min, Double_t max)
Particle charge did not match.
TString fBaseClassName
name of the base class that this container can handle
TString fClArrayName
name of branch
Cut on the minimum number of constituents.
Int_t fMaxMCLabel
maximum MC label
Double_t fMaxEta
Max. cut on particle .
const AliEmcalIterableContainer accepted() const
Cut on the maximum cluster .
TClonesArray * fClArray
! Pointer to array in input event
Int_t GetNEntries() const
void SetPhiLimits(Double_t min, Double_t max)
virtual Bool_t GetNextAcceptMomentum(TLorentzVector &mom)=0
Cut on the maximum track .
Int_t fCurrentID
! current ID for automatic loops
Double_t GetMaxPt() const
void ResetCurrentID(Int_t i=-1)
Bool_t GetIsParticleLevel() const