40 fEnergyTimeHistBefore(0),
42 fEnergyTimeHistAfter(0)
62 std::string nonLinFunctStr =
"";
88 fEnergyDistBefore =
new TH1F(
"hEnergyDistBefore",
"hEnergyDistBefore;E_{clus} (GeV)",1500,0,150);
90 fEnergyTimeHistBefore =
new TH2F(
"hEnergyTimeDistBefore",
"hEnergyTimeDistBefore;E_{clus} (GeV);time (s)",1500,0,150,500,-1e-6,1e-6);
92 fEnergyDistAfter =
new TH1F(
"hEnergyDistAfter",
"hEnergyDistAfter;E_{clus} (GeV)",1500,0,150);
94 fEnergyTimeHistAfter =
new TH2F(
"hEnergyTimeDistAfter",
"hEnergyTimeDistAfter;E_{clus} (GeV);time (s)",1500,0,150,500,-1e-6,1e-6);
110 AliVCluster *clus = 0;
113 while ((clusCont = static_cast<AliClusterContainer*>(nextClusCont()))) {
115 if (!clusCont)
return kFALSE;
119 clus =
static_cast<AliVCluster *
>(clusIterator->second);
121 if (!clus->IsEMCAL())
continue;
131 clus->SetNonLinCorrEnergy(energy);
TH1F * fEnergyDistBefore
!energy distribution before
static const std::map< std::string, AliEMCALRecoUtils::NonlinearityFunctions > fgkNonlinearityFunctionMap
Relates string to the non-linearity function enumeration for YAML configuration.
bidirectional stl iterator over the EMCAL iterable container
virtual void UserCreateOutputObjects()
void SetNonLinearityFunction(Int_t fun)
TH2F * fEnergyTimeHistBefore
!energy/time distribution before
Some utilities for cluster and cell treatment.
AliEMCALRecoUtils * fRecoUtils
Pointer to RecoUtils.
TH1F * fEnergyDistAfter
!energy distribution after
TObjArray fClusterCollArray
Cluster collection array.
void Print(const Option_t *) const
Base class for correction components in the EMCal correction framework.
virtual ~AliEmcalCorrectionClusterNonLinearity()
Int_t GetNonLinearityFunction() const
AliEmcalCorrectionClusterNonLinearity()
TList * fOutput
! List of output histograms
Bool_t fCreateHisto
Flag to make some basic histograms.
const AliClusterIterableMomentumContainer all_momentum() const
void UserCreateOutputObjects()
Cluster energy non-linearity correction component in the EMCal correction framework.
virtual Bool_t Initialize()
Float_t CorrectClusterEnergyLinearity(AliVCluster *clu)
Container structure for EMCAL clusters.
static RegisterCorrectionComponent< AliEmcalCorrectionClusterNonLinearity > reg
TH2F * fEnergyTimeHistAfter
!energy/time distribution after
void InitNonLinearityParam()
bool GetProperty(std::string propertyName, T &property, bool requiredProperty=true, std::string correctionName="")
Retrieve property.