44 coutP(Generation) <<
"initialize" << endl;
47 coutE(InputArguments) <<
"Need an instance of ToyMCSampler to run." << endl;
50 coutI(InputArguments) <<
"Using given ToyMCSampler." << endl;
60 std::cout <<
"Current global seed is " <<
fRandomSeed << std::endl;
64 for (
int i = 0; i<
iworker; ++i)
90 coutP(Generation) <<
"ToyMCStudy::finalize" << endl;
105 coutE(Generation) <<
"ToyMCStudy::merge No detailed output present." << endl;
113 coutW(Generation) <<
"Merging Results problem: not correct type" << endl;
127 coutP(Generation) <<
"Merged data from nworkers # " << i <<
"- merged data size is " <<
samplingOutput->numEntries() << std::endl;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
void storeDetailedOutput(bool flag)
RooLinkedList * detailedData()
Container class to hold unbinned data.
static TRandom * randomGenerator()
Return a pointer to a singleton random-number generator implementation.
virtual RooDataSet * GetSamplingDistributionsSingleWorker(RooArgSet ¶mPoint)
This is the main function for serial runs.
ToyMCStudy is an implementation of RooAbsStudy for toy Monte Carlo sampling.
bool execute(void) override
bool finalize(void) override
ToyMCSampler * fToyMCSampler
bool initialize(void) override
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
Random number generator class based on the maximally quidistributed combined Tausworthe generator by ...
Namespace for the RooStats classes.