TFCSEnergyInterpolationHistogram class
#include <TFCSEnergyInterpolationHistogram.h>
Contents
Base classes
- class TFCSParametrization
Public types
- enum FCSEnergyInitializationStatusBits { kOnlyScaleEnergy = BIT(15) }
Constructors, destructors, conversion operators
- TFCSEnergyInterpolationHistogram(const char* name = nullptr, const char* title = nullptr)
Public functions
- auto OnlyScaleEnergy() const -> bool
- void set_OnlyScaleEnergy()
- void reset_OnlyScaleEnergy()
- auto is_match_Ekin_bin(int) const -> bool override
- auto is_match_calosample(int) const -> bool override
- void InitFromHist(const TH1F& hist)
- auto hist() const -> const TH1F&
- auto simulate(TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) const -> FCSReturnCode override
- void Print(Option_t* option = "") const override
Enum documentation
enum TFCSEnergyInterpolationHistogram:: FCSEnergyInitializationStatusBits
| Enumerators | |
|---|---|
| kOnlyScaleEnergy |
Set this bit in the TObject bit field the simulated energy should only be scaled by the spline |
Function documentation
void TFCSEnergyInterpolationHistogram:: InitFromHist(const TH1F& hist)
Initialize interpolation from histogram x values should be Ekin, y values should <E(reco)/Ekin(true)>
FCSReturnCode TFCSEnergyInterpolationHistogram:: simulate(TFCSSimulationState& simulstate,
const TFCSTruthState* truth,
const TFCSExtrapolationState* extrapol) const override
Initialize simulstate with the mean reconstructed energy in the calorimater expected from the true kinetic energy