TFCSHistoLateralShapeWeightHitAndMiss class

Base classes

class TFCSHistoLateralShapeWeight

Constructors, destructors, conversion operators

TFCSHistoLateralShapeWeightHitAndMiss(const char* name = nullptr, const char* title = nullptr)
~TFCSHistoLateralShapeWeightHitAndMiss() override

Public functions

auto simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) -> FCSReturnCode override

Function documentation

auto TFCSHistoLateralShapeWeightHitAndMiss::simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) -> FCSReturnCode override

weight the energy of one hit in order to generate fluctuations. If the hit energy is 0, discard the hit