68  _realSet(
"realSet",
"Set of real-valued components to be tracked",this),
 
   69  _catSet(
"catSet",
"Set of discrete-valued components to be tracked",this),
 
   70  _realRef(trackSet.getSize()),
 
   71  _catRef(trackSet.getSize()),
 
   72  _checkVal(checkValues),
 
   75for (
const auto arg : trackSet) {
 
   92      _catRef[i++] = cat->getIndex() ;
 
  105  _realSet(
"realSet",this,other._realSet),
 
  106  _catSet(
"catSet",this,other._catSet),
 
  107  _realRef(other._realRef),
 
  108  _catRef(other._catRef),
 
  109  _checkVal(other._checkVal),
 
  150      if (real->getVal() != 
_realRef[i]) {
 
  152        valuesChanged = 
kTRUE ;
 
  159      if (cat->getIndex() != 
_catRef[i]) {
 
  161        valuesChanged = 
kTRUE ;
 
  170      valuesChanged=
kTRUE ;
 
  176    return valuesChanged ;
 
  185      if (real->getVal() != 
_realRef[i]) {
 
  192      if (cat->getIndex() != 
_catRef[i]) {
 
Bool_t isValueDirty() const
void clearValueDirty() const
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
Storage_t::size_type size() const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooAbsArg * at(Int_t idx) const
Return object at given index, or nullptr if index is out of range.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
RooChangeTracker is a meta object that tracks value changes in a given set of RooAbsArgs by registeri...
std::vector< Double_t > _realRef
RooChangeTracker()
Default constructor.
Bool_t hasChanged(Bool_t clearState)
Returns true if state has changed since last call with clearState=kTRUE.
std::vector< Int_t > _catRef
virtual ~RooChangeTracker()
Destructor.
RooArgSet parameters() const
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()