1 #include "ToyMaker.hxx" 11 for (UInt_t isyst = 0; isyst<NMAXSYSTEMATICS;isyst++)
19 for (std::vector<ToyExperiment*>::iterator it=
_toys.begin();it!=
_toys.end();it++){
37 if (systematicsEnabled.size()==0)
return;
40 for (UInt_t i=0;i<systematicsEnabled.size();i++){
43 if (systematicsEnabled[i])
48 for (Int_t itoy= 0; itoy<ntoys; itoy++){
Int_t GetIndex() const
Return the index of this systematic.
void AddSystematic(SystematicBase *sys)
Add a SystematicBase.
std::vector< ToyExperiment * > _toys
The vector of toys.
SystematicBase * _systematics[NMAXSYSTEMATICS]
The systematics that need to be considered.
ToyMaker()
Create the Toy experiment.
void CreateToyExperiments(Int_t ntoys, const std::vector< SystematicBase *> &systematicsEnabled)
Create the Toy Experiment, provided the number of toys,.
virtual ~ToyMaker()
Everyone should have a destructor.
virtual void FillToyExperiment(ToyExperiment &toy)=0
Fills the Toy Experiment with a given index.