TFCSHistoLateralShapeGausLogWeightHitAndMiss class

Base classes

class TFCSHistoLateralShapeWeight

Constructors, destructors, conversion operators

TFCSHistoLateralShapeGausLogWeightHitAndMiss(const char* name = nullptr, const char* title = nullptr)
~TFCSHistoLateralShapeGausLogWeightHitAndMiss() virtual

Public functions

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

Function documentation

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

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