7 #include "CLHEP/Random/RandomEngine.h" 8 #include "CLHEP/Random/RandGaussQ.h" 16 typedef std::map<std::string, std::vector<double> >
WeightMap_t;
37 std::vector<double>
const& centralValues,
38 std::vector< std::vector<double>>
const& inputCovarianceMatrix,
39 int n_multisims, CLHEP::RandGaussQ& GaussRandom);
42 std::vector<double>
const& centralValue,
43 TMatrixD*
const& inputCovarianceMatrix,
44 std::vector<double> rand);
47 std::vector<double>
const& centralValue,
48 TMatrixD*
const& LowerTriangleCovarianceMatrix,
50 std::vector<double> rand);
59 #endif // _WEIGHTCALC_H_ std::map< std::string, std::vector< double > > WeightMap_t
static std::vector< std::vector< double > > MultiGaussianSmearing(std::vector< double > const ¢ralValues, std::vector< std::vector< double >> const &inputCovarianceMatrix, int n_multisims, CLHEP::RandGaussQ &GaussRandom)
Applies Gaussian smearing to a set of data.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void SetName(std::string name)
virtual void Configure(fhicl::ParameterSet const &pset)=0
virtual std::vector< std::vector< double > > GetWeight(art::Event &e)=0