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);
53 return std::rbegin(fRunList);
57 return std::rend(fRunList);
64 void Add(
const run_index_list&);
69 void Remove(
const run_index_list&);
73 return fRunList.count(r) > 0;
77 return fRunList.empty();
79 TString GetList(
bool no_commas =
true)
const;
80 void SetList(
const TString& slist);
81 void SetListSelection(
const TString& slist,
const run_index_list& full_list);
83 Int_t GetNValues()
const
85 return fRunList.size();
87 Int_t GetEntries()
const
97 std::cout << AsString() << std::endl;
99 void Inter(
const run_index_list&);
102 friend run_index_list
operator-(
const run_index_list& A,
const run_index_list& B)
109 friend run_index_list
operator+(
const run_index_list& A,
const run_index_list& B)
119 auto it = fRunList.cbegin();
125 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)