|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TFCSHitCellMappingWiggle_h
6 #define TFCSHitCellMappingWiggle_h
22 const char *
title =
nullptr,
27 void initialize(
const std::vector<const TFCS1DFunction *> &functions,
28 const std::vector<float> &bin_low_edges);
32 const std::vector<float> &bin_low_edges,
float xscale = 1);
59 void Print(Option_t *option =
"")
const override;
69 void set_d_HistFuncs(
FHs *hf_ptr) { m_d_HistFuncs = hf_ptr; };
70 const FHs *d_HistFuncs() {
return m_d_HistFuncs; };
81 FHs *m_d_HistFuncs =
nullptr;
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
modify one hit position to emulate the LAr accordeon shape and then fills all hits into calorimeter c...
double get_bin_low_edge(int bin) const
double get_bin_up_edge(int bin) const
unsigned int get_number_of_bins() const
TFCSHitCellMappingWiggle(const char *name=nullptr, const char *title=nullptr, ICaloGeometry *geo=nullptr)
bool compare(const TFCSParametrizationBase &ref) const
const std::vector< const TFCS1DFunction * > & get_functions()
static constexpr double init_eta_max
Do not persistify!
void initialize(TFCS1DFunction *func)
const std::vector< float > & get_bin_low_edges()
void Print(Option_t *option="") const override
std::vector< float > m_bin_low_edge
~TFCSHitCellMappingWiggle()
const TFCS1DFunction * get_function(int bin) const
static void unit_test ATLAS_NOT_THREAD_SAFE(TFCSSimulationState *simulstate=nullptr, TFCSTruthState *truth=nullptr, TFCSExtrapolationState *extrapol=nullptr)
const boost::regex ref(r_ef)
virtual bool operator==(const TFCSParametrizationBase &ref) const override
The == operator compares the content of instances.
Define macros for attributes used to control the static checker.
std::vector< const TFCS1DFunction * > m_functions