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

#include <AliEmcalCorrectionClusterHadronicCorrection.h>

Inheritance diagram for AliEmcalCorrectionClusterHadronicCorrection:

Public Member Functions

 AliEmcalCorrectionClusterHadronicCorrection ()
 
virtual ~AliEmcalCorrectionClusterHadronicCorrection ()
 
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

Double_t ApplyHadCorrOneTrack (Int_t icluster, Double_t hadCorr)
 
Double_t ApplyHadCorrAllTracks (Int_t icluster, Double_t hadCorr)
 
void DoMatchedTracksLoop (Int_t icluster, Double_t &totalTrkP, Int_t &Nmatches, Double_t &trkPMCfrac, Int_t &NMCmatches)
 
void DoTrackLoop ()
 
Double_t GetEtaSigma (Int_t pbin) const
 
UInt_t GetMomBin (Double_t pt) const
 
Double_t GetPhiMean (Int_t pbin, Int_t centbin) const
 
Double_t GetPhiSigma (Int_t pbin, Int_t centbin) const
 
- Protected Member Functions inherited from AliEmcalCorrectionComponent
void AddContainer (inputObjectType type)
 

Protected Attributes

Double_t fPhiMatch
 
Double_t fEtaMatch
 
Bool_t fDoTrackClus
 
Double_t fHadCorr
 
Double_t fEexclCell
 
Bool_t fDoExact
 
TH2fHistMatchEtaPhi [8][9][2]
 
TH2fHistMatchEtaPhiAll
 deta vs. dphi of matched cluster-track pairs More...
 
TH2fHistMatchEtaPhiAllTr
 deta vs. dphi of matched cluster-track pairs More...
 
TH2fHistMatchEtaPhiAllCl
 deta vs. dphi of all cluster-track pairs (tr loop) More...
 
TH2fHistMatchEvsP [4]
 deta vs. dphi of all cluster-track pairs (cl loop) More...
 
TH2fHistNMatchEnergy [4]
 cluster energy vs. track momentum of matched pairs More...
 
TH2fHistNCellsEnergy [4][4]
 n matches vs. cluster energy More...
 
TH2fHistMatchdRvsEP [4]
 n cells vs. cluster energy More...
 
TH1fHistNclusvsCent
 matching distance vs. E/P More...
 
TH1fHistNclusMatchvsCent
 n clusters vs. centrality More...
 
TH1fHistEbefore
 n clusters matched to some track vs. centrality More...
 
TH1fHistEafter
 average energy of clusters before correction vs. centrality More...
 
TH2fHistEoPCent
 average energy of clusters after correction vs. centrality More...
 
TH2fHistNMatchCent
 E/P vs. centrality. More...
 
TH2fHistNClusMatchCent
 n matches vs. centraity More...
 
TH1fHistEsubPch [8]
 n clusters macthed to some track (tracks allowed to match more than one cluster) More...
 
TH2fHistEsubPchRat [8]
 Esub vs. total momentum of matched tracks (only 1 match) More...
 
TH2fHistEsubPchRatAll [8]
 Esub/momentum of matched tracks vs. total momentum of matched tracks (only 1 match) More...
 
TH2fHistEmbTrackMatchesOversub [4]
 Esub/momentum of matched tracks vs. total momentum of matched tracks (all number of matches) More...
 
TH2fHistNonEmbTrackMatchesOversub [4]
 Over-subtracted energy / cluster energy with embedded track matches (non-embedded matches < 5%) More...
 
TH2fHistOversubMCClusters [4]
 Over-subtracted energy / cluster energy with non-embedded track matches (embedded matches < 5%) More...
 
TH2fHistOversubNonMCClusters [4]
 Over-subtracted energy / cluster energy (cluster MC energy fraction > 95%) More...
 
TH2fHistOversub [4]
 Over-subtracted energy / cluster energy (cluster MC energy fraction < 5%) 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

 AliEmcalCorrectionClusterHadronicCorrection (const AliEmcalCorrectionClusterHadronicCorrection &)
 Over-subtracted energy / cluster energy. More...
 
AliEmcalCorrectionClusterHadronicCorrectionoperator= (const AliEmcalCorrectionClusterHadronicCorrection &)
 

Static Private Attributes

static
RegisterCorrectionComponent
< AliEmcalCorrectionClusterHadronicCorrection
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 AliEmcalCorrectionClusterHadronicCorrection.h.

Constructor & Destructor Documentation

AliEmcalCorrectionClusterHadronicCorrection::AliEmcalCorrectionClusterHadronicCorrection ( )
AliEmcalCorrectionClusterHadronicCorrection::~AliEmcalCorrectionClusterHadronicCorrection ( )
virtual
AliEmcalCorrectionClusterHadronicCorrection::AliEmcalCorrectionClusterHadronicCorrection ( const AliEmcalCorrectionClusterHadronicCorrection )
private

Over-subtracted energy / cluster energy.

Member Function Documentation

Double_t AliEmcalCorrectionClusterHadronicCorrection::ApplyHadCorrAllTracks ( Int_t  icluster,
Double_t  hadCorr 
)
protected

Definition at line 691 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.

Referenced by Run().

Double_t AliEmcalCorrectionClusterHadronicCorrection::ApplyHadCorrOneTrack ( Int_t  icluster,
Double_t  hadCorr 
)
protected

Definition at line 604 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.

Referenced by Run().

