38using std::endl, std::vector, std::string;
51 _catList(
"catList",
"list of cats",
this),
52 _effFuncList(
"effFuncList",
"list of eff funcs",
this),
59 coutE(InputArguments) <<
"RooMultiBinomial::ctor(" <<
GetName() <<
") ERROR: Wrong input, should have equal number of categories and efficiencies." << std::endl;
60 throw string(
"RooMultiBinomial::ctor() ERROR: Wrong input, should have equal number of categories and efficiencies") ;
71 _effFuncList(
"effFuncList",
this,
other._effFuncList),
72 _ignoreNonVisible(
other._ignoreNonVisible)
96 <<
" ), for i = " << i <<
"...TRUNCATED" << std::endl;
101 <<
" ), for i = " << i <<
"...TRUNCATED" << std::endl;
119 coutW(Eval) <<
"WARNING: WRONG CATEGORY NAMES GIVEN!, label = " << (
static_cast<RooAbsCategory&
>(
_catList[i])).getCurrentIndex() << std::endl;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A space to attach TBranches.
Storage_t::size_type size() const
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgList is a container object that can hold multiple RooAbsArg objects.
bool add(const RooAbsArg &var, bool valueServer, bool shapeServer, bool silent)
Overloaded RooCollection_t::add() method insert object into set and registers object as server to own...
RooMultiBinomial is an efficiency function which makes all combinations of efficiencies given as inpu...
RooListProxy _effFuncList
double evaluate() const override
Calculate the raw value of the function which is the effFunc value if cat==1 and it is (1-effFunc) if...
const char * GetName() const override
Returns name of object.