7#ifndef ROOMOMENTMORPHND
8#define ROOMOMENTMORPHND
47 Grid(
const std::vector<RooAbsBinning *> binnings)
49 for (
unsigned int i = 0; i < binnings.size(); i++) {
62 mutable std::vector<RooAbsBinning *>
_grid;
64 mutable std::map<std::vector<int>,
int>
_pdfMap;
66 mutable std::vector<std::vector<double>>
_nref;
120 void findShape(
const std::vector<double> &
x)
const;
#define ClassDef(name, id)
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
virtual RooAbsBinning * clone(const char *name=0) const =0
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooChangeTracker is a meta object that tracks value changes in a given set of RooAbsArgs by registeri...
RooListProxy is the concrete proxy for RooArgList objects.
RooChangeTracker * _tracker
CacheElem(RooAbsPdf &sumPdf, RooChangeTracker &tracker, const RooArgList &flist)
virtual RooArgList containedArgs(Action)
void operModeHook(RooAbsArg::OperMode)
Interface for operation mode change calls.
void calculateFractions(const RooMomentMorphND &self, Bool_t verbose=kTRUE) const
void addBinning(const RooAbsBinning &binning)
std::vector< std::vector< double > > _nref
Grid(const RooAbsBinning &binning_x)
std::map< std::vector< int >, int > _pdfMap
Grid(const RooAbsBinning &binning_x, const RooAbsBinning &binning_y, const RooAbsBinning &binning_z)
Grid(const RooAbsBinning &binning_x, const RooAbsBinning &binning_y)
Grid(const std::vector< RooAbsBinning * > binnings)
std::vector< RooAbsBinning * > _grid
void addPdf(const RooAbsPdf &pdf, int bin_x)
std::vector< int > _nnuis
virtual Double_t getVal(const RooArgSet *set=0) const
std::vector< int > _squareIdx
Grid _referenceGrid
Do not persist.
CacheElem * getCache(const RooArgSet *nset) const
RooObjCacheManager _cacheMgr
Bool_t setBinIntegrator(RooArgSet &allVars)
std::vector< std::vector< double > > _squareVec
void useHorizontalMorphing(Bool_t val)
void initializeObservables(const RooArgList &obsList)
virtual TObject * clone(const char *newname) const
void setMode(const Setting &setting)
int sij(const int &i, const int &j) const
void findShape(const std::vector< double > &x) const
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
TIterator * _obsItr
Do not persist.
virtual Bool_t selfNormalized() const
virtual ~RooMomentMorphND()
RooAbsPdf * sumPdf(const RooArgSet *nset)
void initializeParameters(const RooArgList &parList)
Class RooObjCacheManager is an implementation of class RooCacheManager<RooAbsCacheElement> and specia...
RooRealVar represents a variable that can be changed from the outside.
RooSetProxy is the concrete proxy for RooArgSet objects.
Iterator abstract base class.
Mother of all ROOT objects.