|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_FASTCALOSIMEVENT_TFCSEnergyInterpolationHistogram_h
6 #define ISF_FASTCALOSIMEVENT_TFCSEnergyInterpolationHistogram_h
14 const char *
title =
nullptr);
44 void Print(Option_t *option =
"")
const override;
58 #if defined(__ROOTCLING__) && defined(__FastCaloSimStandAlone__)
59 #pragma link C++ class TFCSEnergyInterpolationHistogram + ;
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
virtual FCSReturnCode simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Initialize simulstate with the mean reconstructed energy in the calorimater expeted from the true kin...
const TH1F & hist() const
virtual bool is_match_Ekin_bin(int) const override
void reset_OnlyScaleEnergy()
virtual bool is_match_calosample(int) const override
void set_OnlyScaleEnergy()
void Print(Option_t *option="") const override
static void unit_test(TFCSSimulationState *simulstate=nullptr, TFCSTruthState *truth=nullptr, const TFCSExtrapolationState *extrapol=nullptr, TH1F *hist=nullptr)
bool OnlyScaleEnergy() const
void InitFromHist(const TH1F &hist)
Initialize interpolation from histogram x values should be Ekin, y values should <E(reco)/Ekin(true)>
TFCSEnergyInterpolationHistogram(const char *name=nullptr, const char *title=nullptr)
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
@ kOnlyScaleEnergy
Set this bit in the TObject bit field the simulated energy should only be scaled by the spline.
FCSEnergyInitializationStatusBits