16#ifndef ROO_NORMSET_CACHE
17#define ROO_NORMSET_CACHE
31 const TNamed* set2RangeName =
nullptr)
43 bool autoRefill =
true);
52 using Pair_t = std::pair<Value_t,Value_t>;
Common abstract base class for objects that represent a value and a "shape" in RooFit.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Class RooNormSet cache manage the bookkeeping of multiple instances of sets of integration and normal...
const std::string & nameSet2() const
void clear()
Clear contents.
bool autoCache(const RooAbsArg *self, const RooArgSet *set1, const RooArgSet *set2=nullptr, const TNamed *set2RangeName=nullptr, bool autoRefill=true)
If RooArgSets set1 and set2 or sets with similar contents have been seen by this cache manager before...
std::set< Pair_t > _pairSet
!
std::deque< Pair_t > _pairs
!
bool contains(const RooArgSet *set1, const RooArgSet *set2=nullptr, const TNamed *set2RangeName=nullptr)
void add(const RooArgSet *set1, const RooArgSet *set2=nullptr)
Add given pair of RooArgSet pointers to our store.
std::pair< Value_t, Value_t > Pair_t
RooFit::UniqueId< RooArgSet >::Value_t Value_t
const std::string & nameSet1() const
RooNormSetCache(std::size_t max=32)
The TNamed class is the base class for all named ROOT classes.
UniqueId_t const & getUniqueId(Class const *ptr)
A helper function to replace pointer comparisons with UniqueId comparisons.