66  _realSet(
"realSet",
"Set of real-valued components to be tracked",this),
 
   67  _catSet(
"catSet",
"Set of discrete-valued components to be tracked",this),
 
   68  _realRef(trackSet.getSize()),
 
   69  _catRef(trackSet.getSize()),
 
   70  _checkVal(checkValues),
 
   73for (
const auto arg : trackSet) {
 
  103  _realSet(
"realSet",this,other._realSet),
 
  104  _catSet(
"catSet",this,other._catSet),
 
  105  _realRef(other._realRef),
 
  106  _catRef(other._catRef),
 
  107  _checkVal(other._checkVal),
 
  143    bool valuesChanged(
false) ;
 
  148      if (real->getVal() != 
_realRef[i]) {
 
  150        valuesChanged = true ;
 
  157      if (cat->getCurrentIndex() != 
_catRef[i]) {
 
  159        valuesChanged = true ;
 
  160        _catRef[i] = cat->getCurrentIndex() ;
 
  174    return valuesChanged ;
 
  183      if (real->getVal() != 
_realRef[i]) {
 
  190      if (cat->getCurrentIndex() != 
_catRef[i]) {
 
void clearValueDirty() const
 
bool isValueDirty() const
 
A space to attach TBranches.
 
virtual value_type getCurrentIndex() const
Return index number of current state.
 
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
 
Storage_t::size_type size() const
 
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
 
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
 
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.
 
RooChangeTracker is a meta object that tracks value changes in a given set of RooAbsArgs by registeri...
 
bool hasChanged(bool clearState)
Returns true if state has changed since last call with clearState=true.
 
RooListProxy _catSet
List of categories to check.
 
bool _checkVal
Check contents as well if true.
 
RooChangeTracker()
Default constructor.
 
std::vector< Int_t > _catRef
Reference values for categories.
 
RooArgSet parameters() const
 
~RooChangeTracker() override
Destructor.
 
std::vector< double > _realRef
Reference values for reals.
 
RooListProxy _realSet
List of reals to track.
 
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...