AliPhysics  608b256 (608b256)
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 ()
 Default constructor. More...
 
 AliEmcalContainer (const char *name)
 Standard (named) constructor. More...
 
virtual ~AliEmcalContainer ()
 Destructor. More...
 
virtual TObjectoperator[] (int index) const =0
 Index operator. More...
 
virtual Bool_t ApplyKinematicCuts (const AliTLorentzVector &mom, UInt_t &rejectionReason) const
 Apply kinematical selection to the momentum vector provided. More...
 
TClonesArray * GetArray () const
 
const TStringGetArrayName () const
 
const TStringGetClassName () const
 
TClass * GetClass () 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
 
Double_t GetEtaSwing () const
 
Double_t GetPhiSwing () const
 
Double_t GetAcceptance () const
 
Int_t GetCurrentID () const
 
Bool_t GetIsParticleLevel () const
 
Int_t GetIndexFromLabel (Int_t lab) const
 Get the index in the container from a given label. More...
 
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
 Count accepted entries in the container. More...
 
void ResetCurrentID (Int_t i=-1)
 Reset the iterator to a given index. More...
 
virtual void SetArray (const AliVEvent *event)
 
void SetArrayName (const char *n)
 
void SetVertex (Double_t *vtx)
 
void SetBitMap (UInt_t m)
 
void SetIsParticleLevel (Bool_t b)
 
void SortArray ()
 
TClass * GetLoadedClass ()
 
virtual void NextEvent (const AliVEvent *event)
 Preparation for the next event. More...
 
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)
 
void SetIsEmbedding (Bool_t b)
 Set embedding status. More...
 
Bool_t GetIsEmbedding () const
 Get embedding status. More...
 
const char * GetName () const
 
void SetName (const char *n)
 Set the name of the class of the objets inside the underlying array. More...
 
const AliEmcalIterableContainer all () const
 Create an iterable container interface over all objects in the EMCAL container. More...
 
const AliEmcalIterableContainer accepted () const
 Create an iterable container interface over accepted objects in the EMCAL container. More...
 
const AliEmcalIterableMomentumContainer all_momentum () const
 Create an iterable container interface over all objects in the EMCAL container. More...
 
const AliEmcalIterableMomentumContainer accepted_momentum () const
 Create an iterable container interface over accepted objects in the EMCAL container. More...
 

Static Public Member Functions

static Double_t RelativePhi (Double_t ang1, Double_t ang2)
 Calculates the relative phi between two angle values and returns it in [-Pi, +Pi] range. More...
 
static Bool_t SamePart (const AliVParticle *part1, const AliVParticle *part2, Double_t dist=1.e-4)
 Helper function to calculate the distance between two jets or a jet and a particle. More...
 
static UShort_t GetRejectionReasonBitPosition (UInt_t rejectionReason)
 Returns the highest bit in the rejection map as reason why the object was rejected. More...
 

Protected Member Functions

virtual TString GetDefaultArrayName (const AliVEvent *const ev) const
 Handling default Array names. More...
 
void GetVertexFromEvent (const AliVEvent *event)
 Retrieve the vertex from the given event. More...
 

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...
 
Bool_t fIsEmbedding
 if true, this container will connect to an external event More...
 
TClonesArray * fClArray
 ! Pointer to array in input event More...
 
Int_t fCurrentID
 ! current ID for automatic loops More...
 
AliNamedArrayIfLabelMap
 ! 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 EMCALcontainers

Definition at line 101 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 107 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 40 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 70 of file AliEmcalContainer.cxx.

virtual AliEmcalContainer::~AliEmcalContainer ( )
inlinevirtual

Destructor.

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

Referenced by AliAnalysisTaskEmcalJetV0Filter::Run(), and SetName().

const AliEmcalIterableMomentumContainer AliEmcalContainer::accepted_momentum ( ) 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 258 of file AliEmcalContainer.cxx.

Referenced by AliAnalysisTaskRhoTransDev::GetPerpPtDensity(), and SetName().

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 246 of file AliEmcalContainer.cxx.

Referenced by SetName().

const AliEmcalIterableMomentumContainer AliEmcalContainer::all_momentum ( ) 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 254 of file AliEmcalContainer.cxx.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::AddInputVectors(), AliAnalysisTaskDmesonJetsSub::AnalysisEngine::AddInputVectors(), and SetName().

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 218 of file AliEmcalContainer.cxx.

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

Double_t AliEmcalContainer::GetAcceptance ( ) const
inline

Definition at line 207 of file AliEmcalContainer.h.

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

Definition at line 193 of file AliEmcalContainer.h.

