TFCSHitCellMappingWiggle class

Base classes

class TFCSHitCellMapping

Constructors, destructors, conversion operators

TFCSHitCellMappingWiggle(const char* name = nullptr, const char* title = nullptr, CaloGeo* geo = nullptr)
~TFCSHitCellMappingWiggle()

Public functions

void initialize(TFCS1DFunction* func)
void initialize(const std::vector<const TFCS1DFunction*>& functions, const std::vector<float>& bin_low_edges)
void initialize(TH1* histogram, float xscale = 1)
void initialize(const std::vector<const TH1*>& histograms, const std::vector<float>& bin_low_edges, float xscale = 1)
auto get_number_of_bins() const -> unsigned int
auto get_bin_low_edge(int bin) const -> double
auto get_bin_up_edge(int bin) const -> double
auto get_function(int bin) const -> const TFCS1DFunction*
auto get_functions() -> const std::vector<const TFCS1DFunction*>
auto get_bin_low_edges() -> const std::vector<float>
auto simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) -> FCSReturnCode override
auto operator==(const TFCSParametrizationBase& ref) const -> bool override
void Print(Option_t* option = "") const override

Protected functions

auto compare(const TFCSParametrizationBase& ref) const -> bool

Function documentation

FCSReturnCode TFCSHitCellMappingWiggle::simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) override

modify one hit position to emulate the LAr accordion shape and then fills all hits into calorimeter cells

bool TFCSHitCellMappingWiggle::operator==(const TFCSParametrizationBase& ref) const override

The == operator compares the content of instances. The implementation in the base class only returns true for a comparison with itself