66 _set1(
"set1",
"First set of components",this),
67 _paramSet(
"paramSet",
"Set of parameters",this)
69 for (
const auto comp : constraintSet) {
72 <<
" is not of type RooAbsPdf" << endl ;
90 _set1(
"set1",this,other._set1),
91 _paramSet(
"paramSet",this,other._paramSet)
115 for (
const auto comp :
_set1) {
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooConstraintSum calculates the sum of the -(log) likelihoods of a set of RooAbsPfs that represent co...
RooConstraintSum()
Default constructor.
virtual ~RooConstraintSum()
Destructor.
Double_t evaluate() const
Return sum of -log of constraint p.d.f.s.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Overloaded RooArgSet::add() method inserts 'var' into set and registers 'var' as server to owner with...
virtual const char * GetName() const
Returns name of object.
static long int sum(long int i)