5#ifndef TFCSLateralShapeTuning_h
6#define TFCSLateralShapeTuning_h
13#include "HepPDT/ParticleData.hh"
14#include "HepPDT/ParticleDataTable.hh"
22 typedef std::map<std::string, TFCSEnergyInterpolationPiecewiseLinear *>
28 const char *title =
nullptr);
38 int intMinEta,
int intMaxEta);
43 double a3,
double distToShowerCenter);
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
TFCSLateralShapeParametrizationHitBase(const char *name=nullptr, const char *title=nullptr)
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override
simulated one hit position with some energy.
std::map< std::string, TFCSEnergyInterpolationPiecewiseLinear * > interpolationMap
FCSReturnCode initFromModelFile(const std::string &pathToModelParameters, int intMinEta, int intMaxEta)
interpolationMap m_parameterInterpol
TFCSLateralShapeTuning(const char *name=nullptr, const char *title=nullptr)
Constructor.
~TFCSLateralShapeTuning()
static double getSeriesScalingFactor(double a0, double a1, double a2, double a3, double distToShowerCenter)
FCSReturnCode initFromMap(const interpolationMap &)