|
ATLAS Offline Software
|
Go to the documentation of this file.
18 ATH_MSG_ERROR(
"Cannot add " << param->GetName() <<
": range [" << low <<
","
19 <<
up <<
") not well defined");
40 if (ilow < 0 && iup < 0) {
42 ATH_MSG_ERROR(
"Cannot add " << param->GetName() <<
": range [" << low <<
","
43 <<
up <<
") which is outside existing range ["
49 if (iup >= 0 && ilow >= 0 && iup - ilow == 1 &&
m_bin_low_edge[ilow] == low &&
64 for (
int i = oldsize;
i > newbin; --
i) {
75 << param->GetName() <<
": range [" << low <<
"," <<
up
76 <<
") covers more than one bin in existing range ["
79 <<
") or splits an existing bin");
115 "==================================================================");
118 "= Please call TFCSParametrizationEkinSelectChain::unit_test(...) =");
121 "= or TFCSParametrizationEtaSelectChain ::unit_test(...) =");
124 "=================================================================="
virtual void push_back_in_bin(TFCSParametrizationBase *param, unsigned int bin)
#define ATH_MSG_VERBOSE(x)
static void unit_test(TFCSSimulationState *simulstate=nullptr, TFCSTruthState *truth=nullptr, const TFCSExtrapolationState *extrapol=nullptr)
virtual unsigned int get_number_of_bins() const
virtual int push_back_in_bin(TFCSParametrizationBase *param, float low, float up)
int val_to_bin(float val) const
#define ATH_MSG_NOCLASS(logger_name, x)
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
std::vector< float > m_bin_low_edge
std::vector< unsigned int > m_bin_start
Contains the index where the TFCSParametrizationBase* instances to run for a given bin start.