54 TString worknumber =
gEnv->
GetValue(
"ProofServ.Ordinal",
"undef");
56 if (worknumber !=
"undef") {
57 iworker = int( worknumber.Atof()*10 + 0.1);
60 std::cout <<
"Current global seed is " << fRandomSeed << std::endl;
64 for (
int i = 0; i< iworker; ++i)
81 RooDataSet* sd = fToyMCSampler->GetSamplingDistributionsSingleWorker(fParamPoint);
83 storeDetailedOutput(*sdw);
93 if(fToyMCSampler)
delete fToyMCSampler;
105 if(!detailedData()) {
106 coutE(
Generation) <<
"ToyMCStudy::merge No detailed output present." << endl;
113 while((o = iter.
Next())) {
116 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;
130 return samplingOutput;
Random number generator class based on the maximally quidistributed combined Tausworthe generator by ...
RooDataSet * GetSamplingDistributions()
ToyMCStudy is an implementation of RooAbsStudy for toy Monte Carlo sampling.
virtual void SetSeed(ULong_t seed=0)
Set the random generator seed.
virtual UInt_t Integer(UInt_t imax)
Returns a random integer on [ 0, imax-1 ].
static TRandom * randomGenerator()
Return a pointer to a singleton random-number generator implementation.
RooDataSet is a container class to hold unbinned data.
Namespace for the RooStats classes.
void append(RooDataSet &data)
Add all data points of given data set to this data set.
Mother of all ROOT objects.
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
void initialize(typename Architecture_t::Matrix_t &A, EInitialization m)
virtual UInt_t GetSeed() const
RooLinkedListIter is the TIterator implementation for RooLinkedList.
virtual Int_t numEntries() const