![]() |
AliPhysics
97a96ce (97a96ce)
|
#include <AliEmcalCorrectionClusterHadronicCorrection.h>
Public Member Functions | |
AliEmcalCorrectionClusterHadronicCorrection () | |
virtual | ~AliEmcalCorrectionClusterHadronicCorrection () |
Bool_t | Initialize () |
Bool_t | Run () |
![]() | |
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) |
AliClusterContainer * | GetClusterContainer () |
AliParticleContainer * | GetParticleContainer () |
AliVCaloCells * | GetCaloCells () |
TList * | GetOutputList () |
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 |
![]() | |
void | AddContainer (inputObjectType type) |
Protected Attributes | |
Double_t | fPhiMatch |
Double_t | fEtaMatch |
Bool_t | fDoTrackClus |
Double_t | fHadCorr |
Double_t | fEexclCell |
Bool_t | fDoExact |
TH2 * | fHistMatchEtaPhi [8][9][2] |
TH2 * | fHistMatchEtaPhiAll |
deta vs. dphi of matched cluster-track pairs More... | |
TH2 * | fHistMatchEtaPhiAllTr |
deta vs. dphi of matched cluster-track pairs More... | |
TH2 * | fHistMatchEtaPhiAllCl |
deta vs. dphi of all cluster-track pairs (tr loop) More... | |
TH2 * | fHistMatchEvsP [4] |
deta vs. dphi of all cluster-track pairs (cl loop) More... | |
TH2 * | fHistNMatchEnergy [4] |
cluster energy vs. track momentum of matched pairs More... | |
TH2 * | fHistNCellsEnergy [4][4] |
n matches vs. cluster energy More... | |
TH2 * | fHistMatchdRvsEP [4] |
n cells vs. cluster energy More... | |
TH1 * | fHistNclusvsCent |
matching distance vs. E/P More... | |
TH1 * | fHistNclusMatchvsCent |
n clusters vs. centrality More... | |
TH1 * | fHistEbefore |
n clusters matched to some track vs. centrality More... | |
TH1 * | fHistEafter |
average energy of clusters before correction vs. centrality More... | |
TH2 * | fHistEoPCent |
average energy of clusters after correction vs. centrality More... | |
TH2 * | fHistNMatchCent |
E/P vs. centrality. More... | |
TH2 * | fHistNClusMatchCent |
n matches vs. centraity More... | |
TH1 * | fHistEsubPch [8] |
n clusters macthed to some track (tracks allowed to match more than one cluster) More... | |
TH2 * | fHistEsubPchRat [8] |
Esub vs. total momentum of matched tracks (only 1 match) More... | |
TH2 * | fHistEsubPchRatAll [8] |
Esub/momentum of matched tracks vs. total momentum of matched tracks (only 1 match) More... | |
TH2 * | fHistEmbTrackMatchesOversub [4] |
Esub/momentum of matched tracks vs. total momentum of matched tracks (all number of matches) More... | |
TH2 * | fHistNonEmbTrackMatchesOversub [4] |
Over-subtracted energy / cluster energy with embedded track matches (non-embedded matches < 5%) More... | |
TH2 * | fHistOversubMCClusters [4] |
Over-subtracted energy / cluster energy with non-embedded track matches (embedded matches < 5%) More... | |
TH2 * | fHistOversubNonMCClusters [4] |
Over-subtracted energy / cluster energy (cluster MC energy fraction > 95%) More... | |
TH2 * | fHistOversub [4] |
Over-subtracted energy / cluster energy (cluster MC energy fraction < 5%) More... | |
![]() | |
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... | |
AliClusterContainer * | fClusCont |
! pointer to the cluster container More... | |
AliParticleContainer * | fPartCont |
! pointer to the track/particle container More... | |
AliVCaloCells * | fCaloCells |
! pointer to calo cells More... | |
AliEMCALRecoUtils * | fRecoUtils |
! pointer to reco utils More... | |
TList * | fOutput |
! list of output histograms More... | |
TString | fBasePath |
Private Member Functions | |
AliEmcalCorrectionClusterHadronicCorrection (const AliEmcalCorrectionClusterHadronicCorrection &) | |
Over-subtracted energy / cluster energy. More... | |
AliEmcalCorrectionClusterHadronicCorrection & | operator= (const AliEmcalCorrectionClusterHadronicCorrection &) |
Static Private Attributes | |
static RegisterCorrectionComponent < AliEmcalCorrectionClusterHadronicCorrection > | reg |
Additional Inherited Members | |
![]() | |
enum | inputObjectType { kCaloCells = 0, kCluster = 1, kTrack = 2 } |
![]() | |
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) |
![]() | |
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) |
Definition at line 6 of file AliEmcalCorrectionClusterHadronicCorrection.h.
AliEmcalCorrectionClusterHadronicCorrection::AliEmcalCorrectionClusterHadronicCorrection | ( | ) |
Definition at line 15 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.
|
virtual |
Definition at line 65 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.
|
private |
Over-subtracted energy / cluster energy.
|
protected |
Definition at line 691 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.
Referenced by Run().
|
protected |
Definition at line 604 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.
Referenced by Run().
|
protected |
Definition at line 512 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.
Referenced by ApplyHadCorrAllTracks().
|
protected |
Definition at line 307 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.
Referenced by ApplyHadCorrOneTrack(), and DoMatchedTracksLoop().
Definition at line 279 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.
Referenced by ApplyHadCorrOneTrack(), and DoMatchedTracksLoop().
|
protected |
Definition at line 316 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.
Referenced by ApplyHadCorrOneTrack(), and DoMatchedTracksLoop().
|
protected |
Definition at line 414 of file AliEmcalCorrectionClusterHadronicCorrection.cxx.
Referenced by ApplyHadCorrOneTrack(), and DoMatchedTracksLoop().
|
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.
|
private |
|
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.
|
protected |
Definition at line 31 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by ApplyHadCorrAllTracks().
|
protected |
Definition at line 28 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by ApplyHadCorrOneTrack(), DoMatchedTracksLoop(), and Initialize().
|
protected |
Definition at line 30 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by ApplyHadCorrAllTracks(), and Initialize().
|
protected |
Definition at line 27 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by ApplyHadCorrOneTrack(), DoMatchedTracksLoop(), and Initialize().
|
protected |
Definition at line 29 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by DoMatchedTracksLoop(), Initialize(), and Run().
|
protected |
average energy of clusters before correction vs. centrality
Definition at line 45 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by Initialize(), and Run().
|
protected |
n clusters matched to some track vs. centrality
Definition at line 44 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by Initialize(), and Run().
|
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().
|
protected |
average energy of clusters after correction vs. centrality
Definition at line 46 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by ApplyHadCorrAllTracks(), ApplyHadCorrOneTrack(), and Initialize().
|
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().
|
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().
|
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().
|
protected |
n cells vs. cluster energy
Definition at line 41 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrOneTrack(), DoMatchedTracksLoop(), and Initialize().
|
protected |
Definition at line 34 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrOneTrack(), DoMatchedTracksLoop(), and Initialize().
|
protected |
deta vs. dphi of matched cluster-track pairs
Definition at line 35 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by ApplyHadCorrOneTrack(), DoMatchedTracksLoop(), and Initialize().
|
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().
|
protected |
deta vs. dphi of matched cluster-track pairs
Definition at line 36 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by Initialize().
|
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().
|
protected |
n matches vs. cluster energy
Definition at line 40 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().
|
protected |
n matches vs. centraity
Definition at line 48 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by Initialize().
|
protected |
n clusters vs. centrality
Definition at line 43 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by ApplyHadCorrAllTracks(), and Initialize().
|
protected |
matching distance vs. E/P
Definition at line 42 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by Initialize(), and Run().
|
protected |
E/P vs. centrality.
Definition at line 47 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by ApplyHadCorrAllTracks(), and Initialize().
|
protected |
cluster energy vs. track momentum of matched pairs
Definition at line 39 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by AliEmcalCorrectionClusterHadronicCorrection(), ApplyHadCorrAllTracks(), and Initialize().
|
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().
|
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().
|
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().
|
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().
|
protected |
Definition at line 26 of file AliEmcalCorrectionClusterHadronicCorrection.h.
Referenced by ApplyHadCorrOneTrack(), DoMatchedTracksLoop(), and Initialize().
|
staticprivate |
Definition at line 63 of file AliEmcalCorrectionClusterHadronicCorrection.h.