53 _realSet(
"realSet",
"Set of real-valued components to be tracked",this),
54 _catSet(
"catSet",
"Set of discrete-valued components to be tracked",this),
59for (
const auto arg : trackSet) {
69 for (
unsigned int i=0; i <
_realSet.size(); ++i) {
74 for (
unsigned int i=0; i <
_catSet.size(); ++i) {
76 _catRef[i++] = cat->getCurrentIndex() ;
128 bool valuesChanged(
false) ;
131 for (
unsigned int i=0; i <
_realSet.size(); ++i) {
133 if (real->getVal() !=
_realRef[i]) {
135 valuesChanged = true ;
140 for (
unsigned int i=0; i <
_catSet.size(); ++i) {
142 if (cat->getCurrentIndex() !=
_catRef[i]) {
144 valuesChanged = true ;
145 _catRef[i] = cat->getCurrentIndex() ;
159 return valuesChanged ;
166 for (
unsigned int i=0; i <
_realSet.size(); ++i) {
168 if (real->getVal() !=
_realRef[i]) {
173 for (
unsigned int i=0; i <
_catSet.size(); ++i) {
175 if (cat->getCurrentIndex() !=
_catRef[i]) {
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
void clearValueDirty() const
bool isValueDirty() const
A space to attach TBranches.
RooAbsReal()
coverity[UNINIT_CTOR] Default constructor
RooArgSet is a container object that can hold multiple RooAbsArg objects.
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
std::vector< Int_t > _catRef
Reference values for categories.
RooArgSet parameters() const
std::vector< double > _realRef
Reference values for reals.
RooListProxy _realSet
List of reals to track.