|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_FASTCALOSIMEVENT_TFCSParametrizationBinnedChain_h
6 #define ISF_FASTCALOSIMEVENT_TFCSParametrizationBinnedChain_h
13 const char *
title =
nullptr)
31 virtual const std::string
41 void Print(Option_t *option =
"")
const override;
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
virtual const std::string get_bin_text(int bin) const
print the range of a bin; for bin -1, print the allowed range
void Print(Option_t *option="") const override
virtual void push_back_in_bin(TFCSParametrizationBase *param, unsigned int bin)
virtual void push_before_first_bin(TFCSParametrizationBase *param)
TFCSParametrizationBinnedChain(const TFCSParametrizationBinnedChain &ref)
virtual const std::string get_variable_text(TFCSSimulationState &, const TFCSTruthState *, const TFCSExtrapolationState *) const
virtual int get_bin(TFCSSimulationState &simulstate, const TFCSTruthState *, const TFCSExtrapolationState *) const
this method should determine in derived classes which bin to simulate, so that the simulate method ca...
static void unit_test(TFCSSimulationState *simulstate=nullptr, const TFCSTruthState *truth=nullptr, const TFCSExtrapolationState *extrapol=nullptr)
virtual unsigned int get_number_of_bins() const
const boost::regex ref(r_ef)
virtual FCSReturnCode simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Method in all derived classes to do some simulation.
TFCSParametrizationBinnedChain(const char *name=nullptr, const char *title=nullptr)
std::vector< unsigned int > m_bin_start
Contains the index where the TFCSParametrizationBase* instances to run for a given bin start.