70 _realSet(
"realSet",
"Set of real-valued components to be tracked",this),
71 _catSet(
"catSet",
"Set of discrete-valued components to be tracked",this),
72 _realRef(trackSet.getSize()),
73 _catRef(trackSet.getSize()),
74 _checkVal(checkValues),
83 if (dynamic_cast<RooAbsReal*>(arg)) {
86 if (dynamic_cast<RooAbsCategory*>(arg)) {
116 _realSet(
"realSet",this,other._realSet),
117 _catSet(
"catSet",this,other._catSet),
118 _realRef(other._realRef),
119 _catRef(other._catRef),
120 _checkVal(other._checkVal),
174 valuesChanged =
kTRUE ;
184 valuesChanged =
kTRUE ;
193 valuesChanged=
kTRUE ;
199 return valuesChanged ;
virtual ~RooChangeTracker()
Destructor.
virtual Int_t getIndex() const
Return index number of current state.
Bool_t hasChanged(Bool_t clearState)
Returns true if state has changes since last call with clearState=kTRUE If clearState is true...
std::vector< Int_t > _catRef
Iterator abstract base class.
RooArgSet parameters() const
RooChangeTracker()
Default constructor.
std::map< std::string, std::string >::const_iterator iter
TIterator * createIterator(Bool_t dir=kIterForward) const
Double_t getVal(const RooArgSet *set=0) const
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
Bool_t _init
do not persist
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
TIterator * _catSetIter
do not persist
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooChangeTracker is a meta object that tracks value changes in a given set of RooAbsArgs by registeri...
std::vector< Double_t > _realRef
virtual TObject * Next()=0
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
Bool_t isValueDirty() const
void clearValueDirty() const
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.
ClassImp(RooChangeTracker)