AliPhysics  de71be2 (de71be2)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AliEmcalContainer Class Referenceabstract

#include <AliEmcalContainer.h>

Inheritance diagram for AliEmcalContainer:

Public Types

enum  RejectionReason {
  kNullObject = 1<<0, kPtCut = 1<<1, kAcceptanceCut = 1<<2, kMCLabelCut = 1<<3,
  kBitMapCut = 1<<4, kHFCut = 1<<5, kNotHybridTrack = 1<<7, kMCFlag = 1<<8,
  kMCGeneratorCut = 1<<9, kChargeCut = 1<<10, kMinDistanceTPCSectorEdgeCut = 1<<11, kIsEMCalCut = 1<<13,
  kTimeCut = 1<<14, kEnergyCut = 1<<15, kExoticCut = 1<<16, kAreaCut = 1<<18,
  kAreaEmcCut = 1<<19, kZLeadingChCut = 1<<20, kZLeadingEmcCut = 1<<21, kNEFCut = 1<<22,
  kMinLeadPtCut = 1<<23, kMaxTrackPtCut = 1<<24, kMaxClusterPtCut = 1<<25, kFlavourCut = 1<<26,
  kTagStatus = 1<<27, kMinNConstituents = 1<<28
}
 

Public Member Functions

 AliEmcalContainer ()
 
 AliEmcalContainer (const char *name)
 
virtual ~AliEmcalContainer ()
 
virtual Bool_t ApplyKinematicCuts (const AliTLorentzVector &mom)
 
TClonesArray * GetArray () const
 
const TString & GetArrayName () const
 
const TString & GetClassName () const
 
Double_t GetMinE () const
 
Double_t GetMaxE () const
 
Double_t GetMinPt () const
 
Double_t GetMaxPt () const
 
Double_t GetMinEta () const
 
Double_t GetMaxEta () const
 
Double_t GetMinPhi () const
 
Double_t GetMaxPhi () const
 
Int_t GetCurrentID () const
 
Bool_t GetIsParticleLevel () const
 
Int_t GetIndexFromLabel (Int_t lab) const
 
Int_t GetNEntries () const
 
virtual Bool_t GetMomentum (TLorentzVector &mom, Int_t i)=0
 
virtual Bool_t GetAcceptMomentum (TLorentzVector &mom, Int_t i)=0
 
virtual Bool_t GetNextMomentum (TLorentzVector &mom, Int_t i=-1)=0
 
virtual Bool_t GetNextAcceptMomentum (TLorentzVector &mom, Int_t i=-1)=0
 
virtual Bool_t AcceptObject (Int_t i)=0
 
virtual Bool_t AcceptObject (const TObject *obj)=0
 
void ResetCurrentID (Int_t i=-1)
 
virtual void SetArray (AliVEvent *event)
 
void SetArrayName (const char *n)
 
void SetBitMap (UInt_t m)
 
void SetIsParticleLevel (Bool_t b)
 
void SortArray ()
 
UInt_t GetRejectionReason () const
 
UInt_t TestRejectionReason (UInt_t rs) const
 
UShort_t GetRejectionReasonBitPosition () const
 
TClass * GetLoadedClass ()
 
virtual void NextEvent ()
 
void SetMinMCLabel (Int_t s)
 
void SetMaxMCLabel (Int_t s)
 
void SetMCLabelRange (Int_t min, Int_t max)
 
void SetELimits (Double_t min, Double_t max)
 
void SetMinE (Double_t min)
 
void SetMaxE (Double_t max)
 
void SetPtLimits (Double_t min, Double_t max)
 
void SetMinPt (Double_t min)
 
void SetMaxPt (Double_t max)
 
void SetEtaLimits (Double_t min, Double_t max)
 
void SetPhiLimits (Double_t min, Double_t max)
 
void SetMassHypothesis (Double_t m)
 
const char * GetName () const
 
void SetName (const char *n)
 

Static Public Member Functions

static Bool_t SamePart (const AliVParticle *part1, const AliVParticle *part2, Double_t dist=1.e-4)
 

Protected Attributes

TString fName
 
TString fClArrayName
 
TString fClassName
 
Bool_t fIsParticleLevel
 
UInt_t fBitMap
 
Double_t fMinPt
 
Double_t fMaxPt
 
Double_t fMaxE
 
Double_t fMinE
 
Double_t fMinEta
 
Double_t fMaxEta
 
Double_t fMinPhi
 
Double_t fMaxPhi
 
Int_t fMinMCLabel
 
Int_t fMaxMCLabel
 
Double_t fMassHypothesis
 
TClonesArray * fClArray
 
Int_t fCurrentID
 TClonesArray. More...
 
AliNamedArrayI * fLabelMap
 current ID for automatic loops More...
 
Double_t fVertex [3]
 Label-Index map. More...
 
UInt_t fRejectionReason
 event vertex array More...
 
TClass * fLoadedClass
 reject reason bit map for the last call to an accept object function More...
 

Private Member Functions

 AliEmcalContainer (const AliEmcalContainer &obj)
 Class of teh objects contained in the TClonesArray. More...
 
