PandaRoot
BSEmcThetaEnergyECF Class Reference

Theta and Energy dependent energy correction factor. More...

#include <BSEmcThetaEnergyECF.h>

Inheritance diagram for BSEmcThetaEnergyECF:
BSEmcCorrection BSEmcBarrelECF BSEmcBwEndcapECF BSEmcFwEndcapECF BSEmcShashlikECF

Public Member Functions

virtual void Correct (BSEmcRecoHit *t_recoHit) const
 Apply corrections. More...
 
void SetVersion (Int_t t_version)
 
Int_t GetVersion () const
 

Protected Member Functions

virtual Double_t GetCorrectedEnergy (Double_t t_energy, Double_t t_thetaRad, Double_t t_phiRad) const
 
void SetupLookUpMap (const TString &t_filename, const TString &t_histname)
 
Bool_t FindTheBin (Float_t t_value_x, Float_t t_value_y, Int_t &t_bin_x, Int_t &t_bin_y) const
 
Double_t GetValueInZ (Float_t t_value_x, Float_t t_value_y) const
 
 ClassDef (BSEmcThetaEnergyECF, 1)
 

Protected Attributes

std::unique_ptr< TH2F > fHEnergyRatioPhoton {nullptr}
 
Int_t fVersion {3}
 

Detailed Description

Theta and Energy dependent energy correction factor.

based on PndEmcClusterHistCalibrator code and data

Author
Ben Salisbury salis.nosp@m.bury.nosp@m.@hisk.nosp@m.p.un.nosp@m.i-bon.nosp@m.n.de, HISKP Bonn
Date
2021-02

Definition at line 28 of file BSEmcThetaEnergyECF.h.

Member Function Documentation

◆ ClassDef()

BSEmcThetaEnergyECF::ClassDef ( BSEmcThetaEnergyECF  ,
 
)
protected

◆ Correct()

virtual void BSEmcThetaEnergyECF::Correct ( BSEmcRecoHit t_recoHit) const
virtual

Apply corrections.

Parameters
t_recoHitto be corrected RecoHit

Implements BSEmcCorrection.

◆ FindTheBin()

Bool_t BSEmcThetaEnergyECF::FindTheBin ( Float_t  t_value_x,
Float_t  t_value_y,
Int_t &  t_bin_x,
Int_t &  t_bin_y 
) const
protected

Referenced by GetVersion().

◆ GetCorrectedEnergy()

virtual Double_t BSEmcThetaEnergyECF::GetCorrectedEnergy ( Double_t  t_energy,
Double_t  t_thetaRad,
Double_t  t_phiRad 
) const
protectedvirtual

Referenced by GetVersion().

◆ GetValueInZ()

Double_t BSEmcThetaEnergyECF::GetValueInZ ( Float_t  t_value_x,
Float_t  t_value_y 
) const
protected

Referenced by GetVersion().

◆ GetVersion()

Int_t BSEmcThetaEnergyECF::GetVersion ( ) const
inline

◆ SetupLookUpMap()

void BSEmcThetaEnergyECF::SetupLookUpMap ( const TString &  t_filename,
const TString &  t_histname 
)
protected

Referenced by GetVersion().

◆ SetVersion()

void BSEmcThetaEnergyECF::SetVersion ( Int_t  t_version)
inline

Definition at line 36 of file BSEmcThetaEnergyECF.h.

References fVersion.

36 { fVersion = t_version; }

Member Data Documentation

◆ fHEnergyRatioPhoton

std::unique_ptr<TH2F> BSEmcThetaEnergyECF::fHEnergyRatioPhoton {nullptr}
protected

Definition at line 45 of file BSEmcThetaEnergyECF.h.

◆ fVersion

Int_t BSEmcThetaEnergyECF::fVersion {3}
protected

Definition at line 47 of file BSEmcThetaEnergyECF.h.

Referenced by GetVersion(), and SetVersion().


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