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

Base class for container structures within the EMCAL framework. More...

#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, kOverlapTpcHole = 1<<29
}
 Bit definition for the reason a particle was rejected. More...
 

Public Member Functions

 AliEmcalContainer ()
 
 AliEmcalContainer (const char *name)
 
virtual ~AliEmcalContainer ()
 
virtual TObject * operator[] (int index) const =0
 
virtual Bool_t ApplyKinematicCuts (const AliTLorentzVector &mom, UInt_t &rejectionReason) const
 
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) const =0
 
virtual Bool_t GetAcceptMomentum (TLorentzVector &mom, Int_t i) const =0
 
virtual Bool_t GetNextMomentum (TLorentzVector &mom)=0
 
virtual Bool_t GetNextAcceptMomentum (TLorentzVector &mom)=0
 
virtual Bool_t AcceptObject (Int_t i, UInt_t &rejectionReason) const =0
 
virtual Bool_t AcceptObject (const TObject *obj, UInt_t &rejectionReason) const =0
 
Int_t GetNAcceptEntries () const
 
void ResetCurrentID (Int_t i=-1)
 
virtual void SetArray (const AliVEvent *event)
 
void SetArrayName (const char *n)
 
void SetBitMap (UInt_t m)
 
void SetIsParticleLevel (Bool_t b)
 
void SortArray ()
 
UShort_t GetRejectionReasonBitPosition (UInt_t rejectionReason) 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)
 
void SetClassName (const char *clname)
 
const char * GetName () const
 
void SetName (const char *n)
 
const AliEmcalIterableContainer all () const
 
const AliEmcalIterableContainer accepted () const
 

Static Public Member Functions

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

Protected Attributes

TString fName
 object name More...
 
TString fClArrayName
 name of branch More...
 
TString fBaseClassName
 name of the base class that this container can handle More...
 
Bool_t fIsParticleLevel
 whether or not it is a particle level object collection More...
 
UInt_t fBitMap
 bitmap mask More...
 
Double_t fMinPt
 Min. cut on particle \( p_{t} \). More...
 
Double_t fMaxPt
 Max. cut on particle \( p_{t} \). More...
 
Double_t fMaxE
 Min. cut on particle energy. More...
 
Double_t fMinE
 Max. cut on particle energy. More...
 
Double_t fMinEta
 Min. cut on particle \( \eta \). More...
 
Double_t fMaxEta
 Max. cut on particle \( \eta \). More...
 
Double_t fMinPhi
 Min. cut on particle \( \phi \). More...
 
Double_t fMaxPhi
 Max. cut on particle \( \phi \). More...
 
Int_t fMinMCLabel
 minimum MC label More...
 
Int_t fMaxMCLabel
 maximum MC label More...
 
Double_t fMassHypothesis
 if < 0 it will use a PID mass when available More...
 
TClonesArray * fClArray
 ! Pointer to array in input event More...
 
Int_t fCurrentID
 ! current ID for automatic loops More...
 
AliNamedArrayI * fLabelMap
 ! Label-Index map More...
 
Double_t fVertex [3]
 ! event vertex array More...
 
TClass * fLoadedClass
 ! Class of the objects contained in the TClonesArray More...
 

Private Member Functions

 AliEmcalContainer (const AliEmcalContainer &obj)
 
AliEmcalContaineroperator= (const AliEmcalContainer &other)
 

Private Attributes

TString fClassName
 name of the class in the TClonesArray More...
 

Detailed Description

Base class for container structures within the EMCAL framework.

Author
Marta Verweij
Salvatore Aiola salva.nosp@m.tore.nosp@m..aiol.nosp@m.a@ce.nosp@m.rn.ch, Yale University
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Lawrence Berkeley National Laboratory

This class is the base class for container object used in the EMCAL framework. The main purpose is to connect this to objects stored as list objects in the input event, among them particles, EMCAL clusters, or jets. The core of the container is a pointer to a TClonesArray representing the the content in the input event.

Containers can be connected. For example, jet containers need access to the track container and the cluster container in case constituent information is required.

In addition, kinematical cuts can be applied, accessing only content which is selected using the selection cuts to be applied.

Iterator functionality is provided by the AliEmcalIterableContainer. Iterators are available both for all entries and accepted entries in the container

  • The function all creates an interable container over all entries in the EMCAL container
  • The function accept creates an iterable container over accepted entries in the EMCal container The following example demonstrates the usage of the iterator
