AliPhysics  608b256 (608b256)
AliEmcalCorrectionCellEnergyVariation.h
Go to the documentation of this file.
1 #ifndef ALIEMCALCORRECTIONCELLENERGYVARIATION_H
2 #define ALIEMCALCORRECTIONCELLENERGYVARIATION_H
3 
5 
6 #include "TF1.h"
7 
24  public:
27 
28  // Sets up and runs the task
31  void ExecOnce();
32  Bool_t Run();
33 
34 protected:
35 
36  // Load cell energy scale function TF1 into fEnergyScaleFunction
37  void LoadEnergyScaleFunction(const std::string & path, const std::string & name);
38 
43 
44  private:
47 
48  // Allows the registration of the class so that it is available to be used by the correction task.
50 
52  ClassDef(AliEmcalCorrectionCellEnergyVariation, 2); // EMCal cell energy variation component
54 };
55 
56 #endif /* ALIEMCALCORRECTIONCELLENERGYVARIATION_H */
double Double_t
Definition: External.C:58
static RegisterCorrectionComponent< AliEmcalCorrectionCellEnergyVariation > reg
Double_t fMinCellE
Min cell E to perform scaling on.
TF1 * fEnergyScaleFunction
Function describing factor to scale cell energy by, as a function of cell E.
AliEmcalCorrectionCellEnergyVariation & operator=(const AliEmcalCorrectionCellEnergyVariation &)
Double_t fEnergyScaleFactorConstant
Constant factor to scale cell energy by.
Base class for correction components in the EMCal correction framework.
Double_t fMaxCellE
Max cell E to perform scaling on.
Cell energy variation component in the EMCal correction framework.
void LoadEnergyScaleFunction(const std::string &path, const std::string &name)
bool Bool_t
Definition: External.C:53