AliPhysics  f2694b8 (f2694b8)
 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, 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 ()
 
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
 
virtual Bool_t AcceptObject (Int_t i)=0
 
virtual Bool_t AcceptObject (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 ()
 
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
 
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, 6)
 

Detailed Description

Definition at line 16 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 18 of file AliEmcalContainer.h.

Constructor & Destructor Documentation

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

Definition at line 39 of file AliEmcalContainer.cxx.

virtual AliEmcalContainer::~AliEmcalContainer ( )
inlinevirtual

Definition at line 59 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 ( TObject *  obj)
pure virtual
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 65 of file AliEmcalContainer.h.

TClass* AliEmcalContainer::GetLoadedClass ( )
inline

Definition at line 83 of file AliEmcalContainer.h.

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

Definition at line 86 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 80 of file AliEmcalContainer.h.

UShort_t AliEmcalContainer::GetRejectionReasonBitPosition ( ) const

Definition at line 110 of file AliEmcalContainer.cxx.

virtual void AliEmcalContainer::NextEvent ( )
inlinevirtual

Reimplemented in AliParticleContainer.

Definition at line 84 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 122 of file AliEmcalContainer.cxx.

void AliEmcalContainer::SetArray ( AliVEvent *  event)
virtual

Reimplemented in AliParticleContainer.

Definition at line 60 of file AliEmcalContainer.cxx.

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

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

Definition at line 77 of file AliEmcalContainer.h.

void AliEmcalContainer::SetIsParticleLevel ( Bool_t  b)
inline

Definition at line 78 of file AliEmcalContainer.h.

void AliEmcalContainer::SetName ( const char *  n)
inline

Definition at line 87 of file AliEmcalContainer.h.

void AliEmcalContainer::SortArray ( )
inline

Definition at line 79 of file AliEmcalContainer.h.

UInt_t AliEmcalContainer::TestRejectionReason ( UInt_t  rs) const
inline

Definition at line 81 of file AliEmcalContainer.h.

Member Data Documentation

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

Definition at line 93 of file AliEmcalContainer.h.

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

Bool_t AliEmcalContainer::fIsParticleLevel
protected

Definition at line 95 of file AliEmcalContainer.h.

Referenced by GetIsParticleLevel(), and SetIsParticleLevel().

AliNamedArrayI* AliEmcalContainer::fLabelMap
protected

current ID for automatic loops

Definition at line 99 of file AliEmcalContainer.h.

Referenced by GetIndexFromLabel(), and SetArray().

TClass* AliEmcalContainer::fLoadedClass
protected
TString AliEmcalContainer::fName
protected

Definition at line 92 of file AliEmcalContainer.h.

Referenced by GetName(), and SetName().


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