|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TFCS2DFunctionLateralShapeParametrization_h
6 #define TFCS2DFunctionLateralShapeParametrization_h
18 const char *
title =
nullptr);
63 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 double get_sigma2_fluctuation(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
default for this class is to simulate get_number_of_expected_hits() hits, which gives fluctuations si...
@ k_phi_symmetric
Set this bit to simulate phi symmetric histograms.
FCSStatusBits
Status bit for FCS needs.
virtual void Print(Option_t *option="") const override
TFCS2DFunctionLateralShapeParametrization(const char *name=nullptr, const char *title=nullptr)
virtual void set_phi_symmetric()
~TFCS2DFunctionLateralShapeParametrization()
virtual int get_number_of_hits(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
default for this class is to simulate get_number_of_expected_hits() hits
virtual void reset_phi_symmetric()
bool Initialize(TFCS2DFunction *func, float nhits=-1)
Init from function.
float get_number_of_expected_hits() const
void set_number_of_hits(float nhits)
set the desired number of hits
bool is_phi_symmetric() const
TFCS2DFunction * m_function
Histogram to be used for the shape simulation.