1 #include "ToyVariations.hxx" 24 Double_t total_weight=1;
25 for (Int_t i=0;i<nWeights;i++)
36 Double_t total_weight=1;
37 for (Int_t i=0;i<nBins;i++){
38 total_weight *=
Weights[bins[i]];
Float_t * Variations
the vector of Variations, one for each of the systematic parameters
Float_t * Weights
the vector of Weights, one for each of the systematic parameters
ToyVariations(Int_t npar)
Create the systematic,.
Double_t GetWeight() const
Computes the total weight for all systematic parameters.
virtual ~ToyVariations()
Everyone should have a destructor.