AliPhysics  e34b7ac (e34b7ac)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCorrectionClusterTrackMatcher Class Reference

#include <AliEmcalCorrectionClusterTrackMatcher.h>

Inheritance diagram for AliEmcalCorrectionClusterTrackMatcher:

Public Member Functions

 AliEmcalCorrectionClusterTrackMatcher ()
 
virtual ~AliEmcalCorrectionClusterTrackMatcher ()
 
Bool_t Initialize ()
 
Bool_t Run ()
 
- Public Member Functions inherited from AliEmcalCorrectionComponent
 AliEmcalCorrectionComponent ()
 
 AliEmcalCorrectionComponent (const char *name)
 
virtual ~AliEmcalCorrectionComponent ()
 
virtual void ExecOnce ()
 
virtual Bool_t UserNotify ()
 
void GetEtaPhiDiff (const AliVTrack *t, const AliVCluster *v, Double_t &phidiff, Double_t &etadiff)
 
void UpdateCells ()
 
Bool_t RunChanged ()
 
void GetPass ()
 
void FillCellQA (TH1F *h)
 
AliClusterContainerGetClusterContainer ()
 
AliParticleContainerGetParticleContainer ()
 
AliVCaloCells * GetCaloCells ()
 
TListGetOutputList ()
 
void SetClusterContainer (AliClusterContainer *cont)
 
void SetParticleContainer (AliParticleContainer *cont)
 
void SetCaloCells (AliVCaloCells *cells)
 
void SetRecoUtils (AliEMCALRecoUtils *ru)
 
void SetEvent (AliVEvent *event)
 
void SetMCEvent (AliMCEvent *mcevent)
 
void SetEMCALGeometry (AliEMCALGeometry *geometry)
 
void SetCentralityBin (Int_t bin)
 
void SetCentrality (Double_t cent)
 
void SetNcentralityBins (Int_t n)
 
void SetUserConfiguration (YAML::Node &node)
 Make copy to ensure that the nodes do not point to each other (?) More...
 
void SetDefaultConfiguration (YAML::Node &node)
 
template<typename T >
void GetProperty (std::string propertyName, T &property, bool requiredProperty=true, std::string correctionName="")
 Retrieve property. More...
 

Protected Member Functions

Int_t GetMomBin (Double_t p) const
 
void GenerateEmcalParticles ()
 
void DoMatching ()
 
void UpdateTracks ()
 
void UpdateClusters ()
 
Bool_t IsTrackInEmcalAcceptance (AliVParticle *part, Double_t edges=0.9) const
 
- Protected Member Functions inherited from AliEmcalCorrectionComponent
void AddContainer (inputObjectType type)
 

Protected Attributes

Double_t fPropDist
 
Bool_t fDoPropagation
 
Bool_t fAttemptProp
 
Bool_t fAttemptPropMatch
 
Double_t fMaxDistance
 
Bool_t fUpdateTracks
 
Bool_t fUpdateClusters
 
TClonesArray * fEmcalTracks
 
TClonesArray * fEmcalClusters
 emcal tracks More...
 
Int_t fNEmcalTracks
 emcal clusters More...
 
Int_t fNEmcalClusters
 number of emcal tracks More...
 
TH1fHistMatchEtaAll
 number of emcal clusters More...
 
TH1fHistMatchPhiAll
 deta distribution More...
 
TH1fHistMatchEta [8][9][2]
 dphi distribution More...
 
TH1fHistMatchPhi [8][9][2]
 deta distribution More...
 
- Protected Attributes inherited from AliEmcalCorrectionComponent
YAML::Node fUserConfiguration
 
YAML::Node fDefaultConfiguration
 
Bool_t fCreateHisto
 
Int_t fRun
 
TString fFilepass
 run number More...
 
Bool_t fGetPassFromFileName
 
AliVEvent * fEvent
 
Bool_t fEsdMode
 
AliMCEvent * fMCEvent
 
Double_t fCent
 !event centrality More...
 
Int_t fNcentBins
 how many centrality bins (this member copied from AliAnalysisTaskEmcal) More...
 
