ATLAS Offline Software
Loading...
Searching...
No Matches
TFCSLateralShapeParametrizationFluctChain.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TFCSLateralShapeParametrizationFluctChain_h
6#define TFCSLateralShapeParametrizationFluctChain_h
7
9
12public:
13 TFCSLateralShapeParametrizationFluctChain(const char *name = nullptr,
14 const char *title = nullptr,
15 float RMS = 1.0);
18
19 // set and get the amount of hit energy fluctation around E/n for n hits
20 void set_hit_RMS(float RMS);
21 float get_hit_RMS() const { return m_RMS; };
22
24 virtual float
25 get_E_hit(TFCSSimulationState &simulstate, const TFCSTruthState *truth,
26 const TFCSExtrapolationState *extrapol) const override;
27
28 virtual FCSReturnCode
29 simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth,
30 const TFCSExtrapolationState *extrapol) const override;
31
32 void Print(Option_t *option) const override;
33
34private:
35 float m_RMS{};
36
38 1) // TFCSLateralShapeParametrizationFluctChain
39};
40
41#endif
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
TFCSLateralShapeParametrizationFluctChain(const char *name=nullptr, const char *title=nullptr, float RMS=1.0)
virtual FCSReturnCode simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Method in all derived classes to do some simulation.
virtual float get_E_hit(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Get hit energy from layer energy and number of hits.
TFCSLateralShapeParametrizationHitChain(const char *name=nullptr, const char *title=nullptr)