AliEmcalContaineroperator= (const AliEmcalContainer &other)
 
 ClassDef (AliEmcalContainer, 7)
 

Detailed Description

Definition at line 17 of file AliEmcalContainer.h.

Member Enumeration Documentation

Enumerator
kNullObject 
kPtCut 
kAcceptanceCut 
kMCLabelCut 
kBitMapCut 
kHFCut 
kNotHybridTrack 
kMCFlag 
kMCGeneratorCut 
kChargeCut 
kMinDistanceTPCSectorEdgeCut 
kIsEMCalCut 
kTimeCut 
kEnergyCut 
kExoticCut 
kAreaCut 
kAreaEmcCut 
kZLeadingChCut 
kZLeadingEmcCut 
kNEFCut 
kMinLeadPtCut 
kMaxTrackPtCut 
kMaxClusterPtCut 
kFlavourCut 
kTagStatus 
kMinNConstituents 

Definition at line 19 of file AliEmcalContainer.h.

Constructor & Destructor Documentation

AliEmcalContainer::AliEmcalContainer ( )
AliEmcalContainer::AliEmcalContainer ( const char *  name)

Definition at line 51 of file AliEmcalContainer.cxx.

virtual AliEmcalContainer::~AliEmcalContainer ( )
inlinevirtual

Definition at line 60 of file AliEmcalContainer.h.

AliEmcalContainer::AliEmcalContainer ( const AliEmcalContainer obj)
private

Class of teh objects contained in the TClonesArray.

Member Function Documentation

virtual Bool_t AliEmcalContainer::AcceptObject ( Int_t  i)
pure virtual
virtual Bool_t AliEmcalContainer::AcceptObject ( const TObject *  obj)
pure virtual
Bool_t AliEmcalContainer::ApplyKinematicCuts ( const AliTLorentzVector &  mom)
virtual
AliEmcalContainer::ClassDef ( AliEmcalContainer  ,
 
)
private
virtual Bool_t AliEmcalContainer::GetAcceptMomentum ( TLorentzVector &  mom,
Int_t  i 
)
pure virtual
const TString& AliEmcalContainer::GetClassName ( ) const
inline
Int_t AliEmcalContainer::GetCurrentID ( ) const
inline
Bool_t AliEmcalContainer::GetIsParticleLevel ( ) const
inline

Definition at line 75 of file AliEmcalContainer.h.

TClass* AliEmcalContainer::GetLoadedClass ( )
inline

Definition at line 93 of file AliEmcalContainer.h.

Double_t AliEmcalContainer::GetMaxE ( ) const
inline

Definition at line 67 of file AliEmcalContainer.h.

Double_t AliEmcalContainer::GetMaxEta ( ) const
inline

Definition at line 71 of file AliEmcalContainer.h.

Referenced by AliParticleContainer::GetParticleEtaMax().

Double_t AliEmcalContainer::GetMaxPhi ( ) const
inline

Definition at line 73 of file AliEmcalContainer.h.

Referenced by AliParticleContainer::GetParticlePhiMax().

Double_t AliEmcalContainer::GetMaxPt ( ) const
inline

Definition at line 69 of file AliEmcalContainer.h.

Double_t AliEmcalContainer::GetMinE ( ) const
inline

Definition at line 66 of file AliEmcalContainer.h.

Double_t AliEmcalContainer::GetMinEta ( ) const
inline

Definition at line 70 of file AliEmcalContainer.h.

Referenced by AliParticleContainer::GetParticleEtaMin().

Double_t AliEmcalContainer::GetMinPhi ( ) const
inline

Definition at line 72 of file AliEmcalContainer.h.

Referenced by AliParticleContainer::GetParticlePhiMin().

virtual Bool_t AliEmcalContainer::GetMomentum ( TLorentzVector &  mom,
Int_t  i 
)
pure virtual
const char* AliEmcalContainer::GetName ( ) const
inline

Definition at line 108 of file AliEmcalContainer.h.

Referenced by SetArray().

virtual Bool_t AliEmcalContainer::GetNextAcceptMomentum ( TLorentzVector &  mom,
Int_t  i = -1 
)
pure virtual
virtual Bool_t AliEmcalContainer::GetNextMomentum ( TLorentzVector &  mom,
Int_t  i = -1 
)
pure virtual
UInt_t AliEmcalContainer::GetRejectionReason ( ) const
inline

Definition at line 90 of file AliEmcalContainer.h.

UShort_t AliEmcalContainer::GetRejectionReasonBitPosition ( ) const

Definition at line 133 of file AliEmcalContainer.cxx.

virtual void AliEmcalContainer::NextEvent ( )
inlinevirtual

Reimplemented in AliTrackContainer.

Definition at line 94 of file AliEmcalContainer.h.

Referenced by AliAnalysisTaskEmcal::RetrieveEventObjects().

