7 #ifndef ROOMOMENTMORPHFUNCND 8 #define ROOMOMENTMORPHFUNCND 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 Grid2(
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 RooAbsReal &func,
int bin_x);
60 void addPdf(
const RooAbsReal &func,
int bin_x,
int bin_y);
61 void addPdf(
const RooAbsReal &func,
int bin_x,
int bin_y,
int bin_z);
62 void addPdf(
const RooAbsReal &func, vector<int> bins);
65 mutable vector<RooAbsBinning *> _grid;
69 mutable vector<vector<double>>
_nref;
79 : _sumFunc(&sumFunc), _tracker(&tracker)
119 void initializeParameters(
const RooArgList &parList);
120 void initializeObservables(
const RooArgList &obsList);
125 template <
typename T>
127 typename vector<T>::const_iterator
begin;
128 typename vector<T>::const_iterator
end;
129 typename vector<T>::const_iterator
me;
132 template <
typename T>
134 template <
typename Iterator>
136 void findShape(
const vector<double> &
x)
const;
160 inline int sij(
const int &i,
const int &j)
const {
return (i * _obsList.
getSize() + j); }
void setMode(const Setting &setting)
TIterator * _obsItr
do not persist
vector< T >::const_iterator begin
CacheElem(RooAbsReal &sumFunc, RooChangeTracker &tracker, const RooArgList &flist)
Grid2(const RooAbsBinning &binning_x)
vector< vector< double > > _squareVec
int sij(const int &i, const int &j) const
Grid2(const vector< RooAbsBinning *> binnings)
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.
bool next_combination(const Iterator first, Iterator k, const Iterator last)
#define ClassDef(name, id)
void operModeHook(RooAbsArg::OperMode)
Interface for operation mode change calls.
vector< vector< double > > _nref
RooObjCacheManager _cacheMgr
RooRealVar represents a fundamental (non-derived) real valued object.
vector< T >::const_iterator me
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
void useHorizontalMorphing(Bool_t val)
RooListProxy is the concrete proxy for RooArgList objects.
Grid2(const RooAbsBinning &binning_x, const RooAbsBinning &binning_y, const RooAbsBinning &binning_z)
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
virtual TObject * clone(const char *newname) const
vector< T >::const_iterator end
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...
Grid2(const RooAbsBinning &binning_x, const RooAbsBinning &binning_y)
RooChangeTracker * _tracker
void cartesian_product(vector< vector< T >> &out, vector< vector< T >> &in)
RooChangeTracker is a meta object that tracks value changes in a given set of RooAbsArgs by registeri...
Mother of all ROOT objects.
static std::shared_ptr< std::function< double(double)> > Linear
RooSetProxy is the concrete proxy for RooArgSet objects.
map< vector< int >, int > _pdfMap
void addBinning(const RooAbsBinning &binning)
void initialize(typename Architecture_t::Matrix_t &A, EInitialization m)
virtual Bool_t selfNormalized() const