Int_t fCentBin
 !event centrality bin More...
 
Int_t fNbins
 no. of pt bins More...
 
Double_t fMinBinPt
 min pt in histograms More...
 
Double_t fMaxBinPt
 max pt in histograms More...
 
Double_t fVertex [3]
 !event vertex More...
 
AliEMCALGeometry * fGeom
 !geometry object More...
 
Bool_t fIsEmbedded
 trigger, embedded signal More...
 
Int_t fMinMCLabel
 minimum MC label value for the tracks/clusters being considered MC particles More...
 
AliClusterContainerfClusCont
 ! pointer to the cluster container More...
 
AliParticleContainerfPartCont
 ! pointer to the track/particle container More...
 
AliVCaloCells * fCaloCells
 ! pointer to calo cells More...
 
AliEMCALRecoUtils * fRecoUtils
 ! pointer to reco utils More...
 
TListfOutput
 ! list of output histograms More...
 
TString fBasePath
 

Private Member Functions

 AliEmcalCorrectionClusterTrackMatcher (const AliEmcalCorrectionClusterTrackMatcher &)
 dphi distribution More...
 
AliEmcalCorrectionClusterTrackMatcheroperator= (const AliEmcalCorrectionClusterTrackMatcher &)
 

Static Private Attributes

static
RegisterCorrectionComponent
< AliEmcalCorrectionClusterTrackMatcher
reg
 

Additional Inherited Members

- Public Types inherited from AliEmcalCorrectionComponent
enum  inputObjectType { kCaloCells = 0, kCluster = 1, kTrack = 2 }
 
- Static Public Member Functions inherited from AliEmcalCorrectionComponent
template<typename T >
static void GetProperty (std::string propertyName, T &property, const YAML::Node &userConfiguration, const YAML::Node &defaultConfiguration, bool requiredProperty=true, std::string correctionName="")
 Retrieve property driver function. It is static so that it can be used by other classes. More...
 
static bool IsSharedValue (std::string &value)
 
static std::string DetermineUseDefaultName (inputObjectType contType, Bool_t esdMode)
 
- Static Protected Member Functions inherited from AliEmcalCorrectionComponent
template<typename T >
static bool GetPropertyFromNodes (const YAML::Node &node, const YAML::Node &sharedParametersNode, std::string propertyName, T &property, const std::string correctionName, const std::string configurationType, int nodesDeep=0)
 
template<typename T >
static bool GetPropertyFromNode (const YAML::Node &node, std::string propertyName, T &property)
 

Detailed Description

Definition at line 6 of file AliEmcalCorrectionClusterTrackMatcher.h.

Constructor & Destructor Documentation

AliEmcalCorrectionClusterTrackMatcher::AliEmcalCorrectionClusterTrackMatcher ( )

Definition at line 15 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

AliEmcalCorrectionClusterTrackMatcher::~AliEmcalCorrectionClusterTrackMatcher ( )
virtual

Definition at line 46 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

AliEmcalCorrectionClusterTrackMatcher::AliEmcalCorrectionClusterTrackMatcher ( const AliEmcalCorrectionClusterTrackMatcher )
private

dphi distribution

Member Function Documentation

void AliEmcalCorrectionClusterTrackMatcher::DoMatching ( )
protected

Definition at line 239 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

Referenced by Run().

void AliEmcalCorrectionClusterTrackMatcher::GenerateEmcalParticles ( )
protected

Definition at line 158 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

Referenced by Run().

Int_t AliEmcalCorrectionClusterTrackMatcher::GetMomBin ( Double_t  p) const
protected

Definition at line 130 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

Referenced by DoMatching().

Bool_t AliEmcalCorrectionClusterTrackMatcher::Initialize ( )
virtual

Initialize basic variables in the correction component, including the input file type, pass, and output list.

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 52 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

Bool_t AliEmcalCorrectionClusterTrackMatcher::IsTrackInEmcalAcceptance ( AliVParticle *  part,
Double_t  edges = 0.9 
) const
protected