void AliEmcalCorrectionClusterHadronicCorrection::DoMatchedTracksLoop ( Int_t  icluster,
Double_t totalTrkP,
Int_t Nmatches,
Double_t trkPMCfrac,
Int_t NMCmatches 
)
protected
void AliEmcalCorrectionClusterHadronicCorrection::DoTrackLoop ( )
protected
Double_t AliEmcalCorrectionClusterHadronicCorrection::GetEtaSigma ( Int_t  pbin) const
protected
UInt_t AliEmcalCorrectionClusterHadronicCorrection::GetMomBin ( Double_t  pt) const
protected
Double_t AliEmcalCorrectionClusterHadronicCorrection::GetPhiMean ( Int_t  pbin,
Int_t  centbin 
) const
protected
Double_t AliEmcalCorrectionClusterHadronicCorrection::GetPhiSigma ( Int_t  pbin,
Int_t  centbin 
) const
protected
Bool_t AliEmcalCorrectionClusterHadronicCorrection::Initialize ( )
virtual

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

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 71 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.

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

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

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 234 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.

Member Data Documentation

Bool_t AliEmcalCorrectionClusterHadronicCorrection::fDoExact
protected

Definition at line 31 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by ApplyHadCorrAllTracks().

Bool_t AliEmcalCorrectionClusterHadronicCorrection::fDoTrackClus
protected
Double_t AliEmcalCorrectionClusterHadronicCorrection::fEexclCell
protected
Double_t AliEmcalCorrectionClusterHadronicCorrection::fEtaMatch
protected
Double_t AliEmcalCorrectionClusterHadronicCorrection::fHadCorr
protected
TH1* AliEmcalCorrectionClusterHadronicCorrection::fHistEafter
protected

average energy of clusters before correction vs. centrality

Definition at line 45 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by Initialize(), and Run().

TH1* AliEmcalCorrectionClusterHadronicCorrection::fHistEbefore
protected

n clusters matched to some track vs. centrality

Definition at line 44 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by Initialize(), and Run().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistEmbTrackMatchesOversub[4]
protected

Esub/momentum of matched tracks vs. total momentum of matched tracks (all number of matches)

Definition at line 52 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistEoPCent
protected

average energy of clusters after correction vs. centrality

Definition at line 46 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by ApplyHadCorrAllTracks(), ApplyHadCorrOneTrack(), and Initialize().

TH1* AliEmcalCorrectionClusterHadronicCorrection::fHistEsubPch[8]
protected

n clusters macthed to some track (tracks allowed to match more than one cluster)

Definition at line 49 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistEsubPchRat[8]
protected

Esub vs. total momentum of matched tracks (only 1 match)

Definition at line 50 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistEsubPchRatAll[8]
protected

Esub/momentum of matched tracks vs. total momentum of matched tracks (only 1 match)

Definition at line 51 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistMatchdRvsEP[4]
protected
TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistMatchEtaPhi[8][9][2]
protected
TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistMatchEtaPhiAll
protected

deta vs. dphi of matched cluster-track pairs

Definition at line 35 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by ApplyHadCorrOneTrack(), DoMatchedTracksLoop(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistMatchEtaPhiAllCl
protected

deta vs. dphi of all cluster-track pairs (tr loop)

Definition at line 37 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by ApplyHadCorrOneTrack(), DoMatchedTracksLoop(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistMatchEtaPhiAllTr
protected

deta vs. dphi of matched cluster-track pairs

Definition at line 36 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistMatchEvsP[4]
protected

deta vs. dphi of all cluster-track pairs (cl loop)

Definition at line 38 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), ApplyHadCorrOneTrack(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistNCellsEnergy[4][4]
protected
TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistNClusMatchCent
protected

n matches vs. centraity

Definition at line 48 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by Initialize().

TH1* AliEmcalCorrectionClusterHadronicCorrection::fHistNclusMatchvsCent
protected

n clusters vs. centrality

Definition at line 43 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by ApplyHadCorrAllTracks(), and Initialize().

TH1* AliEmcalCorrectionClusterHadronicCorrection::fHistNclusvsCent
protected

matching distance vs. E/P

Definition at line 42 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by Initialize(), and Run().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistNMatchCent
protected

E/P vs. centrality.

Definition at line 47 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by ApplyHadCorrAllTracks(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistNMatchEnergy[4]
protected

cluster energy vs. track momentum of matched pairs

Definition at line 39 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistNonEmbTrackMatchesOversub[4]
protected

Over-subtracted energy / cluster energy with embedded track matches (non-embedded matches < 5%)

Definition at line 53 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistOversub[4]
protected

Over-subtracted energy / cluster energy (cluster MC energy fraction < 5%)

Definition at line 56 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistOversubMCClusters[4]
protected

Over-subtracted energy / cluster energy with non-embedded track matches (embedded matches < 5%)

Definition at line 54 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().

TH2* AliEmcalCorrectionClusterHadronicCorrection::fHistOversubNonMCClusters[4]
protected

Over-subtracted energy / cluster energy (cluster MC energy fraction > 95%)

Definition at line 55 of file AliEmcalCorrectionClusterHadronicCorrection.h.

Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().

Double_t AliEmcalCorrectionClusterHadronicCorrection::fPhiMatch
protected
RegisterCorrectionComponent< AliEmcalCorrectionClusterHadronicCorrection > AliEmcalCorrectionClusterHadronicCorrection::reg
staticprivate

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