8 void run_index_list::Add(
const run_index_list& list)
11 for (
auto& r : list)
Add(r);
19 void run_index_list::Remove(
const run_index_list& list)
22 for (
auto& r : list) Remove(r);
36 TString run_index_list::GetList(
bool no_commas)
const
47 TString separator = (no_commas ?
" " :
", ");
48 for (
auto& r : fRunList) {
51 list +=
r.as_string();
66 void run_index_list::SetList(
const TString& slist)
78 auto n =
b.Next(kTRUE);
106 auto tmp = GetList();
109 if (tmp.Length() > maxlen) {
110 Int_t len_left = maxlen - 3;
111 Int_t len_start = len_left / 2;
112 Int_t len_end = len_left - len_start;
113 TString tmp2 = tmp(0, len_start);
115 tmp2 += tmp2(tmp2.
Length() - len_end, tmp2.
Length() - 1);
128 void run_index_list::Inter(
const run_index_list& list)
135 for (
auto& t : tmp) {
136 if (list.Contains(t))
Add(t);
149 for (
auto& r : *
this)
l.Add(
r.run());
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t b
Strings used to represent a set of ranges of values.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Specifies a runfile according to run number and file index ,.
Double_t Max(Double_t a, Double_t b)