5#ifndef TFCSFlatLateralShapeParametrization_h
6#define TFCSFlatLateralShapeParametrization_h
18 const char *title =
nullptr);
50 virtual void Print(Option_t *option =
"")
const override;
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
simulated one hit position with weight that should be put into simulstate sometime later all hit weig...
virtual int get_number_of_hits(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
default for this class is to simulate poisson(integral histogram) hits
void set_dR(float _dR)
set the radius in which hits should be generated
void set_number_of_hits(float nhits)
set the integral of the histogram to the desired number of hits
TFCSFlatLateralShapeParametrization(const char *name=nullptr, const char *title=nullptr)
virtual void Print(Option_t *option="") const override
void set_scale(float _scale)
set the radius in which hits should be generated
float get_number_of_expected_hits() const
virtual ~TFCSFlatLateralShapeParametrization()
float m_dR
Simulate hits flat in radius dR.
TFCSLateralShapeParametrizationHitBase(const char *name=nullptr, const char *title=nullptr)