TFCSParametrizationBinnedChain class
#include <TFCSParametrizationBinnedChain.h>
Contents
Base classes
- class TFCSParametrizationChain
Derived classes
Constructors, destructors, conversion operators
- TFCSParametrizationBinnedChain(const char* name = nullptr, const char* title = nullptr)
- TFCSParametrizationBinnedChain(const TFCSParametrizationBinnedChain& ref)
Public functions
- void push_before_first_bin(TFCSParametrizationBase* param) virtual
- void push_back_in_bin(TFCSParametrizationBase* param, unsigned int bin) virtual
- auto get_number_of_bins() const -> unsigned int virtual
- auto get_bin(TFCSSimulationState& simulstate, const TFCSTruthState*, const TFCSExtrapolationState*) const -> int virtual
- auto get_variable_text(TFCSSimulationState&, const TFCSTruthState*, const TFCSExtrapolationState*) const -> const std::string virtual
- auto get_bin_text(int bin) const -> const std::string virtual
- print the range of a bin; for bin -1, print the allowed range
- auto simulate(TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) const -> FCSReturnCode override
- Method in all derived classes to do some simulation.
- void Print(Option_t* option = "") const override
Protected variables
- std::vector<unsigned int> m_bin_start
Function documentation
int TFCSParametrizationBinnedChain:: get_bin(TFCSSimulationState& simulstate,
const TFCSTruthState*,
const TFCSExtrapolationState*) const virtual
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
Variable documentation
std::vector<unsigned int> TFCSParametrizationBinnedChain:: m_bin_start protected
Contains the index where the TFCSParametrizationBase* instances to run for a given bin start. The last entry of the vector corresponds to the index from where on TFCSParametrizationBase* objects should be run again for all bins. This way one can loop over some instances for all bins, then only specific ones for one bin and at the end again over some for all bins