58 RooAbsOptTestStatistic(name,title,pdf,indata,projdeps,0,0,nCPU,interleave,verbose,
kFALSE),
59 _showProgress(showProgress)
62 coutI(
Plotting) <<
"RooDataWeightedAverage::ctor(" <<
GetName() <<
") constructing data weighted average of function " << pdf.
GetName()
63 <<
" over " << indata.
numEntries() <<
" data points of " << *(indata.
get()) <<
" with a total weight of " << indata.
sumEntries() << endl ;
74 _sumWeight(other._sumWeight),
75 _showProgress(other._showProgress)
117 for (i=firstEvent ; i<lastEvent ; i+=stepSize) {
virtual Double_t sumEntries() const =0
virtual Double_t globalNormalization() const
Return global normalization term by which raw (combined) test statistic should be defined to obtain f...
Double_t getVal(const RooArgSet *set=0) const
virtual const RooArgSet * get() const
ClassImp(RooDataWeightedAverage)
virtual Int_t numEntries() const
virtual const char * GetName() const
Returns name of object.
RooAbsDataStore * store()
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual Double_t evaluatePartition(Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const
Calculate the data weighted average for events [firstEVent,lastEvent] with step size stepSize...
virtual Double_t weight() const =0
virtual ~RooDataWeightedAverage()
Destructor.
virtual void recalculateCache(const RooArgSet *, Int_t, Int_t, Int_t, Bool_t)