|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TFCSLateralShapeParametrizationHitChain_h
6 #define TFCSLateralShapeParametrizationHitChain_h
20 const char *
title =
nullptr,
28 const char *
title =
nullptr);
43 typedef std::vector<TFCSLateralShapeParametrizationHitBase *>
Chain_t;
44 virtual unsigned int size()
const override;
89 void Print(Option_t *option =
"")
const override;
virtual int get_number_of_hits(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
Call get_number_of_hits() only once, as it could contain a random number.
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
virtual float getMinWeight() const
Get minimum and maximum value of weight for hit energy reweighting.
MSG::Level level() const
Retrieve output level.
virtual FCSReturnCode init_hit(TFCSLateralShapeParametrizationHitBase::Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
void PropagateMSGLevel(MSG::Level level) const
virtual const TFCSParametrizationBase * operator[](unsigned int ind) const override
Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operat...
virtual unsigned int size() const override
Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operat...
virtual float get_E_hit(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
Get hit energy from layer energy and number of hits.
virtual float getMaxWeight() const
virtual float get_sigma2_fluctuation(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
Give the effective size sigma^2 of the fluctuations that should be generated.
void push_back_init(const Chain_t::value_type &value)
static constexpr float s_max_sigma2_fluctuation
virtual void set_number_of_hits_simul(TFCSLateralShapeParametrizationHitBase *sim)
set which instance should determine the number of hits
unsigned int get_nr_of_init() const
virtual void set_geometry(ICaloGeometry *geo)
Method to set the geometry access pointer.
TFCSLateralShapeParametrizationHitChain(const char *name=nullptr, const char *title=nullptr)
TFCSLateralShapeParametrizationHitBase * m_number_of_hits_simul
virtual void set_daughter(unsigned int ind, TFCSParametrizationBase *param) override
Some derived classes have daughter instances of TFCSParametrizationBase objects The set_daughter meth...
void push_back(const Chain_t::value_type &value)
std::vector< TFCSLateralShapeParametrizationHitBase * > Chain_t
const Chain_t & chain() const
virtual FCSReturnCode simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Method in all derived classes to do some simulation.
void Print(Option_t *option="") const override
Do not persistify!
void set_nr_of_init(unsigned int ninit)