AliPhysics  6fe3466 (6fe3466)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCorrectionCellEnergy Class Reference

Energy calibration correction component in the EMCal correction framework. More...

#include <AliEmcalCorrectionCellEnergy.h>

Inheritance diagram for AliEmcalCorrectionCellEnergy:

Public Member Functions

 AliEmcalCorrectionCellEnergy ()
 
virtual ~AliEmcalCorrectionCellEnergy ()
 
Bool_t Initialize ()
 
void UserCreateOutputObjects ()
 
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 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...
 

Protected Attributes

TH1F * fCellEnergyDistBefore
 ! cell energy distribution, before energy calibration More...
 
TH1F * fCellEnergyDistAfter
 ! cell energy distribution, after energy calibration More...
 
- Protected Attributes inherited from AliEmcalCorrectionComponent
YAML::Node fUserConfiguration
 ! User YAML configuration More...
 
YAML::Node fDefaultConfiguration
 ! Default YAML configuration More...
 
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...
 
AliClusterContainerfClusCont
 Pointer to the cluster container. More...
 
AliParticleContainerfPartCont
 Pointer to the track/particle container. More...
 
AliVCaloCells * fCaloCells
 ! Pointer to CaloCells More...
 
AliEMCALRecoUtils * fRecoUtils
 Pointer to RecoUtils. More...
 
TListfOutput
 ! List of output histograms More...
 
TString fBasePath
 Base folder path to get root files. More...
 

Private Member Functions

Int_t InitRecalib ()
 
Int_t InitRunDepRecalib ()
 
 AliEmcalCorrectionCellEnergy (const AliEmcalCorrectionCellEnergy &)
 
AliEmcalCorrectionCellEnergyoperator= (const AliEmcalCorrectionCellEnergy &)
 

Private Attributes

Bool_t fUseAutomaticRecalib
 On by default the check in the OADB of the energy recalibration. More...
 
Bool_t fUseAutomaticRunDepRecalib
 On by default the check in the OADB of the run dependent energy recalibration. More...
 

Static Private Attributes

static
RegisterCorrectionComponent
< AliEmcalCorrectionCellEnergy
reg
 

Additional Inherited Members

- Static Public Member Functions inherited from AliEmcalCorrectionComponent
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)
 
- 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)
 
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)
 

Detailed Description

Energy calibration correction component in the EMCal correction framework.

Performs energy calibration of cells, using OADB calibration. The original cell information in the event will be overwritten.

Based on code in AliEMCALTenderSupply.

Author
Deepa Thomas (Utrecht University), AliEMCALTenderSupply
Jiri Kral (University of Jyvaskyla), AliEMCALTenderSupply mods/rewrite
Salvatore Aiola, make AliEMCALTenderSupply work for AODs
C. Loizides, make AliEMCALTenderSupply work for AODs
Gustavo Conesa, LPSC-Grenoble, AliEMCALTenderSupply several mods.
Raymond Ehlers raymo.nosp@m.nd.e.nosp@m.hlers.nosp@m.@yal.nosp@m.e.edu, Yale University, centralize EMCal corrections using components
James Mulligan james.nosp@m..mul.nosp@m.ligan.nosp@m.@yal.nosp@m.e.edu, Yale University, centralize EMCal corrections using components
Date
Jul 8, 2016

Definition at line 25 of file AliEmcalCorrectionCellEnergy.h.

Constructor & Destructor Documentation

AliEmcalCorrectionCellEnergy::AliEmcalCorrectionCellEnergy ( )

Definition at line 21 of file AliEmcalCorrectionCellEnergy.cxx.

AliEmcalCorrectionCellEnergy::~AliEmcalCorrectionCellEnergy ( )
virtual

Definition at line 33 of file AliEmcalCorrectionCellEnergy.cxx.

AliEmcalCorrectionCellEnergy::AliEmcalCorrectionCellEnergy ( const AliEmcalCorrectionCellEnergy )
private

Member Function Documentation

Bool_t AliEmcalCorrectionCellEnergy::Initialize ( )
virtual

Initialize basic variables in the correction component from the configuration file.

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 39 of file AliEmcalCorrectionCellEnergy.cxx.

Int_t AliEmcalCorrectionCellEnergy::InitRecalib ( )
private

Definition at line 170 of file AliEmcalCorrectionCellEnergy.cxx.

Referenced by Run().

Int_t AliEmcalCorrectionCellEnergy::InitRunDepRecalib ( )
private

Definition at line 265 of file AliEmcalCorrectionCellEnergy.cxx.

Referenced by Run().

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

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

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 78 of file AliEmcalCorrectionCellEnergy.cxx.

void AliEmcalCorrectionCellEnergy::UserCreateOutputObjects ( )
virtual

Create output objects for the analysis. Similar to UserCreateOutputObjects() in AliAnalysisTaskSE

Reimplemented from AliEmcalCorrectionComponent.

Definition at line 64 of file AliEmcalCorrectionCellEnergy.cxx.

Member Data Documentation

TH1F* AliEmcalCorrectionCellEnergy::fCellEnergyDistAfter
protected

! cell energy distribution, after energy calibration

Definition at line 37 of file AliEmcalCorrectionCellEnergy.h.

Referenced by Run(), and UserCreateOutputObjects().

TH1F* AliEmcalCorrectionCellEnergy::fCellEnergyDistBefore
protected

! cell energy distribution, before energy calibration

Definition at line 36 of file AliEmcalCorrectionCellEnergy.h.

Referenced by Run(), and UserCreateOutputObjects().

Bool_t AliEmcalCorrectionCellEnergy::fUseAutomaticRecalib
private

On by default the check in the OADB of the energy recalibration.

Definition at line 44 of file AliEmcalCorrectionCellEnergy.h.

Referenced by Initialize(), and Run().

Bool_t AliEmcalCorrectionCellEnergy::fUseAutomaticRunDepRecalib
private

On by default the check in the OADB of the run dependent energy recalibration.

Definition at line 45 of file AliEmcalCorrectionCellEnergy.h.

Referenced by Run().

RegisterCorrectionComponent< AliEmcalCorrectionCellEnergy > AliEmcalCorrectionCellEnergy::reg
staticprivate

Definition at line 51 of file AliEmcalCorrectionCellEnergy.h.


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