1 #ifndef GsfBetheHeitlerUpdator_h_
2 #define GsfBetheHeitlerUpdator_h_
Polynomial readPolynomial(std::ifstream &, const int)
Read coefficients of one polynomial from file.
float operator()(float x) const
Evaluation of the polynomial.
Polynomial thePolyWeights[MaxSize]
correction of 1st or 1st&2nd moments
virtual void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect[]) const
Computation: generates vectors of weights, means and standard deviations.
void getMixtureParameters(const float, GSContainer[]) const
Filling of mixture (in terms of z=E/E0)
Polynomial(float coefficients[], int is)
void correctWeights(GSContainer[]) const
Correction for weight of component 1.
float correctedFirstVar(const float, const GSContainer[]) const
Correction for variance of component 1.
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?
Triplet< float, float, float > GSContainer
float theCoeffs[MaxOrder]
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
virtual GsfBetheHeitlerUpdator * clone() const
float correctedFirstMean(const float, const GSContainer[]) const
Correction for mean of component 1.
Polynomial()
Default constructor (needed for construction of a vector)