1 #ifndef ToyExperiment_h 2 #define ToyExperiment_h 4 #include "ToyVariations.hxx" 8 const UInt_t NMAXSYSTEMATICS=100;
Float_t * Variations
the vector of Variations, one for each of the systematic parameters
UInt_t GetNParameters() const
Number of parameters for this systematic.
Float_t * Weights
the vector of Weights, one for each of the systematic parameters
UInt_t GetNToyVariations() const
Get the number of toyVariations in this toy.
ToyVariations * _toyVariations[NMAXSYSTEMATICS]
vector of variations (one for each Systematic)
ToyExperiment()
Create the Toy experiment.
void SetToyVariation(UInt_t index, UInt_t ipar, Float_t var, Float_t weight=1.)
Set the variation for a given systematic (index) and a given parameter (ipar) in that systematic...
ToyVariations * GetToyVariations(UInt_t index) const
returns the variations for a given systematic (index)
UInt_t GetNParameters(UInt_t index) const
Get the number of parameters in this systematic.
UInt_t _nToyVariations
Total number of toyVariations.
void AddToyVariation(Int_t index, UInt_t npar)
Add a systematic, specifying the systematic index and number of systematic parameters.
virtual ~ToyExperiment()
Everyone should have a destructor.
void SetToyVariation(UInt_t index, Float_t var, Float_t weight=1.)
Set the variation for a given systematic (index) with a single parameter.