AliEmcalIterableContainer alliter = cont->all(),
acceptiter = cont->accepted();
for(AliEmcalIterableContainer::iterator it = alliter.begin(); it != alliter.end(); ++it){
// Iterating over all objects in the EMCAL container
// Do something with the object
}
for(AliEmcalIterableContainer::iterator it = acceptiter.begin(); it != acceptiter.end(); ++it){
// Iterating over all objects in the EMCAL container
// Do something with the object
}

Using c++11 and range-based iteration this code can be simplified to

for(auto en : cont->all()) { // Iterating over all objects in the container
// Do something with the object
}
for(auto en : cont->accepted()) { // Iterating over accepted objects in the container
// Do something with the object
}

The usage of EMCAL containers is described under Using the EMCAL containers

Definition at line 71 of file AliEmcalContainer.h.

Member Enumeration Documentation

Bit definition for the reason a particle was rejected.

Enumerator
kNullObject 

Object is NULL.

kPtCut 

\( p_{t} \) cut

kAcceptanceCut 

particle not in acceptance in \( \eta \) and/or \( \phi \)

kMCLabelCut 

Invalid MC label.

kBitMapCut 

kBitMapCut

kHFCut 

kHFCut

kNotHybridTrack 

Track did not pass the hybrid track cuts.

kMCFlag 

Cut on the MC flag.

kMCGeneratorCut 

Generator flag mismatch.

kChargeCut 

Particle charge did not match.

kMinDistanceTPCSectorEdgeCut 

Track too close to the TPC sector boundary.

kIsEMCalCut 

Cluster not in the EMCAL.

kTimeCut 

Cell time cut not passed.

kEnergyCut 

Energy below threshold.

kExoticCut 

Cluster is exotic cluster.

kAreaCut 

Cut on the jet area.

kAreaEmcCut 

Cut on the jet area in the EMCAL.

kZLeadingChCut 

Cut on the z of the leading charged constituent.

kZLeadingEmcCut 

Cut on the z of the leading particle in the EMCAL.

kNEFCut 

Cut on the neutral energy fraction.

kMinLeadPtCut 

Cut on the minimum \( p_{t} \) of the leading particle.

kMaxTrackPtCut 

Cut on the maximum track \( p_{t} \).

kMaxClusterPtCut 

Cut on the maximum cluster \( p_{t} \).

kFlavourCut 

Cut on flavour content in the jet.

kTagStatus 

Cut on jet tag status.

kMinNConstituents 

Cut on the minimum number of constituents.

kOverlapTpcHole 

Cut on the regions of acceptance with bad sectors.

Definition at line 77 of file AliEmcalContainer.h.

Constructor & Destructor Documentation

AliEmcalContainer::AliEmcalContainer ( )

Default constructor. This constructor is only for ROOT I/O and not to be used by users. The container will not connect to an array in the input event.

Definition at line 33 of file AliEmcalContainer.cxx.

AliEmcalContainer::AliEmcalContainer ( const char *  name)

Standard (named) constructor. The name provided must match the name of the array inside the list objects in the input event the EMCAL container connects to. The EMCAL container can get a different name, to be specified in the function SetEvent.

Parameters
nameName of the container in the input event.

Definition at line 69 of file AliEmcalContainer.cxx.

virtual AliEmcalContainer::~AliEmcalContainer ( )
inlinevirtual

Definition at line 119 of file AliEmcalContainer.h.

AliEmcalContainer::AliEmcalContainer ( const AliEmcalContainer obj)
private

Member Function Documentation

const AliEmcalIterableContainer AliEmcalContainer::accepted ( ) const

Create an iterable container interface over accepted objects in the EMCAL container.

Returns
iterable container over accepted objects in the EMCAL container

Definition at line 278 of file AliEmcalContainer.cxx.

virtual Bool_t AliEmcalContainer::AcceptObject ( Int_t  i,
UInt_t &  rejectionReason 
) const
pure virtual
virtual Bool_t AliEmcalContainer::AcceptObject ( const TObject *  obj,
UInt_t &  rejectionReason 
) const
pure virtual
const AliEmcalIterableContainer AliEmcalContainer::all ( ) const

Create an iterable container interface over all objects in the EMCAL container.

