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;
74 : _sumPdf(&sumPdf), _tracker(&tracker)
120 void findShape(
const std::vector<double> &
x)
const;
144 inline int sij(
const int &i,
const int &j)
const {
return (i * _obsList.
getSize() + j); }
virtual Bool_t selfNormalized() const
virtual Double_t getVal(const RooArgSet *set=0) const
Grid(const RooAbsBinning &binning_x, const RooAbsBinning &binning_y, const RooAbsBinning &binning_z)
void addPdf(const RooAbsPdf &pdf, int bin_x)
TIterator * _obsItr
Do not persist.
Grid(const RooAbsBinning &binning_x, const RooAbsBinning &binning_y)
std::vector< int > _nnuis
void useHorizontalMorphing(Bool_t val)
void addBinning(const RooAbsBinning &binning)
void findShape(const std::vector< double > &x) const
virtual RooAbsBinning * clone(const char *name=0) const =0
Iterator abstract base class.
void operModeHook(RooAbsArg::OperMode)
Interface for operation mode change calls.
CacheElem(RooAbsPdf &sumPdf, RooChangeTracker &tracker, const RooArgList &flist)
#define ClassDef(name, id)
Grid(const std::vector< RooAbsBinning *> binnings)
void initializeParameters(const RooArgList &parList)
std::vector< int > _squareIdx
RooRealVar represents a fundamental (non-derived) real valued object.
void setMode(const Setting &setting)
Grid(const RooAbsBinning &binning_x)
std::vector< std::vector< double > > _squareVec
Grid _referenceGrid
Do not persist.
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
Bool_t setBinIntegrator(RooArgSet &allVars)
CacheElem * getCache(const RooArgSet *nset) const
RooListProxy is the concrete proxy for RooArgList objects.
RooChangeTracker * _tracker
RooAbsPdf * sumPdf(const RooArgSet *nset)
RooObjCacheManager _cacheMgr
std::vector< RooAbsBinning * > _grid
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Class RooObjCacheManager is an implementation of class RooCacheManager<RooAbsCacheElement> and specia...
Double_t evaluate() const
int sij(const int &i, const int &j) const
RooChangeTracker is a meta object that tracks value changes in a given set of RooAbsArgs by registeri...
virtual TObject * clone(const char *newname) const
Mother of all ROOT objects.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooSetProxy is the concrete proxy for RooArgSet objects.
std::vector< std::vector< double > > _nref
std::map< std::vector< int >, int > _pdfMap
void initializeObservables(const RooArgList &obsList)
virtual ~RooMomentMorphND()