TFCSParametrizationEtaSelectChain class

Base classes

class TFCSParametrizationFloatSelectChain

Derived classes

class TFCSParametrizationAbsEtaSelectChain

Constructors, destructors, conversion operators

TFCSParametrizationEtaSelectChain(const char* name = nullptr, const char* title = nullptr)
TFCSParametrizationEtaSelectChain(const TFCSParametrizationEtaSelectChain& ref)

Public functions

void push_back_in_bin(TFCSParametrizationBase* param) virtual
auto get_bin(TFCSSimulationState& simulstate, const TFCSTruthState*, const TFCSExtrapolationState*) const -> int override
auto get_variable_text(TFCSSimulationState& simulstate, const TFCSTruthState*, const TFCSExtrapolationState*) const -> const std::string override
auto get_bin_text(int bin) const -> const std::string override
print the range of a bin; for bin -1, print the allowed range
auto push_back_in_bin() -> int
void push_back_in_bin() override
Should not be used unless the bin boundaries are already defined!

Protected functions

void recalc() override

Function documentation

int TFCSParametrizationEtaSelectChain::get_bin(TFCSSimulationState& simulstate, const TFCSTruthState*, const TFCSExtrapolationState*) const override

this method should determine in derived classes which bin to simulate, so that the simulate method can call the appropriate TFCSParametrizationBase simulations return -1 if no bin matches

void TFCSParametrizationEtaSelectChain::recalc() override protected

Default is to call recalc_pdgid_intersect() and recalc_Ekin_eta_intersect()