AliPhysics  v5-07-18-02 (20ec537)
 All Classes Namespaces Files Functions Variables 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, 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 void GetMomentum (TLorentzVector &mom, Int_t i) const =0
 
void ResetCurrentID (Int_t i=0)
 
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
 

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...
 

Private Member Functions

 AliEmcalContainer (const AliEmcalContainer &obj)
 reject reason bit map for the last call to an accept object function 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 
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 35 of file AliEmcalContainer.cxx.

virtual AliEmcalContainer::~AliEmcalContainer ( )
inlinevirtual

Definition at line 55 of file AliEmcalContainer.h.

AliEmcalContainer::AliEmcalContainer ( const AliEmcalContainer obj)
private

reject reason bit map for the last call to an accept object function

Member Function Documentation

AliEmcalContainer::ClassDef ( AliEmcalContainer  ,
 
)
private
const TString& AliEmcalContainer::GetArrayName ( ) const
inline
const TString& AliEmcalContainer::GetClassName ( ) const
inline

Definition at line 59 of file AliEmcalContainer.h.

Int_t AliEmcalContainer::GetCurrentID ( ) const
inline
Bool_t AliEmcalContainer::GetIsParticleLevel ( ) const
inline

Definition at line 61 of file AliEmcalContainer.h.

virtual void AliEmcalContainer::GetMomentum ( TLorentzVector &  mom,
Int_t  i 
) const
pure virtual
UInt_t AliEmcalContainer::GetRejectionReason ( ) const
inline

Definition at line 70 of file AliEmcalContainer.h.

UShort_t AliEmcalContainer::GetRejectionReasonBitPosition ( ) const

Definition at line 102 of file AliEmcalContainer.cxx.

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

Reimplemented in AliParticleContainer.

Definition at line 53 of file AliEmcalContainer.cxx.

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

void AliEmcalContainer::SetIsParticleLevel ( Bool_t  b)
inline

Definition at line 68 of file AliEmcalContainer.h.

void AliEmcalContainer::SortArray ( )
inline

Definition at line 69 of file AliEmcalContainer.h.

UInt_t AliEmcalContainer::TestRejectionReason ( UInt_t  rs) const
inline

Definition at line 71 of file AliEmcalContainer.h.

Member Data Documentation

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

Definition at line 75 of file AliEmcalContainer.h.

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

Bool_t AliEmcalContainer::fIsParticleLevel
protected

Definition at line 77 of file AliEmcalContainer.h.

Referenced by GetIsParticleLevel(), and SetIsParticleLevel().

AliNamedArrayI* AliEmcalContainer::fLabelMap
protected

current ID for automatic loops

Definition at line 80 of file AliEmcalContainer.h.

Referenced by GetIndexFromLabel(), and SetArray().

UInt_t AliEmcalContainer::fRejectionReason
protected
Double_t AliEmcalContainer::fVertex[3]
protected

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