LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Public Member Functions | |
GenieWeightCalc () | |
void | Configure (fhicl::ParameterSet const &pset) |
std::vector< std::vector< double > > | GetWeight (art::Event &e) |
void | SetName (std::string name) |
std::string | GetName () |
Static Public Member Functions | |
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. More... | |
static std::vector< double > | MultiGaussianSmearing (std::vector< double > const ¢ralValue, TMatrixD *const &inputCovarianceMatrix, std::vector< double > rand) |
Over load of the above function that only returns a single varied parameter set. More... | |
static std::vector< double > | MultiGaussianSmearing (std::vector< double > const ¢ralValue, TMatrixD *const &LowerTriangleCovarianceMatrix, bool isDecomposed, std::vector< double > rand) |
Private Attributes | |
std::vector< rwgt::NuReweight * > | reweightVector |
CLHEP::RandGaussQ * | fGaussRandom |
std::string | fGenieModuleLabel |
Definition at line 24 of file GenieWeightCalc.cxx.
|
private |
Definition at line 42 of file GenieWeightCalc.cxx.
evwgh::GenieWeightCalc::GenieWeightCalc | ( | ) |
Definition at line 88 of file GenieWeightCalc.cxx.
|
virtual |
Implements evwgh::WeightCalc.
Definition at line 91 of file GenieWeightCalc.cxx.
References fGaussRandom, fGenieModuleLabel, rwgt::fReweightFrAbs_N, rwgt::fReweightFrAbs_pi, rwgt::fReweightFrCEx_N, rwgt::fReweightFrCEx_pi, rwgt::fReweightFrElas_N, rwgt::fReweightFrElas_pi, rwgt::fReweightFrInel_N, rwgt::fReweightFrInel_pi, rwgt::fReweightFrPiProd_N, rwgt::fReweightFrPiProd_pi, rwgt::fReweightMFP_N, rwgt::fReweightMFP_pi, fhicl::ParameterSet::get(), art::RandomNumberGenerator::getEngine(), evwgh::WeightCalc::GetName(), kAGKYpT, kAGKYxF, kCCResAxial, kCCResVector, kCohMA, kCohR0, kDISAth, kDISBth, kDISCv1u, kDISCv2u, kDISnucl, kFermiGasModelKf, kFermiGasModelSf, kFormZone, kIntraNukeNabs, kIntraNukeNcex, kIntraNukeNel, kIntraNukeNinel, kIntraNukeNmfp, kIntraNukeNpi, kIntraNukePIabs, kIntraNukePIcex, kIntraNukePIel, kIntraNukePIinel, kIntraNukePImfp, kIntraNukePIpi, kNC, kNCELaxial, kNCELeta, kNCResAxial, kNCResVector, kNonResRvbarp1pi, kNonResRvbarp2pi, kNonResRvp1pi, kNonResRvp2pi, kNReWeights, kQEMA, kQEVec, kResDecayEta, kResDecayGamma, kResDecayTheta, kResGanged, reweightVector, and s.
|
inlineinherited |
Definition at line 24 of file WeightCalc.h.
References evwgh::WeightCalc::fName, evwgh::WeightCalc::MultiGaussianSmearing(), and lar::dump::vector().
Referenced by Configure().
|
virtual |
Implements evwgh::WeightCalc.
Definition at line 354 of file GenieWeightCalc.cxx.
References fGenieModuleLabel, art::fill_ptr_vector(), art::DataViewImpl::getByLabel(), REGISTER_WEIGHTCALC, reweightVector, and weight.
|
staticinherited |
Applies Gaussian smearing to a set of data.
centralValues | the values to be smeared |
inputCovarianceMatrix | covariance matrix for smearing |
n_multisims | number of sets of smeared values to be produced |
If centralValues is of dimension N, inputCovarianceMatrix needs to be NxN, and each of the returned data sets will be also of dimension N.
Referenced by evwgh::WeightCalc::GetName().
|
staticinherited |
Over load of the above function that only returns a single varied parameter set.
Definition at line 106 of file WeightCalc.cxx.
References col, and art::errors::StdException.
|
staticinherited |
Definition at line 163 of file WeightCalc.cxx.
References col, and art::errors::StdException.
|
inlineinherited |
|
private |
Definition at line 35 of file GenieWeightCalc.cxx.
Referenced by Configure().
|
private |
Definition at line 36 of file GenieWeightCalc.cxx.
Referenced by Configure(), and GetWeight().
|
private |
Definition at line 33 of file GenieWeightCalc.cxx.
Referenced by Configure(), and GetWeight().