![]() |
Belle II Software
release-08-02-04
|
Mergeable object holding (unique) set of (exp,run) pairs. More...
#include <RunRange.h>


Public Member Functions | |
| RunRange () | |
| Constructor. | |
| RunRange (std::vector< Calibration::ExpRun > expRuns) | |
| Constructor from vector of ExpRun objects. | |
| virtual | ~RunRange () |
| Destructor. | |
| virtual void | clear () |
| Implementation of clearing - resets stored run set. | |
| virtual void | merge (const RunRange *other) |
| Implementation of merging - other is added to the set (union) | |
| void | add (int exp, int run) |
| Add an experiment and run number to the set. | |
| const std::set< Calibration::ExpRun > & | getExpRunSet () |
| Get access to the stored set. | |
| IntervalOfValidity | getIntervalOfValidity () |
| Make IntervalOfValidity from the set, spanning all runs. Works because sets are sorted by default. | |
| Long64_t | Merge (TCollection *hlist) |
| Allow merging using TFileMerger if saved directly to a file. | |
| void | setGranularity (const std::string &granularity) |
| Set the m_granularity to an allowed value. | |
| std::string | getGranularity () const |
| Gets the m_granularity. | |
| void | Reset () |
| Root-like Reset function for "template compatibility" with ROOT objects. More... | |
| void | SetDirectory (TDirectory *) |
| Root-like SetDirectory function for "template compatibility" with ROOT objects. Does nothing. | |
| bool | operator< (const RunRange &other) const |
| Comparison operator so that we can use RunRange in a map as a key. | |
Private Attributes | |
| std::set< Calibration::ExpRun > | m_expRunSet = {} |
| The set of (exp,run) stored in object. | |
| std::string | m_granularity = "run" |
| granularity used by the collector storing the information. | |
Mergeable object holding (unique) set of (exp,run) pairs.
Definition at line 25 of file RunRange.h.
|
inline |
Root-like Reset function for "template compatibility" with ROOT objects.
Alias for clear().
Definition at line 112 of file RunRange.h.