5 #include "KVNumberList.h"
30 class run_index_list {
31 std::set<run_index_t> fRunList;
33 run_index_list(
const TString& l)
37 run_index_list() =
default;
38 run_index_list(
const run_index_list&) =
default;
39 run_index_list(run_index_list&&) =
default;
40 run_index_list&
operator=(
const run_index_list&) =
default;
41 run_index_list&
operator=(run_index_list&&) =
default;
45 return std::begin(fRunList);
49 return std::end(fRunList);
56 void Add(
const run_index_list&);
61 void Remove(
const run_index_list&);
65 return fRunList.count(r) > 0;
69 return fRunList.empty();
71 TString GetList(
bool no_commas=
true)
const;
72 void SetList(
const TString& slist);
74 Int_t GetNValues()
const
76 return fRunList.size();
78 Int_t GetEntries()
const
88 std::cout << AsString() << std::endl;
90 void Inter(
const run_index_list&);
93 friend run_index_list
operator-(
const run_index_list& A,
const run_index_list& B)
100 friend run_index_list
operator+(
const run_index_list& A,
const run_index_list& B)
110 auto it = fRunList.cbegin();
116 auto it = fRunList.crbegin();
#define ClassDef(name, id)
Binding & operator=(OUT(*fun)(U0 u0))
Strings used to represent a set of ranges of values.
Specifies a runfile according to run number and file index ,.
Expr< BinaryOpCopyL< MinOp< T >, Constant< A >, SMatrix< T, D, D2, R >, T >, T, D, D2, R > operator-(const A &lhs, const SMatrix< T, D, D2, R > &rhs)
Expr< BinaryOpCopyL< AddOp< T >, Constant< A >, SMatrix< T, D, D2, R >, T >, T, D, D2, R > operator+(const A &lhs, const SMatrix< T, D, D2, R > &rhs)