TFCSFlatLateralShapeParametrization class
Contents
Base classes
Constructors, destructors, conversion operators
- TFCSFlatLateralShapeParametrization(const char* name = nullptr, const char* title = nullptr)
- ~TFCSFlatLateralShapeParametrization() virtual
Public functions
- void set_number_of_hits(float nhits)
- set the integral of the histogram to the desired number of hits
- auto get_number_of_expected_hits() const -> float
- auto get_number_of_hits(TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) const -> int override
- default for this class is to simulate poisson(integral histogram) hits
- void set_dR(float _dR)
- set the radius in which hits should be generated
- auto dR() const -> float
- void set_scale(float _scale)
- set the radius in which hits should be generated
- auto scale() const -> float
- auto simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) -> FCSReturnCode override
- void Print(Option_t* option = "") const override
Protected variables
Function documentation
FCSReturnCode TFCSFlatLateralShapeParametrization:: simulate_hit(Hit& hit,
TFCSSimulationState& simulstate,
const TFCSTruthState* truth,
const TFCSExtrapolationState* extrapol) override
simulated one hit position with weight that should be put into simulstate sometime later all hit weights should be resacled such that their final sum is simulstate->E(sample) someone also needs to map all hits into cells