|
ATLAS Offline Software
|
Go to the documentation of this file.
24 chain().shrink_to_fit();
41 return std::string(Form(
"eta=%2.2f",
extrapol->IDCaloBoundary_eta()));
47 return std::string(Form(
"bin=%d not in [%2.2f<=eta<%2.2f)",
bin,
75 chain.push_before_first_bin(param);
81 chain.push_back(param);
83 const int n_params = 5;
84 for (
int i = 2;
i < n_params; ++
i) {
90 chain.push_back_in_bin(param);
92 for (
int i = n_params;
i >= 1; --
i) {
98 chain.push_back_in_bin(param);
106 chain.push_back(param);
109 chain.push_before_first_bin(param);
114 extrapol->set_IDCaloBoundary_eta(0.1);
117 extrapol->set_IDCaloBoundary_eta(1.1);
120 extrapol->set_IDCaloBoundary_eta(2.1);
123 extrapol->set_IDCaloBoundary_eta(4.1);
126 extrapol->set_IDCaloBoundary_eta(100);
virtual const std::string get_variable_text(TFCSSimulationState &simulstate, const TFCSTruthState *, const TFCSExtrapolationState *) const override
virtual void set_eta_max(double max)
virtual void push_back_in_bin(TFCSParametrizationBase *param)
virtual unsigned int get_number_of_bins() const
virtual void recalc() override
Default is to call recalc_pdgid_intersect() and recalc_Ekin_eta_intersect()
static void unit_test(TFCSSimulationState *simulstate=nullptr, TFCSTruthState *truth=nullptr, TFCSExtrapolationState *extrapol=nullptr)
const Chain_t & chain() const
TFCSParametrization(const char *name=nullptr, const char *title=nullptr)
virtual double eta_min() const
virtual double eta_max() const
void recalc_pdgid_intersect()
void recalc_Ekin_intersect()
virtual int get_bin(TFCSSimulationState &, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
this method should determine in derived classes which bin to simulate, so that the simulate method ca...
virtual void set_eta_nominal(double min)
virtual void setLevel(MSG::Level lvl)
Update outputlevel.
int val_to_bin(float val) const
virtual const std::string get_bin_text(int bin) const override
print the range of a bin; for bin -1, print the allowed range
#define ATH_MSG_NOCLASS(logger_name, x)
virtual void set_eta_min(double min)
std::vector< float > m_bin_low_edge
virtual unsigned int size() const override
Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operat...