Classes | |
class | SBNEventWeight |
class | WeightCalc |
class | WeightCalcCreator |
class | WeightCalcImpl |
class | WeightCalcFactory |
class | WeightManager |
class | FluxWeightCalc |
class | GenieWeightCalc |
struct | EventWeightParameter |
A single parameter to be reweighted. More... | |
class | EventWeightParameterSet |
Container for a set of reweightable parameters. More... | |
Typedefs | |
typedef std::map< std::string, std::vector< float > > | EventWeightMap |
Container for event-level weights. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const sbn::evwgh::EventWeightParameterSet &p) |
std::vector< std::vector < double > > | MultiGaussianSmearing (std::vector< double > const ¢ralValue, std::vector< std::vector< double > > const &inputCovarianceMatrix, int n_multisims, CLHEP::RandGaussQ &GaussRandom) |
std::vector< double > | MultiGaussianSmearing (std::vector< double > const ¢ralValue, TMatrixD *const &inputCovarianceMatrix, std::vector< float > rand) |
std::vector< double > | MultiGaussianSmearing (std::vector< double > const ¢ralValue, TMatrixD *const &LowerTriangleCovarianceMatrix, bool isDecomposed, std::vector< float > rand) |
Container for event-level weights.
Provides a mapping from a string identifier for a particular weight calculator to the corresponding set of weights for each universe.
Definition at line 18 of file EventWeightMap.h.
std::vector< std::vector< double > > sbn::evwgh::MultiGaussianSmearing | ( | std::vector< double > const & | centralValues, |
std::vector< std::vector< double > > const & | inputCovarianceMatrix, | ||
int | n_multisims, | ||
CLHEP::RandGaussQ & | GaussRandom | ||
) |
Apply Gaussian smearing to a set of data.
If centralValues is of dimension N, inputCovarianceMatrix needs to be NxN, and each of the returned data sets will be also of dimension N.
centralValues | the values to be smeared |
inputCovarianceMatrix | covariance matrix for smearing |
n_multisims | number of sets of smeared values to be produced |
Definition at line 10 of file SmearingUtils.cxx.
std::vector< double > sbn::evwgh::MultiGaussianSmearing | ( | std::vector< double > const & | centralValue, |
TMatrixD *const & | inputCovarianceMatrix, | ||
std::vector< float > | rand | ||
) |
Definition at line 86 of file SmearingUtils.cxx.
std::vector< double > sbn::evwgh::MultiGaussianSmearing | ( | std::vector< double > const & | centralValue, |
TMatrixD *const & | LowerTriangleCovarianceMatrix, | ||
bool | isDecomposed, | ||
std::vector< float > | rand | ||
) |
Definition at line 122 of file SmearingUtils.cxx.
std::ostream& sbn::evwgh::operator<< | ( | std::ostream & | os, |
const sbn::evwgh::EventWeightParameterSet & | p | ||
) |
Definition at line 132 of file CAFMaker_module.cc.