1 #ifndef GsfBetheHeitlerUpdator_h_ 2 #define GsfBetheHeitlerUpdator_h_
Polynomial readPolynomial(std::ifstream &, const int)
Read coefficients of one polynomial from file.
void correctWeights(GSContainer &) const
Correction for weight of component 1.
float operator()(float x) const
Evaluation of the polynomial.
void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect[]) const override
Computation: generates vectors of weights, means and standard deviations.
Polynomial thePolyWeights[MaxSize]
correction of 1st or 1st&2nd moments
void getMixtureParameters(const float, GSContainer &) const
Filling of mixture (in terms of z=E/E0)
U second(std::pair< T, U > const &p)
Polynomial(float coefficients[], int is)
GsfBetheHeitlerUpdator * clone() const override
int theTransformationCode
number of components used for parameterisation
GsfBetheHeitlerUpdator(const std::string fileName, const int correctionFlag)
constructor with explicit filename and correction flag
int theCorrectionFlag
values to be transformed by logistic / exp. function?
float theCoeffs[MaxOrder]
float correctedFirstVar(const float, const GSContainer &) const
Correction for variance of component 1.
Polynomial thePolyVars[MaxSize]
parametrisation of mean for each componentP
void readParameters(const std::string)
Read parametrization from file.
Polynomial thePolyMeans[MaxSize]
parametrisation of weight for each component
Polynomial()
Default constructor (needed for construction of a vector)
float correctedFirstMean(const float, const GSContainer &) const
Correction for mean of component 1.