1 #ifndef AliEmcalContainer_H
2 #define AliEmcalContainer_H
7 class AliTLorentzVector;
13 #include <TClonesArray.h>
95 virtual Bool_t
GetMomentum(TLorentzVector &mom, Int_t i) = 0;
102 virtual void SetArray(AliVEvent *event);
128 static Bool_t
SamePart(
const AliVParticle* part1,
const AliVParticle* part2, Double_t dist = 1.e-4);
void SetMassHypothesis(Double_t m)
virtual Bool_t GetNextMomentum(TLorentzVector &mom)=0
Double_t fMinE
cut on particle energy
Double_t fMinPhi
cut on particle eta
Double_t fMaxE
cut on particle pt
Double_t GetMinPhi() const
void SetName(const char *n)
virtual Bool_t ApplyKinematicCuts(const AliTLorentzVector &mom)
Int_t GetIndexFromLabel(Int_t lab) const
void SetMinE(Double_t min)
Double_t GetMaxEta() const
void SetMaxE(Double_t max)
UInt_t TestRejectionReason(UInt_t rs) const
virtual Bool_t AcceptObject(Int_t i)=0
virtual ~AliEmcalContainer()
UInt_t fBitMap
whether or not it is a particle level object collection
TString fClassName
name of branch
void SetMinPt(Double_t min)
UShort_t GetRejectionReasonBitPosition() const
virtual void SetArray(AliVEvent *event)
Double_t fMinPt
bitmap mask
void SetArrayName(const char *n)
void SetEtaLimits(Double_t min, Double_t max)
TClass * fLoadedClass
!Class of teh objects contained in the TClonesArray
TClass * GetLoadedClass()
void SetMCLabelRange(Int_t min, Int_t max)
const TString & GetClassName() const
Bool_t fIsParticleLevel
name of the class in the TClonesArray
UInt_t fRejectionReason
!reject reason bit map for the last call to an accept object function
Double_t GetMaxPhi() const
Double_t GetMinEta() const
Double_t GetMinPt() const
Int_t GetCurrentID() const
Double_t fMaxPhi
cut on particle phi
virtual Bool_t GetMomentum(TLorentzVector &mom, Int_t i)=0
Base class for container structures within the EMCAL framework.
void SetMaxPt(Double_t max)
void SetMinMCLabel(Int_t s)
TClonesArray * GetArray() const
AliNamedArrayI * fLabelMap
!Label-Index map
void SetPtLimits(Double_t min, Double_t max)
Int_t fMinMCLabel
cut on particle phi
const TString & GetArrayName() const
Double_t fMassHypothesis
maximum MC label
Double_t fVertex[3]
!event vertex array
const char * GetName() const
Double_t fMaxPt
cut on particle pt
AliEmcalContainer & operator=(const AliEmcalContainer &other)
void SetMaxMCLabel(Int_t s)
Double_t fMinEta
cut on particle energy
void SetIsParticleLevel(Bool_t b)
void SetELimits(Double_t min, Double_t max)
TString fClArrayName
object name
Int_t fMaxMCLabel
minimum MC label
Double_t fMaxEta
cut on particle eta
TClonesArray * fClArray
if < 0 it will use a PID mass when available
Int_t GetNEntries() const
void SetPhiLimits(Double_t min, Double_t max)
virtual Bool_t GetNextAcceptMomentum(TLorentzVector &mom)=0
static Bool_t SamePart(const AliVParticle *part1, const AliVParticle *part2, Double_t dist=1.e-4)
Int_t fCurrentID
!current ID for automatic loops
UInt_t GetRejectionReason() const
Double_t GetMaxPt() const
void ResetCurrentID(Int_t i=-1)
Bool_t GetIsParticleLevel() const
virtual Bool_t GetAcceptMomentum(TLorentzVector &mom, Int_t i)=0