TFCSLateralShapeTuning class

Base classes

class TFCSLateralShapeParametrizationHitBase

Public static functions

static auto getSeriesScalingFactor(double a0, double a1, double a2, double a3, double distToShowerCenter) -> double

Constructors, destructors, conversion operators

TFCSLateralShapeTuning(const char* name = nullptr, const char* title = nullptr)
Constructor.
~TFCSLateralShapeTuning()

Public functions

auto simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) -> FCSReturnCode override
auto initFromModelFile(const std::string& pathToModelParameters, int intMinEta, int intMaxEta) -> FCSReturnCode
auto initFromMap(const interpolationMap&) -> FCSReturnCode

Function documentation

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

simulated one hit position with some energy. As last step in TFCSLateralShapeParametrizationHitChain::simulate, the hit should be mapped into a cell and this cell recorded in simulstate. All hits/cells should be resacled such that their final sum is simulstate->E(sample)