Referenced by AliAnalysisTaskEmcalJetShapeExtra::Angularity(), AliAnalysisTaskEmcalMissingEnergy::Angularity(), AliAnalysisTaskFakeJets::Angularity(), AliAnalysisTaskEmcalQGTagging::Angularity(), AliAnalysisTaskRecoilJetYield::Angularity(), AliAnalysisTaskEmcalHfeTagging::Angularity(), AliAnalysisTaskEmcalJetShapesMC::Angularity(), AliAnalysisTaskSubJetFraction::Angularity(), AliAnalysisTaskFakeJets::AngularitySquared(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::BuildEvent(), AliAnalysisTaskJetShapeGR::CalcDeltaGR(), AliAnalysisTaskJetShapeGR::CalcGR(), AliAnalysisTaskEmcalQGTagging::CheckClosePartner(), AliAnalysisTaskEmcalQGTagging::CheckSubjetResolution(), AliAnalysisTaskEmcalJetShapeExtra::Circularity(), AliAnalysisTaskEmcalMissingEnergy::Circularity(), AliAnalysisTaskEmcalQGTagging::Circularity(), AliAnalysisTaskEmcalHfeTagging::Circularity(), AliAnalysisTaskEmcalJetShapesMC::Circularity(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::ClusterInJet(), AliAnalysisTaskEmcalJetPerformance::ComputeBackground(), AliAnalysisTaskFakeJets::CoreFrac(), AliAnalysisTaskEmcalJetShapesMC::CoreFrac(), AliAnalysisTaskEmcalQGTagging::Coronna(), AliAnalysisTaskEmcalHfeTagging::Coronna(), EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::DoConstituentQA(), AliJetResponseMaker::DoJetLoop(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::DoJetLoop(), AliAnalysisTaskEmcalJetHF::DoJetLoop(), AliJetResponseMaker::DoJetMatching(), AliAnalysisTaskHJetSpectra::EstimateBgCone(), AliAnalysisTaskHJetSpectra::EstimateBgKT(), AliAnalysisTaskHJetSpectra::EstimateBgKTcms(), AliAnalysisTaskScale::ExecOnce(), AliAnalysisTaskDcalDijetPerf::ExecOnce(), AliAnalysisTaskDeltaPtJEmb::ExecOnce(), AliAnalysisTaskEmcalTmpSparseMaker::ExecOnce(), AliAnalysisTaskEmcalJetSparseMaker::ExecOnce(), AliAnalysisTaskDeltaPt::ExecOnce(), AliAnalysisTaskEmcalJetMassBkg::ExecOnce(), AliEmcalTrackingQATask::ExecOnce(), AliAnalysisTaskJetJTJT::ExecOnce(), AliAnalysisTaskSoftDrop::ExecOnce(), AliAnalysisTaskEmcalJetv2QA::ExecOnce(), AliAnalysisTaskDijetHadron::ExecOnce(), AliAnalysisTaskEmcalJet::ExecOnce(), AliAnalysisTaskEmcalJetFlavourTagExample::ExecOnce(), AliAnalysisTaskEmcalJetTriggerMatcher::ExecOnce(), AliJetResponseMaker::ExecOnce(), AliAnalysisTaskV0sInJetsEmcal::ExecOnce(), AliAnalysisTaskEmcalJetHadEPpid::ExecOnce(), AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractD0Attributes(), AliAnalysisTaskDmesonJetsSub::AnalysisEngine::ExtractD0Attributes(), AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractDstarAttributes(), AliAnalysisTaskDmesonJetsSub::AnalysisEngine::ExtractDstarAttributes(), AliAnalysisTaskJetShapeDeriv::FillHistograms(), AliAnalysisTaskEmcalNeutralJets::FillHistograms(), AliAnalysisTaskJetShapeConst::FillHistograms(), AliAnalysisTaskIDFragmentationFunction::FillHistograms(), AliAnalysisTaskEmcalJetCDF::FillHistograms(), AliAnalysisTaskEmcalJetShapeExtra::FillHistograms(), AliAnalysisTaskEmcalJetMassStructure::FillHistograms(), AliAnalysisTaskSoftDropResponse::FillHistograms(), AliAnalysisTaskEmcalMissingEnergy::FillHistograms(), AliAnalysisTaskFakeJets::FillHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), AliAnalysisTaskEmcalQGTagging::FillHistograms(), AliAnalysisTaskEmcalTriggerPatchJetMatch::FillHistograms(), AliAnalysisTaskEmcalHfeTagging::FillHistograms(), AliAnalysisTaskRecoilJetYield::FillHistograms(), AliAnalysisTaskJetPP::FillHistograms(), AliJetResponseMaker::FillHistograms(), AliAnalysisTaskEmcalJetShapesMC::FillHistograms(), AliAnalysisTaskSubJetFraction::FillHistograms(), AliAnalysisTaskHJetSpectra::FillHistograms(), AliAnalysisTaskHFSubstructure::FillHistograms(), AliAnalysisTaskChargedJetsHadronCF::FillHistogramsJets(), AliEmcalJetTask::FillJetConstituents(), EmcalTriggerJets::AliAnalysisTaskEmcalTriggerJets::FillJetPIDPlots(), AliAnalysisTaskEmcalTmpSparseMaker::FillSparseJets(), AliEmcalJetFinder::Filter(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEfficiencyJets::FindAssociatedJet(), AliAnalysisTaskDmesonJetsSub::AnalysisEngine::FindJet(), AliAnalysisTaskDmesonJets::AnalysisEngine::FindJet(), AliAnalysisTaskFlavourJetCorrelations::FindMCJet(), EmcalHJetMassAnalysis::AliAnalysisTaskEmcalHJetMass::FindNearSideJet(), AliAnalysisTaskEmcal::GetClusterArray(), AliAnalysisTaskJetShapeGR::GetEmbeddedConstituent(), AliAnalysisTaskEmcalJetMassResponse::GetEmbeddedConstituent(), AliAnalysisTaskHJetSpectra::GetFractionSharedPt(), AliAnalysisTaskRecoilJetYield::GetFractionSharedPt_SubMatching(), AliAnalysisTaskFlavourJetCorrelations::GetHFJet(), AliAnalysisTaskEmcalJet::GetJetArray(), AliAnalysisTaskEmcalJetMassResponse::GetJetMassMasslessConstituents(), AliAnalysisTaskJetV2::GetLeadingTrack(), AliAnalysisTaskJetV3::GetLeadingTrack(), AliJetResponseMaker::GetMCLabelMatchingLevel(), AliAnalysisTaskEmcalHfeTagging::GetNumberOfElectrons(), AliAnalysisTaskEmcalHfeTagging::GetNumberOfTrueElectrons(), AliEmcalContainerIndexMap< U, V >::GetObject(), AliAnalysisTaskEmcal::GetParticleArray(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensityData::GetParticleMultiplicity(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensity::GetParticleMultiplicity(), AliJetResponseMaker::GetSameCollectionsMatchingLevel(), AliAnalysisTaskChargedJetsHadronCF::GetTrackMCRatios(), AliAnalysisTaskFakeJets::HardTrack(), AliAnalysisTaskEmcalJetShapeExtra::LeSub(), AliAnalysisTaskEmcalMissingEnergy::LeSub(), AliAnalysisTaskEmcalQGTagging::LeSub(), AliAnalysisTaskEmcalHfeTagging::LeSub(), AliAnalysisTaskEmcalJetShapesMC::LeSub(), EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::MakeAngularity(), EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::MakeJetKineParameters(), EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::MakeJetSubstructure(), EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::MakePtD(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalSoftDropData::MakeSoftdrop(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalSoftDropResponse::MakeSoftdrop(), AliAnalysisTaskSubJetFraction::ModifyJet(), AliEmcalJetFinder::Nsubjettiness(), AliAnalysisTaskFakeJets::NSubJettiness(), AliAnalysisTaskSubJetFraction::NSubJettiness(), AliAnalysisTaskEmcalJetShapesMC::NTValues(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::Process(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::Process(), AliAnalysisTaskEmcalJetShapeExtra::PTD(), AliAnalysisTaskEmcalMissingEnergy::PTD(), AliAnalysisTaskFakeJets::PTD(), AliAnalysisTaskEmcalQGTagging::PTD(), AliAnalysisTaskRecoilJetYield::PTD(), AliAnalysisTaskEmcalHfeTagging::PTD(), AliAnalysisTaskEmcalJetShapesMC::PTD(), AliAnalysisTaskSubJetFraction::PTD(), AliAnalysisTaskRecursiveSoftDrop::RecursiveParents(), AliAnalysisTaskRecoilJetYield::RecursiveParents(), AliAnalysisTaskEmcalQGTagging::RecursiveParents(), AliAnalysisTaskEmcalJetShapesMC::RecursiveParents(), AliAnalysisTaskEmcalQGTagging::RecursiveParentsMCAverage(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEfficiencyJets::Run(), AliEmcalCorrectionClusterizer::Run(), EmcalTriggerJets::AliAnalysisTaskEmcalJetConstituentQA::Run(), AliAnalysisTaskFlavourJetCorrelations::Run(), AliAnalysisTaskDmesonJets::AnalysisEngine::RunParticleLevelAnalysis(), AliAnalysisTaskDmesonJetsSub::AnalysisEngine::RunParticleLevelAnalysis(), AliAnalysisTaskFakeJets::SecHardTrack(), EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::SelectJet(), AliAnalysisTaskEmcalMissingEnergy::SelectTrigger(), AliAnalysisTaskEmcalQGTagging::SelectTrigger(), AliAnalysisTaskFakeJets::SelectTrigger(), AliAnalysisTaskEmcalHfeTagging::SelectTrigger(), AliAnalysisTaskEmcalJetShapesMC::SelectTrigger(), AliAnalysisTaskRecoilJetYield::SelectTriggerHadron(), AliAnalysisTaskSubJetFraction::SelectTriggerHadron(), AliParticleContainer::SetArray(), AliClusterContainer::SetArray(), AliAnalysisTaskEmcalJetShapeExtra::Sigma2(), AliAnalysisTaskEmcalMissingEnergy::Sigma2(), AliAnalysisTaskEmcalQGTagging::Sigma2(), AliAnalysisTaskEmcalHfeTagging::Sigma2(), AliAnalysisTaskEmcalJetShapesMC::Sigma2(), AliAnalysisTaskRecoilJetYield::SoftDrop(), AliAnalysisTaskEmcalJetShapesMC::SoftDrop(), AliAnalysisTaskEmcalMissingEnergy::Tau1Num(), AliAnalysisTaskEmcalMissingEnergy::Tau1Num_full(), AliAnalysisTaskEmcalMissingEnergy::Tau2Num(), AliAnalysisTaskEmcalMissingEnergy::Tau3Num(), AliAnalysisTaskEmcalMissingEnergy::TauDen(), and EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::TrackInJet().

const TString& AliEmcalContainer::GetArrayName ( ) const
inline

Definition at line 194 of file AliEmcalContainer.h.

Referenced by AliEmcalCorrectionTask::AddContainersToComponent(), AliAnalysisTaskEmcalDijetImbalance::AllocateBackgroundHistograms(), AliAnalysisTaskEmcalJetPerformance::AllocateBackgroundHistograms(), AliAnalysisTaskEmcalVsPhos::AllocateClusterHistograms(), AliAnalysisTaskPWGJEQA::AllocateClusterHistograms(), AliAnalysisTaskEmcalVsPhos::AllocateClustersInJetsHistograms(), AliAnalysisTaskEmcalDijetImbalance::AllocateDijetCandHistograms(), AliAnalysisTaskEmcalDijetImbalance::AllocateDijetImbalanceHistograms(), AliAnalysisTaskPWGJEQA::AllocateJetHistograms(), AliAnalysisTaskEmcalJetPerformance::AllocateJetHistograms(), AliAnalysisTaskEmcalDijetImbalance::AllocateMomentumBalanceHistograms(), AliAnalysisTaskEmcalVsPhos::AllocateNeutralJetHistograms(), AliAnalysisTaskEmcalJetSpectraQA::AllocateTHnSparse(), AliAnalysisTaskEmcalJetSpectraQA::AllocateTHX(), AliAnalysisTaskEmcalJetPerformance::AllocateTriggerSimHistograms(), AliEmcalCorrectionTask::CheckForContainerArray(), AliAnalysisTaskEmcalJetPerformance::ComputeBackground(), AliAnalysisTaskEmcalRun2QA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoTrackLoop(), AliEmcalClusTrackMatcherTask::ExecOnce(), AliAnalysisTaskEmcalJetCorrection::ExecOnce(), AliAnalysisTaskEmcalJet::ExecOnce(), AliAnalysisTaskEmcalVsPhos::FillClusterHistograms(), AliAnalysisTaskPWGJEQA::FillClusterHistograms(), AliAnalysisTaskEmcalVsPhos::FillClustersInJetsHistograms(), AliAnalysisTaskEmcalDijetImbalance::FillDijetCandHistograms(), AliAnalysisTaskEmcalDijetImbalance::FillDijetImbalanceHistograms(), AliAnalysisTaskJetUEStudies::FillHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), AliAnalysisTaskPWGJEQA::FillJetHistograms(), AliAnalysisTaskEmcalJetPerformance::FillJetHistograms(), AliAnalysisTaskEmcalVsPhos::FillNeutralJetHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillTHnSparse(), AliAnalysisTaskEmcalJetSpectraQA::FillTHX(), AliAnalysisTaskEmcalJetPerformance::FillTriggerSimHistograms(), AliAnalysisTaskJetV2::GetJetsName(), AliAnalysisTaskJetV3::GetJetsName(), AliAnalysisTaskEmcal::GetParticleArray(), AliMCParticleContainer::GetTitle(), AliParticleContainer::GetTitle(), AliClusterContainer::GetTitle(), AliTrackContainer::GetTitle(), AliJetContainer::GetTitle(), AliAnalysisTaskJetV2::GetTracksName(), AliAnalysisTaskJetV3::GetTracksName(), AliJetContainer::PrintCuts(), AliAnalysisTaskEmcalDijetImbalance::Run(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::toString(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHCorrelations::toString(), AliAnalysisTaskJetUEStudies::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects(), and AliEmcalCorrectionClusterTrackMatcher::UserCreateOutputObjects().

TClass* AliEmcalContainer::GetClass ( ) const
inline

Definition at line 196 of file AliEmcalContainer.h.

virtual TString AliEmcalContainer::GetDefaultArrayName ( const AliVEvent *const  ev) const
inlineprotectedvirtual

Handling default Array names.

Default names might differ based on the input event type. Therefore it is determined for the first time and event is handled.

Parameters
evInput event used to read the input array
Returns
Default array name

Reimplemented in AliTrackContainer, AliClusterContainer, and AliMCParticleContainer.

Definition at line 365 of file AliEmcalContainer.h.

Referenced by SetArray().

Double_t AliEmcalContainer::GetEtaSwing ( ) const
inline
Bool_t AliEmcalContainer::GetIsEmbedding ( ) const
inline

Get embedding status.

Embedding means that the container consists only of tracks/clusters from the embedded event.

Returns
True if the container handles an embeded event, false otherwise

Definition at line 290 of file AliEmcalContainer.h.

Referenced by AliEmcalCorrectionTask::AddContainersToComponent(), AliEmcalCorrectionTask::CheckForContainerArray(), AliAnalysisTaskJetExtractor::ExecOnce(), AliEmcalJetTask::FillJetConstituents(), AliEmcalJetTask::FindJets(), and AliAnalysisTaskJetExtractor::IsTriggerTrackInEvent().

Bool_t AliEmcalContainer::GetIsParticleLevel ( ) const
inline
Double_t AliEmcalContainer::GetMaxE ( ) const
inline

Definition at line 198 of file AliEmcalContainer.h.

Double_t AliEmcalContainer::GetMinE ( ) const
inline

Definition at line 197 of file AliEmcalContainer.h.

Int_t AliEmcalContainer::GetNAcceptEntries ( ) const

Count accepted entries in the container.

Returns
Number of accepted events in the container

Definition at line 170 of file AliEmcalContainer.cxx.

Referenced by EMCALIterableContainer::AliEmcalIterableContainerT< T, STAR >::BuildAcceptIndices(), and GetNEntries().

const char* AliEmcalContainer::GetName ( ) const
inline

Definition at line 292 of file AliEmcalContainer.h.

Referenced by EmcalTriggerJets::AliAnalysisTaskEmcalJetSubstructureTree::AddEmcalJetSubstructureTreeMaker(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalSoftDropData::AddTaskEmcalSoftDropData(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalSoftDropResponse::AddTaskEmcalSoftDropResponse(), AliAnalysisTaskEmcalLight::AdoptClusterContainer(), AliAnalysisTaskEmcalJetLight::AdoptJetContainer(), AliAnalysisTaskEmcalLight::AdoptParticleContainer(), AliAnalysisTaskJetSubstructure::AllocateClusterHistograms(), AliAnalysisTaskEmcalSample::AllocateClusterHistograms(), AliAnalysisTaskEmcalJetSample::AllocateClusterHistograms(), AliAnalysisTaskJetCoreEmcal::AllocateClusterHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateClusterHistograms(), AliAnalysisTaskEmcalJetHF::AllocateClusterHistograms(), AliAnalysisTaskJetSubstructure::AllocateJetHistograms(), AliAnalysisTaskEmcalJetSample::AllocateJetHistograms(), AliAnalysisTaskJetCoreEmcal::AllocateJetHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateJetHistograms(), AliAnalysisTaskEmcalJetHF::AllocateJetHistograms(), AliAnalysisTaskJetSubstructure::AllocateJetSubstructureHistograms(), AliAnalysisTaskJetSubstructure::AllocateTrackHistograms(), AliAnalysisTaskEmcalSample::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetSample::AllocateTrackHistograms(), AliAnalysisTaskJetCoreEmcal::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetHF::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetTree< T, U >::AllocateTTree(), AliEmcalCorrectionTask::CheckForContainerArray(), AliAnalysisTaskEmcalJetPerformance::ComputeBackground(), AliAnalysisTaskEmcalSubjet::CreateHistoJetConstis(), AliAnalysisTaskEmcalSubjet::CreateHistoJets(), AliAnalysisTaskEmcalSubjet::CreateHistoSubjets(), AliAnalysisTaskJetSubstructure::DoClusterLoop(), AliAnalysisTaskEmcalSample::DoClusterLoop(), AliAnalysisTaskEmcalJetSample::DoClusterLoop(), AliAnalysisTaskJetCoreEmcal::DoClusterLoop(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::DoClusterLoop(), AliAnalysisTaskEmcalJetHF::DoClusterLoop(), AliAnalysisTaskJetCoreEmcal::DoJetCoreLoop(), AliAnalysisTaskJetSubstructure::DoJetLoop(), AliAnalysisTaskEmcalJetSample::DoJetLoop(), AliAnalysisTaskJetCoreEmcal::DoJetLoop(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::DoJetLoop(), AliAnalysisTaskEmcalJetHF::DoJetLoop(), AliAnalysisTaskJetSubstructure::DoJetSubstructureLoop(), AliAnalysisTaskJetSubstructure::DoTrackLoop(), AliAnalysisTaskEmcalSample::DoTrackLoop(), AliAnalysisTaskEmcalJetSample::DoTrackLoop(), AliAnalysisTaskJetCoreEmcal::DoTrackLoop(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::DoTrackLoop(), AliAnalysisTaskEmcalJetHF::DoTrackLoop(), AliAnalysisTaskEmcalJetCDF::FillHistograms(), AliAnalysisTaskEmcalJetPerformance::FillJetHistograms(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::FillQAHists(), AliAnalysisTaskEmcalJetPerformance::FillTriggerSimHistograms(), AliAnalysisTaskEmcalJetTree< T, U >::FillTTree(), AliEmcalJetTask::FindJets(), AliAnalysisTaskEmcalDijetImbalance::GetJetPt(), AliJetContainer::GetZ(), AliJetContainer::LoadLocalRho(), AliJetContainer::LoadRho(), AliJetContainer::LoadRhoMass(), AliAnalysisTaskEmcalSubjet::LoopJetConstis(), AliAnalysisTaskEmcalSubjet::LoopJets(), AliAnalysisTaskEmcalSubjet::LoopSubjets(), AliAnalysisTaskJetExtractor::PrintConfig(), AliEmcalCorrectionTask::PrintRequestedContainersInformation(), AliAnalysisTaskEmcalJetV0Filter::Run(), AliAnalysisTaskEmcalDijetImbalance::Run(), AliAnalysisTaskEmcalJetPerformance::Run(), AliAnalysisTaskEmcalJetHadEPpid::Run(), AliAnalysisTaskJetCoreEmcal::SelectTrigger(), SetArray(), AliEmcalCorrectionTask::SetupContainer(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::SetupQAHists(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::toString(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHCorrelations::toString(), AliAnalysisTaskEmcalJetV0Filter::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetCDF::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::UserCreateOutputObjects(), and AliAnalysisTaskEmcalJetPerformance::UserCreateOutputObjects().

virtual Bool_t AliEmcalContainer::GetNextAcceptMomentum ( TLorentzVector &  mom)
pure virtual
virtual Bool_t AliEmcalContainer::GetNextMomentum ( TLorentzVector &  mom)
pure virtual
Double_t AliEmcalContainer::GetPhiSwing ( ) const
inline

Definition at line 206 of file AliEmcalContainer.h.

Referenced by GetAcceptance().

void AliEmcalContainer::GetVertexFromEvent ( const AliVEvent *  event)
protected

Retrieve the vertex from the given event.

It sets fVertex to the vertex of the current event.

Parameters
[in]eventInput event containing the vertex.

Definition at line 116 of file AliEmcalContainer.cxx.

Referenced by GetDefaultArrayName(), NextEvent(), and SetArray().

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

Preparation for the next event.

Parameters
[in]eventThe event to be processed.

Reimplemented in AliTrackContainer, and AliTrackContainerV0.

Definition at line 160 of file AliEmcalContainer.cxx.

Referenced by GetLoadedClass(), AliTrackContainer::NextEvent(), AliAnalysisTaskEmcalJet::RetrieveEventObjects(), AliEmcalCorrectionTask::RetrieveEventObjects(), and AliAnalysisTaskEmcal::RetrieveEventObjects().

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 100 of file AliEmcalContainer.cxx.

Referenced by ~AliEmcalContainer().

Double_t AliEmcalContainer::RelativePhi ( Double_t  ang1,
Double_t  ang2 
)
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 262 of file AliEmcalContainer.cxx.

Referenced by AliJetContainer::CheckTpcHolesOverlap(), AliAnalysisTaskRhoTransDev::GetPerpPtDensity(), AliAnalysisTaskJetUE::IsB2BEvent(), SetName(), and AliAnalysisTaskJetUEStudies::SumParticles().

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

Reset the iterator to a given index.

Resetting the internal iterator to a new starting position. This can be within the range of indices of the EMCAL container. To start from the beginning one needs to select -1 as iterator index.

Parameters
[in]Indexto be stated from (must be 1 lower than the desired starting point)

Definition at line 241 of file AliEmcalContainer.h.

Referenced by AliAnalysisTaskChargedJetsHadronCF::AddEventToTree(), AliAnalysisTaskSEDmesonsFilterCJ::AddEventTracks(), AliAnalysisTaskSEDmesonsFilterCJ::AddMCEventTracks(), AliAnalysisTaskFlavourJetCorrelations::AngularCorrelationMethod(), AliAnalysisTaskEmcalJetSparseMaker::CalcAysPlane(), AliAnalysisTaskEmcalTmpSparseMaker::CalcAysPlane(), AliAnalysisTaskJetV3::CalculateEventPlaneResolution(), AliAnalysisTaskJetV3::CalculateEventPlaneTPC(), AliAnalysisTaskJetV2::CalculateRandomCone(), AliAnalysisTaskJetV3::CalculateRandomCone(), AliAnalysisTaskJetJTJT::CheckClusTrackMatching(), AliAnalysisTaskJetV3::CorrectRho(), AliEmcalPicoTrackInGridMaker::CreateGridCells(), AliJetConstituentTagCopier::DoClusterLoop(), AliAnalysisTaskPi0Hadron::DoClusterLoop(), AliJetResponseMaker::DoJetLoop(), AliJetResponseMaker::DoJetMatching(), AliJetConstituentTagCopier::DoParticleLoop(), AliAnalysisTaskPi0Hadron::DoTrackLoop(), AliAnalysisTaskHJetSpectra::EstimateBgCone(), AliAnalysisTaskHJetSpectra::EstimateBgKT(), AliAnalysisTaskHJetSpectra::EstimateBgKTcms(), AliAnalysisTaskScale::FillHistograms(), AliAnalysisTaskDcalDijetPerf::FillHistograms(), AliAnalysisTaskDeltaPtJEmb::FillHistograms(), AliAnalysisTaskJetShapeDeriv::FillHistograms(), AliAnalysisTaskJetShapeConst::FillHistograms(), AliAnalysisTaskJetMassResponseDet::FillHistograms(), AliAnalysisTaskPrepareInputForEmbedding::FillHistograms(), AliAnalysisTaskEmcalJetMass::FillHistograms(), AliAnalysisTaskEmcalJetMassResponse::FillHistograms(), AliAnalysisTaskJetJTJT::FillHistograms(), AliAnalysisTaskSoftDrop::FillHistograms(), AliAnalysisTaskJetShapeGR::FillHistograms(), AliAnalysisTaskEmcalJetTriggerQA::FillHistograms(), AliAnalysisTaskEmcalJetShapeExtra::FillHistograms(), AliAnalysisTaskEmcalJetMassStructure::FillHistograms(), AliAnalysisTaskDijetHadron::FillHistograms(), AliAnalysisTaskSoftDropResponse::FillHistograms(), AliAnalysisTaskJetsEvshape::FillHistograms(), AliAnalysisTaskEmcalMissingEnergy::FillHistograms(), AliAnalysisTaskFakeJets::FillHistograms(), AliAnalysisTaskEmcalTriggerPatchClusterMatch::FillHistograms(), AliAnalysisTaskRecursiveSoftDrop::FillHistograms(), AliAnalysisTaskEmcalQGTagging::FillHistograms(), AliAnalysisTaskEmcalTriggerPatchJetMatch::FillHistograms(), AliAnalysisTaskEmcalHfeTagging::FillHistograms(), AliAnalysisTaskRecoilJetYield::FillHistograms(), AliAnalysisTaskJetPP::FillHistograms(), AliJetResponseMaker::FillHistograms(), AliAnalysisTaskEmcalJetShapesMC::FillHistograms(), AliAnalysisTaskSubJetFraction::FillHistograms(), AliAnalysisTaskHJetSpectra::FillHistograms(), AliAnalysisTaskV0sInJetsEmcal::FillHistograms(), PWGJE::EMCALJetTasks::AliEmcalJetTaggerTaskFast::FillHistograms(), AliAnalysisTaskEmcalJetTagger::FillHistograms(), AliAnalysisTaskJetExtractor::FillJetControlHistograms(), AliAnalysisTaskEmcalJetSparseMaker::FillSparse(), AliAnalysisTaskEmcalTmpSparseMaker::FillSparseClus(), AliAnalysisTaskEmcalTmpSparseMaker::FillSparseJets(), AliAnalysisTaskEmcalTmpSparseMaker::FillSparseTrks(), AliAnalysisTaskJetShapeGR::FillTrueJets(), AliAnalysisTaskJetV3::FillWeightedTrackHistograms(), AliAnalysisTaskFlavourJetCorrelations::FindMCJet(), EmcalHJetMassAnalysis::AliAnalysisTaskEmcalHJetMass::FindNearSideJet(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FoundClusterInJet(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FoundTrackInJet(), AliEmcalClusTrackMatcherTask::GenerateEmcalParticles(), AliEmcalPicoTrackInGridMaker::GetClosestJet(), AliAnalysisTaskEmcalJetMassBkg::GetCone(), AliAnalysisTaskHJetSpectra::GetConePt(), AliAnalysisTaskFlavourJetCorrelations::GetHFJet(), AliAnalysisTaskChargedJetsHadronCF::GetInitialCollisionJets(), AliJetContainer::GetLeadingJet(), AliAnalysisTaskChargedJetsHadronCF::GetLeadingJets(), AliParticleContainer::GetLeadingParticle(), AliAnalysisTaskChargedJetsHadronCF::GetMatchingJets(), AliAnalysisTaskDeltaPt::GetRandomCone(), AliAnalysisTaskParticleInJet::GetSelectedParticles(), EmcalHJetMassAnalysis::AliAnalysisTaskEmcalHJetMass::GetSingleInclusiveTT(), AliAnalysisTaskJetExtractor::IsTriggerTrackInEvent(), AliAnalysisTaskEmcalJetV0CF::IsV0InJet(), AliAnalysisTaskDeltaPt::NextEmbeddedJet(), AliAnalysisTaskDijetHadron::NextEmbeddedJet(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::Process(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::Process(), AliEmcalTrackPropagatorTask::Run(), AliAnalysisTaskRhoFlow::Run(), AliAnalysisTaskRhoAverage::Run(), AliEmcalClusterMaker::Run(), AliEmcalPicoTrackInGridMaker::Run(), AliHadCorrTask::Run(), AliAnalysisTaskEmcalJetCorrection::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensity::Run(), AliAnalysisTaskEmcalJetv2QA::Run(), EmcalHJetMassAnalysis::AliAnalysisTaskEmcalHJetMass::Run(), AliAnalysisTaskFlavourJetCorrelations::Run(), AliAnalysisTaskJetExtractor::Run(), AliAnalysisTaskEmcalJetFlavourTagExample::Run(), AliAnalysisTaskEmcalJetTriggerMatcher::Run(), AliAnalysisTaskChargedJetsHadronCF::Run(), and AliAnalysisTaskEmcalJetHadEPpid::Run().

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 204 of file AliEmcalContainer.cxx.

Referenced by AliJetContainer::GetFractionSharedPt(), and SetName().

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, AliTrackContainer, AliClusterContainer, AliParticleContainer, and AliTrackContainerV0.

Definition at line 122 of file AliEmcalContainer.cxx.

Referenced by ResetCurrentID(), AliParticleContainer::SetArray(), AliClusterContainer::SetArray(), and AliJetContainer::SetArray().

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

Definition at line 249 of file AliEmcalContainer.h.

void AliEmcalContainer::SetBitMap ( UInt_t  m)
inline

Definition at line 251 of file AliEmcalContainer.h.

Referenced by AliAnalysisTaskEmcalJet::SetJetBitMap().

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

Definition at line 265 of file AliEmcalContainer.h.

void AliEmcalContainer::SetIsEmbedding ( Bool_t  b)
inline

Set embedding status.

Embedding means that the container consists only of tracks from the embedded event.

Parameters
[in]bIf true the container handles the embedded event

Definition at line 282 of file AliEmcalContainer.h.

Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHCorrelations::ConfigureForEmbeddingAnalysis(), and AliEmcalCorrectionTask::SetupContainer().

void AliEmcalContainer::SetMassHypothesis ( Double_t  m)
inline

Definition at line 273 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMaxE ( Double_t  max)
inline

Definition at line 267 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMaxMCLabel ( Int_t  s)
inline

Definition at line 263 of file AliEmcalContainer.h.

Referenced by SetMCLabelRange().

void AliEmcalContainer::SetMaxPt ( Double_t  max)
inline

Definition at line 270 of file AliEmcalContainer.h.

Referenced by AliJetContainer::SetJetPtCutMax().

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

Definition at line 264 of file AliEmcalContainer.h.

void AliEmcalContainer::SetMinMCLabel ( Int_t  s)
inline

Definition at line 262 of file AliEmcalContainer.h.

Referenced by SetMCLabelRange().

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

Definition at line 250 of file AliEmcalContainer.h.

void AliEmcalContainer::SortArray ( )
inline

Member Data Documentation

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

name of branch

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

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

Bool_t AliEmcalContainer::fIsEmbedding
protected

if true, this container will connect to an external event

Definition at line 391 of file AliEmcalContainer.h.

Referenced by GetIsEmbedding(), NextEvent(), SetArray(), and SetIsEmbedding().

Bool_t AliEmcalContainer::fIsParticleLevel
protected

whether or not it is a particle level object collection

Definition at line 378 of file AliEmcalContainer.h.

Referenced by GetIsParticleLevel(), and SetIsParticleLevel().

AliNamedArrayI* AliEmcalContainer::fLabelMap
protected

! Label-Index map

Definition at line 394 of file AliEmcalContainer.h.

Referenced by GetIndexFromLabel(), and SetArray().

Double_t AliEmcalContainer::fMaxE
protected

Min. cut on particle energy.

Definition at line 382 of file AliEmcalContainer.h.

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

Double_t AliEmcalContainer::fMaxEta
protected

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

Definition at line 385 of file AliEmcalContainer.h.

Referenced by ApplyKinematicCuts(), GetEtaSwing(), 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 387 of file AliEmcalContainer.h.

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

Double_t AliEmcalContainer::fMaxPt
protected

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

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

Referenced by ApplyKinematicCuts(), GetEtaSwing(), 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 386 of file AliEmcalContainer.h.

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

Double_t AliEmcalContainer::fMinPt
protected

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

Definition at line 380 of file AliEmcalContainer.h.

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

TString AliEmcalContainer::fName
protected

object name

Definition at line 375 of file AliEmcalContainer.h.

Referenced by GetName(), and SetName().


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