![]() |
AliPhysics
1a228f7 (1a228f7)
|
Cluster energy non-linearity correction component in the EMCal correction framework.Non-linearity correction to the cluster energy is necessary because the response of the calorimeter is not linear for very low momentum particles or very high momentum (shower leakage). More...
#include <AliEmcalCorrectionClusterNonLinearity.h>
Public Member Functions | |
AliEmcalCorrectionClusterNonLinearity () | |
virtual | ~AliEmcalCorrectionClusterNonLinearity () |
Bool_t | Initialize () |
void | UserCreateOutputObjects () |
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 | SetIsESD (Bool_t isESD) |
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 > | |
bool | GetProperty (std::string propertyName, T &property, bool requiredProperty=true, std::string correctionName="") |
Retrieve property. More... | |
Public Attributes | |
std::map< std::string, AliEMCALRecoUtils::NonlinearityFunctions > | nonlinearityFunctionMap |
Protected Attributes | |
TH1F * | fEnergyDistBefore |
!energy distribution before More... | |
TH2F * | fEnergyTimeHistBefore |
!energy/time distribution before More... | |
TH1F * | fEnergyDistAfter |
!energy distribution after More... | |
TH2F * | fEnergyTimeHistAfter |
!energy/time distribution after More... | |
![]() | |
YAML::Node | fUserConfiguration |
YAML::Node | fDefaultConfiguration |
Bool_t | fCreateHisto |
flag to make some basic histograms More... | |
Int_t | fRun |
!run number More... | |
TString | fFilepass |
input data pass number More... | |
Bool_t | fGetPassFromFileName |
get fFilepass from file name More... | |
AliVEvent * | fEvent |
!pointer to event More... | |
Bool_t | fEsdMode |
flag for ESD More... | |
AliMCEvent * | fMCEvent |
!MC More... | |
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 |
base folder path to get root files More... | |
Private Member Functions | |
AliEmcalCorrectionClusterNonLinearity (const AliEmcalCorrectionClusterNonLinearity &) | |
AliEmcalCorrectionClusterNonLinearity & | operator= (const AliEmcalCorrectionClusterNonLinearity &) |
Static Private Attributes | |
static RegisterCorrectionComponent < AliEmcalCorrectionClusterNonLinearity > | reg |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static bool | 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) |
![]() | |
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) |
template<typename T > | |
static std::enable_if <!std::is_arithmetic< T > ::value &&!std::is_same< T, std::string >::value &&!std::is_same< T, bool > ::value >::type | PrintRetrievedPropertyValue (T &property, std::stringstream &tempMessage) |
template<typename T > | |
static std::enable_if < std::is_arithmetic< T > ::value||std::is_same< T, std::string >::value||std::is_same < T, bool >::value >::type | PrintRetrievedPropertyValue (T &property, std::stringstream &tempMessage) |
Cluster energy non-linearity correction component in the EMCal correction framework.
Non-linearity correction to the cluster energy is necessary because the response of the calorimeter is not linear for very low momentum particles or very high momentum (shower leakage).
The energy of the cluster after the non-linearity correction can be retrieved using the method cluster->GetNonLinCorrEnergy()
.
Based on code in AliEmcalClusterMaker.
Definition at line 27 of file AliEmcalCorrectionClusterNonLinearity.h.
AliEmcalCorrectionClusterNonLinearity::AliEmcalCorrectionClusterNonLinearity | ( | ) |
Definition at line 18 of file AliEmcalCorrectionClusterNonLinearity.cxx.
|
virtual |
Definition at line 32 of file AliEmcalCorrectionClusterNonLinearity.cxx.
|
private |
|
virtual |
Initialize basic variables in the correction component from the configuration file.
Reimplemented from AliEmcalCorrectionComponent.
Definition at line 38 of file AliEmcalCorrectionClusterNonLinearity.cxx.
|
private |
|
virtual |
Run every event, where the user implements their main analysis. Similar to Run() in AliAnalysisTaskEmcal
Reimplemented from AliEmcalCorrectionComponent.
Definition at line 89 of file AliEmcalCorrectionClusterNonLinearity.cxx.
|
virtual |
Create output objects for the analysis. Similar to UserCreateOutputObjects() in AliAnalysisTaskSE
Reimplemented from AliEmcalCorrectionComponent.
Definition at line 67 of file AliEmcalCorrectionClusterNonLinearity.cxx.
|
protected |
!energy distribution after
Definition at line 60 of file AliEmcalCorrectionClusterNonLinearity.h.
Referenced by Run(), and UserCreateOutputObjects().
|
protected |
!energy distribution before
Definition at line 58 of file AliEmcalCorrectionClusterNonLinearity.h.
Referenced by Run(), and UserCreateOutputObjects().
|
protected |
!energy/time distribution after
Definition at line 61 of file AliEmcalCorrectionClusterNonLinearity.h.
Referenced by Run(), and UserCreateOutputObjects().
|
protected |
!energy/time distribution before
Definition at line 59 of file AliEmcalCorrectionClusterNonLinearity.h.
Referenced by Run(), and UserCreateOutputObjects().
std::map<std::string, AliEMCALRecoUtils::NonlinearityFunctions> AliEmcalCorrectionClusterNonLinearity::nonlinearityFunctionMap |
Definition at line 31 of file AliEmcalCorrectionClusterNonLinearity.h.
Referenced by Initialize().
|
staticprivate |
Definition at line 68 of file AliEmcalCorrectionClusterNonLinearity.h.