AliEmcalContainer& AliEmcalContainer::operator= ( const AliEmcalContainer other)
private
void AliEmcalContainer::ResetCurrentID ( Int_t  i = -1)
inline
Bool_t AliEmcalContainer::SamePart ( const AliVParticle *  part1,
const AliVParticle *  part2,
Double_t  dist = 1.e-4 
)
static

Definition at line 145 of file AliEmcalContainer.cxx.

void AliEmcalContainer::SetArray ( AliVEvent *  event)
virtual

Reimplemented in AliTrackContainer.

Definition at line 83 of file AliEmcalContainer.cxx.

Referenced by AliAnalysisTaskEmcal::ExecOnce(), and AliTrackContainer::SetArray().

void AliEmcalContainer::SetArrayName ( const char *  n)
inline
void AliEmcalContainer::SetBitMap ( UInt_t  m)
inline

Definition at line 87 of file AliEmcalContainer.h.

void AliEmcalContainer::SetELimits ( Double_t  min,
Double_t  max 
)
inline

Definition at line 98 of file AliEmcalContainer.h.

void AliEmcalContainer::SetEtaLimits ( Double_t  min,
Double_t  max 
)
inline

Definition at line 104 of file AliEmcalContainer.h.

Referenced by AliParticleContainer::SetParticleEtaLimits().

void AliEmcalContainer::SetIsParticleLevel ( Bool_t  b)
inline

Definition at line 88 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMassHypothesis ( Double_t  m)
inline

Definition at line 106 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMaxE ( Double_t  max)
inline

Definition at line 100 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMaxMCLabel ( Int_t  s)
inline

Definition at line 96 of file AliEmcalContainer.h.

Referenced by SetMCLabelRange().

void AliEmcalContainer::SetMaxPt ( Double_t  max)
inline

Definition at line 103 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMCLabelRange ( Int_t  min,
Int_t  max 
)
inline

Definition at line 97 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMinE ( Double_t  min)
inline

Definition at line 99 of file AliEmcalContainer.h.

Referenced by AliClusterContainer::SetClusECut().

void AliEmcalContainer::SetMinMCLabel ( Int_t  s)
inline

Definition at line 95 of file AliEmcalContainer.h.

Referenced by SetMCLabelRange().

void AliEmcalContainer::SetMinPt ( Double_t  min)
inline
void AliEmcalContainer::SetName ( const char *  n)
inline

Definition at line 109 of file AliEmcalContainer.h.

void AliEmcalContainer::SetPhiLimits ( Double_t  min,
Double_t  max 
)
inline

Definition at line 105 of file AliEmcalContainer.h.

Referenced by AliParticleContainer::SetParticlePhiLimits().

void AliEmcalContainer::SetPtLimits ( Double_t  min,
Double_t  max 
)
inline

Definition at line 101 of file AliEmcalContainer.h.

void AliEmcalContainer::SortArray ( )
inline

Definition at line 89 of file AliEmcalContainer.h.

UInt_t AliEmcalContainer::TestRejectionReason ( UInt_t  rs) const
inline

Definition at line 91 of file AliEmcalContainer.h.

Member Data Documentation

UInt_t AliEmcalContainer::fBitMap
protected
TString AliEmcalContainer::fClArrayName
protected

Definition at line 115 of file AliEmcalContainer.h.

Referenced by GetArrayName(), GetIndexFromLabel(), SetArray(), and SetArrayName().

Bool_t AliEmcalContainer::fIsParticleLevel
protected

Definition at line 117 of file AliEmcalContainer.h.

Referenced by GetIsParticleLevel(), and SetIsParticleLevel().

AliNamedArrayI* AliEmcalContainer::fLabelMap
protected

current ID for automatic loops

Definition at line 132 of file AliEmcalContainer.h.

Referenced by GetIndexFromLabel(), and SetArray().

TClass* AliEmcalContainer::fLoadedClass
protected
Double_t AliEmcalContainer::fMaxE
protected

Definition at line 121 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMaxE(), SetELimits(), and SetMaxE().

Double_t AliEmcalContainer::fMaxEta
protected

Definition at line 124 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMaxEta(), and SetEtaLimits().

Int_t AliEmcalContainer::fMaxMCLabel
protected
Double_t AliEmcalContainer::fMaxPhi
protected

Definition at line 126 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMaxPhi(), and SetPhiLimits().

Double_t AliEmcalContainer::fMaxPt
protected

Definition at line 120 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMaxPt(), SetMaxPt(), and SetPtLimits().

Double_t AliEmcalContainer::fMinEta
protected

Definition at line 123 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMinEta(), and SetEtaLimits().

Int_t AliEmcalContainer::fMinMCLabel
protected
Double_t AliEmcalContainer::fMinPhi
protected

Definition at line 125 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMinPhi(), and SetPhiLimits().

Double_t AliEmcalContainer::fMinPt
protected

Definition at line 119 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMinPt(), SetMinPt(), and SetPtLimits().

TString AliEmcalContainer::fName
protected

Definition at line 114 of file AliEmcalContainer.h.

Referenced by GetName(), and SetName().

Double_t AliEmcalContainer::fVertex[3]
protected

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