Returns
iterable container over all objects in the EMCAL container

Definition at line 269 of file AliEmcalContainer.cxx.

Bool_t AliEmcalContainer::ApplyKinematicCuts ( const AliTLorentzVector &  mom,
UInt_t &  rejectionReason 
) const
virtual

Apply kinematical selection to the momentum vector provided. Selection is done in

  • \( p_{t} \) (E)
  • \( \eta \)
  • \( \phi \)
    Parameters
    [in]momMomentum vector to select
    [out]rejectionReasonBitmap for reason why object is rejected
    Returns
    True if the momentum vector is selected, false otherwise

Reimplemented in AliParticleContainer.

Definition at line 236 of file AliEmcalContainer.cxx.

Referenced by AliClusterContainer::AcceptCluster(), and AliParticleContainer::ApplyKinematicCuts().

virtual Bool_t AliEmcalContainer::GetAcceptMomentum ( TLorentzVector &  mom,
Int_t  i 
) const
pure virtual
TClonesArray* AliEmcalContainer::GetArray ( ) const
inline

Definition at line 124 of file AliEmcalContainer.h.

Referenced by AliAnalysisTaskChargedJetsHadronCF::AddJetToTree(), AliAnalysisTaskEmcalMissingEnergy::Angularity(), AliAnalysisTaskEmcalQGTagging::Angularity(), AliAnalysisTaskFakeJets::Angularity(), AliAnalysisTaskSubJetFraction::Angularity(), AliAnalysisTaskEmcalJetShapesMC::Angularity(), AliAnalysisTaskFakeJets::AngularitySquared(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::BuildEvent(), AliAnalysisTaskJetShapeGR::CalcDeltaGR(), AliAnalysisTaskJetShapeGR::CalcGR(), AliAnalysisTaskChargedJetsHadronCF::CalculateFakeFactor(), AliAnalysisTaskEmcalMissingEnergy::Circularity(), AliAnalysisTaskEmcalQGTagging::Circularity(), AliAnalysisTaskEmcalJetShapesMC::Circularity(), ClassImp(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::ClusterInJet(), AliAnalysisTaskFakeJets::CoreFrac(), AliAnalysisTaskEmcalJetShapesMC::CoreFrac(), AliJetResponseMaker::DoJetLoop(), AliJetResponseMaker::DoJetMatching(), AliAnalysisTaskHJetSpectra::EstimateBgCone(), AliAnalysisTaskHJetSpectra::EstimateBgKT(), AliAnalysisTaskHJetSpectra::EstimateBgKTcms(), AliAnalysisTaskScale::ExecOnce(), AliAnalysisTaskDcalDijetPerf::ExecOnce(), AliAnalysisTaskDeltaPtJEmb::ExecOnce(), AliAnalysisTaskEmcalTmpSparseMaker::ExecOnce(), AliAnalysisTaskEmcalJetSparseMaker::ExecOnce(), AliAnalysisTaskDeltaPt::ExecOnce(), AliAnalysisTaskEmcalJetMassBkg::ExecOnce(), AliAnalysisTaskJetJTJT::ExecOnce(), AliAnalysisTaskEmcalJetv2QA::ExecOnce(), AliAnalysisTaskEmcalJetCDFUE::ExecOnce(), AliJetResponseMaker::ExecOnce(), AliAnalysisTaskDijetHadron::ExecOnce(), AliAnalysisTaskEmcalJet::ExecOnce(), AliAnalysisTaskEmcalJetFlavourTagExample::ExecOnce(), AliAnalysisTaskEmcalJetTriggerMatcher::ExecOnce(), AliAnalysisTaskEmcalJetHF::ExecOnce(), AliAnalysisTaskV0sInJetsEmcal::ExecOnce(), AliAnalysisTaskEmcalJetHadEPpid::ExecOnce(), AliAnalysisTaskJetShapeDeriv::FillHistograms(), AliAnalysisTaskJetShapeConst::FillHistograms(), AliAnalysisTaskEmcalJetTagger::FillHistograms(), AliAnalysisTaskEmcalJetMassStructure::FillHistograms(), AliJetResponseMaker::FillHistograms(), AliAnalysisTaskEmcalMissingEnergy::FillHistograms(), AliAnalysisTaskEmcalQGTagging::FillHistograms(), AliAnalysisTaskFakeJets::FillHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), AliAnalysisTaskEmcalTriggerPatchJetMatch::FillHistograms(), AliAnalysisTaskEmcalJetShapesMC::FillHistograms(), AliAnalysisTaskHJetSpectra::FillHistograms(), AliAnalysisTaskChargedJetsHadronCF::FillHistogramsJetConstituents(), AliAnalysisTaskEmcalTmpSparseMaker::FillSparseJets(), AliEmcalJetFinder::Filter(), AliAnalysisTaskEmcal::GetClusterArray(), AliAnalysisTaskEmcalJetMassResponse::GetEmbeddedConstituent(), AliAnalysisTaskJetShapeGR::GetEmbeddedConstituent(), AliAnalysisTaskHJetSpectra::GetFractionSharedPt(), AliJetContainer::GetFractionSharedPt(), AliAnalysisTaskFlavourJetCorrelations::GetHFJet(), AliAnalysisTaskEmcalJet::GetJetArray(), AliAnalysisTaskEmcalJetMassResponse::GetJetMassMasslessConstituents(), AliJetContainer::GetLeadingHadronMomentum(), AliAnalysisTaskJetV2::GetLeadingTrack(), AliJetResponseMaker::GetMCLabelMatchingLevel(), AliAnalysisTaskEmcal::GetParticleArray(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensityData::GetParticleMultiplicity(), AliJetResponseMaker::GetSameCollectionsMatchingLevel(), AliJetContainer::GetZLeadingCharged(), AliJetContainer::GetZLeadingEmc(), AliAnalysisTaskFakeJets::HardTrack(), AliAnalysisTaskEmcalQGTagging::LeSub(), AliAnalysisTaskEmcalMissingEnergy::LeSub(), AliAnalysisTaskEmcalJetShapesMC::LeSub(), AliEmcalJetFinder::Nsubjettiness(), AliAnalysisTaskSubJetFraction::NSubJettiness(), AliAnalysisTaskFakeJets::NSubJettiness(), AliAnalysisTaskEmcalJetShapesMC::NSubJettiness(), AliAnalysisTaskEmcalJetShapesMC::NTValues(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::Process(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::Process(), AliAnalysisTaskEmcalJetCDF::ProcessJetContainer(), AliAnalysisTaskEmcalMissingEnergy::PTD(), AliAnalysisTaskEmcalQGTagging::PTD(), AliAnalysisTaskFakeJets::PTD(), AliAnalysisTaskSubJetFraction::PTD(), AliAnalysisTaskEmcalJetShapesMC::PTD(), AliAnalysisTaskEmcalJetCDFUE::Run(), AliAnalysisTaskFakeJets::SecHardTrack(), AliAnalysisTaskEmcalQGTagging::SelectTrigger(), AliAnalysisTaskEmcalMissingEnergy::SelectTrigger(), AliAnalysisTaskFakeJets::SelectTrigger(), AliAnalysisTaskEmcalJetShapesMC::SelectTrigger(), AliAnalysisTaskEmcalQGTagging::Sigma2(), AliAnalysisTaskEmcalMissingEnergy::Sigma2(), AliAnalysisTaskEmcalJetShapesMC::Sigma2(), AliAnalysisTaskEmcalMissingEnergy::Tau1Num(), AliAnalysisTaskEmcalMissingEnergy::Tau1Num_full(), AliAnalysisTaskEmcalMissingEnergy::Tau2Num(), AliAnalysisTaskEmcalMissingEnergy::Tau3Num(), AliAnalysisTaskEmcalMissingEnergy::TauDen(), and EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::TrackInJet().

Int_t AliEmcalContainer::GetIndexFromLabel ( Int_t  lab) const
Bool_t AliEmcalContainer::GetIsParticleLevel ( ) const
inline
TClass* AliEmcalContainer::GetLoadedClass ( )
inline
Double_t AliEmcalContainer::GetMaxE ( ) const
inline

Definition at line 128 of file AliEmcalContainer.h.

Double_t AliEmcalContainer::GetMaxEta ( ) const
inline
Double_t AliEmcalContainer::GetMaxPhi ( ) const
inline
Double_t AliEmcalContainer::GetMaxPt ( ) const
inline

Definition at line 130 of file AliEmcalContainer.h.

Referenced by AliJetContainer::GetJetPtCutMax().

Double_t AliEmcalContainer::GetMinE ( ) const
inline

Definition at line 127 of file AliEmcalContainer.h.

Double_t AliEmcalContainer::GetMinEta ( ) const
inline
Double_t AliEmcalContainer::GetMinPhi ( ) const
inline
virtual Bool_t AliEmcalContainer::GetMomentum ( TLorentzVector &  mom,
Int_t  i 
) const
pure virtual
Int_t AliEmcalContainer::GetNAcceptEntries ( ) const

Count accepted entries in the container

Returns
Number of accepted events in the container

Definition at line 162 of file AliEmcalContainer.cxx.

virtual Bool_t AliEmcalContainer::GetNextAcceptMomentum ( TLorentzVector &  mom)
pure virtual
virtual Bool_t AliEmcalContainer::GetNextMomentum ( TLorentzVector &  mom)
pure virtual
UShort_t AliEmcalContainer::GetRejectionReasonBitPosition ( UInt_t  rejectionReason) const
AliEmcalContainer& AliEmcalContainer::operator= ( const AliEmcalContainer other)
private
TObject * AliEmcalContainer::operator[] ( int  index) const
pure virtual

Index operator, accessing object in the container at a given index. Operates on all objects inside the container.

Parameters
indexIndex of the object to access
Returns
Object at the given index (NULL if out of range)

Implemented in AliParticleContainer, and AliClusterContainer.

Definition at line 104 of file AliEmcalContainer.cxx.

Double_t AliEmcalContainer::RelativePhi ( Double_t  mphi,
Double_t  vphi 
)
static

Calculates the relative phi between two angle values and returns it in [-Pi, +Pi] range.

Parameters
mphiFirst angle value
vphiSecond angle value
Returns
Difference between mphi and vphi

Definition at line 289 of file AliEmcalContainer.cxx.

Referenced by AliJetContainer::CheckTpcHolesOverlap().

void AliEmcalContainer::ResetCurrentID ( Int_t  i = -1)
inline

Definition at line 146 of file AliEmcalContainer.h.

Referenced by AliAnalysisTaskSEDmesonsFilterCJ::AddEventTracks(), AliAnalysisTaskFlavourJetCorrelations::AngularCorrelationMethod(), AliAnalysisTaskEmcalJetSparseMaker::CalcAysPlane(), AliAnalysisTaskEmcalTmpSparseMaker::CalcAysPlane(), AliAnalysisTaskJetV2::CalculateRandomCone(), AliAnalysisTaskJetJTJT::CheckClusTrackMatching(), AliAnalysisTaskEmcalJetHF::CheckClusTrackMatchingQA(), ClassImp(), AliAnalysisTaskEmcalJetHMEC::CloneAndReduceTrackList(), AliEmcalPicoTrackInGridMaker::CreateGridCells(), AliJetConstituentTagCopier::DoClusterLoop(), AliAnalysisTaskPi0Hadron::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliJetResponseMaker::DoJetLoop(), AliJetResponseMaker::DoJetMatching(), AliJetConstituentTagCopier::DoParticleLoop(), AliAnalysisTaskPi0Hadron::DoTrackLoop(), AliAnalysisTaskEmcalJetQA::DoTrackLoop(), AliAnalysisTaskHJetSpectra::EstimateBgCone(), AliAnalysisTaskHJetSpectra::EstimateBgKT(), AliAnalysisTaskHJetSpectra::EstimateBgKTcms(), AliEmcalTrackingQATask::FillHistograms(), AliAnalysisTaskScale::FillHistograms(), AliAnalysisTaskDcalDijetPerf::FillHistograms(), AliAnalysisTaskDeltaPtJEmb::FillHistograms(), AliAnalysisTaskJetShapeDeriv::FillHistograms(), AliAnalysisTaskJetShapeConst::FillHistograms(), AliAnalysisTaskJetMassResponseDet::FillHistograms(), AliAnalysisTaskPrepareInputForEmbedding::FillHistograms(), AliAnalysisTaskEmcalJetMass::FillHistograms(), AliAnalysisTaskEmcalJetMassResponse::FillHistograms(), AliAnalysisTaskJetJTJT::FillHistograms(), AliAnalysisTaskEmcalJetTagger::FillHistograms(), AliAnalysisTaskJetShapeGR::FillHistograms(), AliAnalysisTaskEmcalJetTriggerQA::FillHistograms(), AliAnalysisTaskEmcalJetMassStructure::FillHistograms(), AliJetResponseMaker::FillHistograms(), AliAnalysisTaskDijetHadron::FillHistograms(), AliAnalysisTaskJetsEvshape::FillHistograms(), AliAnalysisTaskEmcalMissingEnergy::FillHistograms(), AliAnalysisTaskFakeJets::FillHistograms(), AliAnalysisTaskEmcalQGTagging::FillHistograms(), AliAnalysisTaskEmcalTriggerPatchClusterMatch::FillHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), AliAnalysisTaskSubJetFraction::FillHistograms(), AliAnalysisTaskEmcalTriggerPatchJetMatch::FillHistograms(), AliAnalysisTaskEmcalJetCDF::FillHistograms(), AliAnalysisTaskEmcalJetShapesMC::FillHistograms(), AliAnalysisTaskV0sInJetsEmcal::FillHistograms(), AliAnalysisTaskHJetSpectra::FillHistograms(), AliAnalysisTaskEmcalJetSparseMaker::FillSparse(), AliAnalysisTaskEmcalTmpSparseMaker::FillSparseClus(), AliAnalysisTaskEmcalTmpSparseMaker::FillSparseJets(), AliAnalysisTaskEmcalTmpSparseMaker::FillSparseTrks(), AliAnalysisTaskJetShapeGR::FillTrueJets(), AliEmcalJetTask::FindJets(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FoundClusterInJet(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FoundTrackInJet(), AliEmcalClusTrackMatcherTask::GenerateEmcalParticles(), AliEmcalPicoTrackInGridMaker::GetClosestJet(), AliAnalysisTaskEmcalJetMassBkg::GetCone(), AliAnalysisTaskHJetSpectra::GetConePt(), AliAnalysisTaskFlavourJetCorrelations::GetHFJet(), AliClusterContainer::GetLeadingCluster(), AliJetContainer::GetLeadingJet(), AliParticleContainer::GetLeadingParticle(), AliAnalysisTaskDeltaPt::GetRandomCone(), AliAnalysisTaskParticleInJet::GetSelectedParticles(), AliAnalysisTaskChargedJetsHadronCF::GetSubleadingJet(), AliAnalysisTaskEmcalJetV0CF::IsV0InJet(), AliAnalysisTaskDeltaPt::NextEmbeddedJet(), AliAnalysisTaskDijetHadron::NextEmbeddedJet(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::Process(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::Process(), AliAnalysisTaskEmcalJetCDF::ProcessJetContainer(), AliAnalysisTaskRhoFlow::Run(), AliEmcalTrackPropagatorTask::Run(), AliAnalysisTaskRhoAverage::Run(), AliEmcalClusterMaker::Run(), AliEmcalPicoTrackInGridMaker::Run(), AliHadCorrTask::Run(), AliAnalysisTaskEmcalJetv2QA::Run(), AliAnalysisTaskEmcalJetV0Filter::Run(), AliAnalysisTaskChargedJetsHadronCF::Run(), AliAnalysisTaskFlavourJetCorrelations::Run(), AliAnalysisTaskEmcalJetCDFUE::Run(), AliAnalysisTaskEmcalJetHMEC::Run(), AliAnalysisTaskEmcalJetFlavourTagExample::Run(), AliAnalysisTaskEmcalJetTriggerMatcher::Run(), AliAnalysisTaskEmcalJetHF::Run(), AliAnalysisTaskEmcalJetHadEPpid::Run(), AliAnalysisTaskEmcalJetCDFUE::SortTracksPt(), and AliAnalysisTaskEmcalJetCDF::SortTracksPt().

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

Helper function to calculate the distance between two jets or a jet and a particle

Parameters
part1First particle in the check
part2Second particle to compare to
distMaximum distance under which partices are considered as "same" in \( p_{t} \), \( \eta \) and \( \phi \)
Returns
True if the particles are considered as the same, false otherwise

Definition at line 213 of file AliEmcalContainer.cxx.

Referenced by AliJetContainer::GetFractionSharedPt().

void AliEmcalContainer::SetArray ( const AliVEvent *  event)
virtual

Connect the container to the array with content stored inside the virtual event. The object name in the event must match the name given in the constructor

Parameters
eventInput event containing the array with content.

Reimplemented in AliJetContainer, and AliTrackContainer.

Definition at line 129 of file AliEmcalContainer.cxx.

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

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

Definition at line 149 of file AliEmcalContainer.h.

Referenced by AliAnalysisTaskEmcalJet::SetJetBitMap().

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

Definition at line 158 of file AliEmcalContainer.h.

void AliEmcalContainer::SetEtaLimits ( Double_t  min,
Double_t  max 
)
inline
void AliEmcalContainer::SetIsParticleLevel ( Bool_t  b)
inline

Definition at line 150 of file AliEmcalContainer.h.

Referenced by AliAnalysisTaskEmcalJet::SetIsParticleLevel().

void AliEmcalContainer::SetMassHypothesis ( Double_t  m)
inline

Definition at line 166 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMaxE ( Double_t  max)
inline

Definition at line 160 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMaxMCLabel ( Int_t  s)
inline

Definition at line 156 of file AliEmcalContainer.h.

Referenced by SetMCLabelRange().

void AliEmcalContainer::SetMaxPt ( Double_t  max)
inline

Definition at line 163 of file AliEmcalContainer.h.

Referenced by AliJetContainer::SetJetPtCutMax().

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

Definition at line 157 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMinE ( Double_t  min)
inline

Definition at line 159 of file AliEmcalContainer.h.

Referenced by AliClusterContainer::SetClusECut().

void AliEmcalContainer::SetMinMCLabel ( Int_t  s)
inline

Definition at line 155 of file AliEmcalContainer.h.

Referenced by SetMCLabelRange().

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

Definition at line 170 of file AliEmcalContainer.h.

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

Definition at line 161 of file AliEmcalContainer.h.

void AliEmcalContainer::SortArray ( )
inline

Definition at line 151 of file AliEmcalContainer.h.

Member Data Documentation

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

name of branch

Definition at line 180 of file AliEmcalContainer.h.

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

TString AliEmcalContainer::fClassName
private

name of the class in the TClonesArray

Definition at line 202 of file AliEmcalContainer.h.

Referenced by GetClassName(), SetArray(), and SetClassName().

Bool_t AliEmcalContainer::fIsParticleLevel
protected

whether or not it is a particle level object collection

Definition at line 182 of file AliEmcalContainer.h.

Referenced by GetIsParticleLevel(), and SetIsParticleLevel().

AliNamedArrayI* AliEmcalContainer::fLabelMap
protected

! Label-Index map

Definition at line 197 of file AliEmcalContainer.h.

Referenced by GetIndexFromLabel(), and SetArray().

Double_t AliEmcalContainer::fMaxE
protected

Min. cut on particle energy.

Definition at line 186 of file AliEmcalContainer.h.

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

Double_t AliEmcalContainer::fMaxEta
protected

Max. cut on particle \( \eta \).

Definition at line 189 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMaxEta(), AliJetContainer::PrintCuts(), AliJetContainer::ResetCuts(), and SetEtaLimits().

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

Max. cut on particle \( \phi \).

Definition at line 191 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMaxPhi(), AliJetContainer::PrintCuts(), AliJetContainer::ResetCuts(), and SetPhiLimits().

Double_t AliEmcalContainer::fMaxPt
protected

Max. cut on particle \( p_{t} \).

Definition at line 185 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMaxPt(), AliJetContainer::PrintCuts(), SetMaxPt(), and SetPtLimits().

Double_t AliEmcalContainer::fMinE
protected
Double_t AliEmcalContainer::fMinEta
protected

Min. cut on particle \( \eta \).

Definition at line 188 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMinEta(), AliJetContainer::PrintCuts(), AliJetContainer::ResetCuts(), and SetEtaLimits().

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

Min. cut on particle \( \phi \).

Definition at line 190 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMinPhi(), AliJetContainer::PrintCuts(), AliJetContainer::ResetCuts(), and SetPhiLimits().

Double_t AliEmcalContainer::fMinPt
protected

Min. cut on particle \( p_{t} \).

Definition at line 184 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetMinPt(), AliJetContainer::PrintCuts(), AliJetContainer::ResetCuts(), SetMinPt(), and SetPtLimits().

TString AliEmcalContainer::fName
protected

object name

Definition at line 179 of file AliEmcalContainer.h.

Referenced by GetName(), and SetName().


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