7 #ifndef ROOMOMENTMORPHND 8 #define ROOMOMENTMORPHND 41 _grid.push_back(binning_x.
clone());
42 _grid.push_back(binning_y.
clone());
46 _grid.push_back(binning_x.
clone());
47 _grid.push_back(binning_y.
clone());
48 _grid.push_back(binning_z.
clone());
50 Grid(
const vector<RooAbsBinning *> binnings)
52 for (
unsigned int i = 0; i < binnings.size(); i++) {
53 _grid.push_back(binnings[i]->clone());
59 void addPdf(
const RooAbsPdf &pdf,
int bin_x);
60 void addPdf(
const RooAbsPdf &pdf,
int bin_x,
int bin_y);
61 void addPdf(
const RooAbsPdf &pdf,
int bin_x,
int bin_y,
int bin_z);
62 void addPdf(
const RooAbsPdf &pdf, vector<int> bins);
65 mutable vector<RooAbsBinning *> _grid;
69 mutable vector<vector<double>>
_nref;
77 : _sumPdf(&sumPdf), _tracker(&tracker)
100 const Grid &referenceGrid,
const Setting &setting);
117 void initializeParameters(
const RooArgList &parList);
118 void initializeObservables(
const RooArgList &obsList);
123 void findShape(
const vector<double> &
x)
const;
147 inline int sij(
const int &i,
const int &j)
const {
return (i * _obsList.
getSize() + j); }
virtual Bool_t selfNormalized() const
vector< vector< double > > _squareVec
Grid(const RooAbsBinning &binning_x, const RooAbsBinning &binning_y, const RooAbsBinning &binning_z)
TIterator * _obsItr
Do not persist.
Grid(const RooAbsBinning &binning_x, const RooAbsBinning &binning_y)
void useHorizontalMorphing(Bool_t val)
void addBinning(const RooAbsBinning &binning)
virtual RooAbsBinning * clone(const char *name=0) const =0
Iterator abstract base class.
void evaluate(typename Architecture_t::Matrix_t &A, EActivationFunction f)
Apply the given activation function to each value in the given matrix A.
void operModeHook(RooAbsArg::OperMode)
Interface for operation mode change calls.
CacheElem(RooAbsPdf &sumPdf, RooChangeTracker &tracker, const RooArgList &flist)
#define ClassDef(name, id)
RooRealVar represents a fundamental (non-derived) real valued object.
void setMode(const Setting &setting)
Grid(const RooAbsBinning &binning_x)
Grid _referenceGrid
Do not persist.
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
RooListProxy is the concrete proxy for RooArgList objects.
RooChangeTracker * _tracker
RooObjCacheManager _cacheMgr
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...
vector< vector< double > > _nref
Class RooObjCacheManager is an implementation of class RooCacheManager<RooAbsCacheElement> and specia...
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.
static std::shared_ptr< std::function< double(double)> > Linear
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooSetProxy is the concrete proxy for RooArgSet objects.
Grid(const vector< RooAbsBinning *> binnings)
map< vector< int >, int > _pdfMap
void initialize(typename Architecture_t::Matrix_t &A, EInitialization m)