5#ifndef TFCSHistoLateralShapeWeight_h
6#define TFCSHistoLateralShapeWeight_h
16 const char *title =
nullptr);
31 virtual void Print(Option_t *option =
"")
const override;
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
virtual ~TFCSHistoLateralShapeWeight()
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
weight the energy of one hit in order to generate fluctuations
TH1 * getHistogram() const
virtual void setMaxWeight(float maxWeight)
virtual void Print(Option_t *option="") const override
bool Initialize(TH1 *hist)
Init from histogram.
TFCSHistoLateralShapeWeight(const char *name=nullptr, const char *title=nullptr)
virtual float getMinWeight() const override
Get minimum and maximum value of weight for hit energy reweighting.
TH1 * m_hist
Histogram to be used for the shape simulation The histogram x-axis should be in dR^2=deta^2+dphi^2.
virtual float getMaxWeight() const override
virtual void setMinWeight(float minWeight)
TFCSLateralShapeParametrizationHitBase(const char *name=nullptr, const char *title=nullptr)