Determines if a track is inside the EMCal acceptance, using \(\eta\)/ \(\phi\) at the vertex (no propagation). Includes +/- edges. Useful to determine whether track propagation should be attempted.

Parameters
[in]partParticle to check
[in]edgesSize of the edges in \(\phi\) excluded from the EMCAL acceptance
Returns
True if a particle is inside the EMCAL acceptance, false otherwise

Definition at line 371 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

Referenced by GenerateEmcalParticles().

AliEmcalCorrectionClusterTrackMatcher& AliEmcalCorrectionClusterTrackMatcher::operator= ( const AliEmcalCorrectionClusterTrackMatcher )
private
Bool_t AliEmcalCorrectionClusterTrackMatcher::Run ( )
virtual

Run every event, where the user implements their main analysis. Similar to Run() in AliAnalysisTaskEmcal

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 114 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

void AliEmcalCorrectionClusterTrackMatcher::UpdateClusters ( )
protected

Definition at line 286 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

Referenced by Run().

void AliEmcalCorrectionClusterTrackMatcher::UpdateTracks ( )
protected

Definition at line 347 of file AliEmcalCorrectionClusterTrackMatcher.cxx.

Referenced by Run().

Member Data Documentation

Bool_t AliEmcalCorrectionClusterTrackMatcher::fAttemptProp
protected

Definition at line 25 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by GenerateEmcalParticles().

Bool_t AliEmcalCorrectionClusterTrackMatcher::fAttemptPropMatch
protected

Definition at line 26 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by GenerateEmcalParticles().

Bool_t AliEmcalCorrectionClusterTrackMatcher::fDoPropagation
protected

Definition at line 24 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by GenerateEmcalParticles(), and Initialize().

TClonesArray* AliEmcalCorrectionClusterTrackMatcher::fEmcalClusters
protected
TClonesArray* AliEmcalCorrectionClusterTrackMatcher::fEmcalTracks
protected
TH1* AliEmcalCorrectionClusterTrackMatcher::fHistMatchEta[8][9][2]
protected

dphi distribution

Definition at line 37 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by AliEmcalCorrectionClusterTrackMatcher(), DoMatching(), and Initialize().

TH1* AliEmcalCorrectionClusterTrackMatcher::fHistMatchEtaAll
protected

number of emcal clusters

Definition at line 35 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by DoMatching(), and Initialize().

TH1* AliEmcalCorrectionClusterTrackMatcher::fHistMatchPhi[8][9][2]
protected

deta distribution

Definition at line 38 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by AliEmcalCorrectionClusterTrackMatcher(), DoMatching(), and Initialize().

TH1* AliEmcalCorrectionClusterTrackMatcher::fHistMatchPhiAll
protected

deta distribution

Definition at line 36 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by DoMatching(), and Initialize().

Double_t AliEmcalCorrectionClusterTrackMatcher::fMaxDistance
protected

Definition at line 27 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by DoMatching(), and Initialize().

Int_t AliEmcalCorrectionClusterTrackMatcher::fNEmcalClusters
protected

number of emcal tracks

Definition at line 34 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by DoMatching(), GenerateEmcalParticles(), and UpdateClusters().

Int_t AliEmcalCorrectionClusterTrackMatcher::fNEmcalTracks
protected

emcal clusters

Definition at line 33 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by DoMatching(), GenerateEmcalParticles(), and UpdateTracks().

Double_t AliEmcalCorrectionClusterTrackMatcher::fPropDist
protected

Definition at line 23 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by GenerateEmcalParticles().

Bool_t AliEmcalCorrectionClusterTrackMatcher::fUpdateClusters
protected

Definition at line 29 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by Initialize(), and Run().

Bool_t AliEmcalCorrectionClusterTrackMatcher::fUpdateTracks
protected

Definition at line 28 of file AliEmcalCorrectionClusterTrackMatcher.h.

Referenced by Initialize(), and Run().

RegisterCorrectionComponent< AliEmcalCorrectionClusterTrackMatcher > AliEmcalCorrectionClusterTrackMatcher::reg
staticprivate

Definition at line 45 of file AliEmcalCorrectionClusterTrackMatcher.h.


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