#ifndef ROO_NLL_VAR
#define ROO_NLL_VAR
#include "RooAbsOptTestStatistic.h"
#include "RooCmdArg.h"
class RooDataWeightedAverage : public RooAbsOptTestStatistic {
public:
RooDataWeightedAverage() {
} ;
RooDataWeightedAverage(const char *name, const char *title, RooAbsReal& real, RooAbsData& data,
Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t showProgress=kFALSE, Bool_t verbose=kTRUE) ;
RooDataWeightedAverage(const RooDataWeightedAverage& other, const char* name=0);
virtual TObject* clone(const char* newname) const { return new RooDataWeightedAverage(*this,newname); }
virtual RooAbsTestStatistic* create(const char *name, const char *title, RooAbsReal& real, RooAbsData& data,
const RooArgSet& , const char* =0, const char* =0,
Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t verbose=kTRUE, Bool_t =kFALSE) {
return new RooDataWeightedAverage(name,title,real,data,nCPU,interleave,verbose) ;
}
virtual Double_t globalNormalization() const ;
virtual ~RooDataWeightedAverage();
protected:
Double_t _sumWeight ;
Bool_t _showProgress ;
virtual Double_t evaluatePartition(Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const ;
ClassDef(RooDataWeightedAverage,1)
};
#endif
Last change: Wed Jun 25 08:32:34 2008
Last generated: 2008-06-25 08:32
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.