AliPhysics  0e0bd91 (0e0bd91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
AliEmcalContainer Class Referenceabstract

#include <AliEmcalContainer.h>

Inheritance diagram for AliEmcalContainer:

Public Types

enum  RejectionReason {
  kNullObject = 1<<0, kPtCut = 1<<1, kAcceptanceCut = 1<<2, kBitMapCut = 1<<3,
  kNotHybridTrack = 1<<7, kMCFlag = 1<<8, kMCGeneratorCut = 1<<9, kChargeCut = 1<<10,
  kMinDistanceTPCSectorEdgeCut = 1<<11, kMinMCLabelAccept = 1<<12, 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 ()
 
TClonesArray * GetArray () const
 
const TString & GetArrayName () const
 
const TString & GetClassName () 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
 
void ResetCurrentID (Int_t i=-1)
 
virtual void SetArray (AliVEvent *event)
 
void SetArrayName (const char *n)
 
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 ()
 

Protected Attributes

TString fClArrayName
 
TString fClassName
 
Bool_t fIsParticleLevel
 
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, 5)
 

Detailed Description

Definition at line 15 of file AliEmcalContainer.h.

Member Enumeration Documentation

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

Definition at line 17 of file AliEmcalContainer.h.

Constructor & Destructor Documentation

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

Definition at line 36 of file AliEmcalContainer.cxx.

virtual AliEmcalContainer::~AliEmcalContainer ( )
inlinevirtual

Definition at line 56 of file AliEmcalContainer.h.

AliEmcalContainer::AliEmcalContainer ( const AliEmcalContainer obj)
private

Class of teh objects contained in the TClonesArray.

Member Function Documentation

AliEmcalContainer::ClassDef ( AliEmcalContainer  ,
 
)
private
virtual Bool_t AliEmcalContainer::GetAcceptMomentum ( TLorentzVector &  mom,
Int_t  i 
)
pure virtual
const TString& AliEmcalContainer::GetArrayName ( ) const
inline
const TString& AliEmcalContainer::GetClassName ( ) const
inline
Int_t AliEmcalContainer::GetCurrentID ( ) const
inline
Bool_t AliEmcalContainer::GetIsParticleLevel ( ) const
inline

Definition at line 62 of file AliEmcalContainer.h.

TClass* AliEmcalContainer::GetLoadedClass ( )
inline

Definition at line 77 of file AliEmcalContainer.h.

virtual Bool_t AliEmcalContainer::GetMomentum ( TLorentzVector &  mom,
Int_t  i 
)
pure virtual
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 74 of file AliEmcalContainer.h.

UShort_t AliEmcalContainer::GetRejectionReasonBitPosition ( ) const

Definition at line 105 of file AliEmcalContainer.cxx.

virtual void AliEmcalContainer::NextEvent ( )
inlinevirtual

Reimplemented in AliParticleContainer.

Definition at line 78 of file AliEmcalContainer.h.

Referenced by AliAnalysisTaskEmcal::RetrieveEventObjects().

AliEmcalContainer& AliEmcalContainer::operator= ( const AliEmcalContainer other)
private
void AliEmcalContainer::ResetCurrentID ( Int_t  i = -1)
inline
void AliEmcalContainer::SetArray ( AliVEvent *  event)
virtual

Reimplemented in AliParticleContainer.

Definition at line 55 of file AliEmcalContainer.cxx.

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

void AliEmcalContainer::SetIsParticleLevel ( Bool_t  b)
inline

Definition at line 72 of file AliEmcalContainer.h.

void AliEmcalContainer::SortArray ( )
inline

Definition at line 73 of file AliEmcalContainer.h.

UInt_t AliEmcalContainer::TestRejectionReason ( UInt_t  rs) const
inline

Definition at line 75 of file AliEmcalContainer.h.

Member Data Documentation

TClonesArray* AliEmcalContainer::fClArray
protected
TString AliEmcalContainer::fClArrayName
protected

Definition at line 81 of file AliEmcalContainer.h.

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

Bool_t AliEmcalContainer::fIsParticleLevel
protected

Definition at line 83 of file AliEmcalContainer.h.

Referenced by GetIsParticleLevel(), and SetIsParticleLevel().

AliNamedArrayI* AliEmcalContainer::fLabelMap
protected

current ID for automatic loops

Definition at line 86 of file AliEmcalContainer.h.

Referenced by GetIndexFromLabel(), and SetArray().

TClass* AliEmcalContainer::fLoadedClass
protected
UInt_t AliEmcalContainer::fRejectionReason
protected

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