4 #include "art/Framework/Principal/fwd.h"
5 namespace fhicl {
class ParameterSet; }
17 typedef std::map<std::string, std::vector<double> >
WeightMap_t;
22 virtual void Configure(fhicl::ParameterSet
const& pset,
23 CLHEP::HepRandomEngine&) = 0;
24 virtual std::vector<std::vector<double> >
GetWeight(art::Event &
e) = 0;
39 std::vector<double>
const& centralValues,
40 std::vector< std::vector<double>>
const& inputCovarianceMatrix,
41 int n_multisims, CLHEP::RandGaussQ& GaussRandom);
44 std::vector<double>
const& centralValue,
45 TMatrixD*
const& inputCovarianceMatrix,
46 std::vector<double> rand);
49 std::vector<double>
const& centralValue,
50 TMatrixD*
const& LowerTriangleCovarianceMatrix,
52 std::vector<double> rand);
61 #endif // _WEIGHTCALC_H_
std::map< std::string, std::vector< double > > WeightMap_t
virtual void Configure(fhicl::ParameterSet const &pset, CLHEP::HepRandomEngine &)=0
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 std::vector< std::vector< double > > GetWeight(art::Event &e)=0