13 std::vector<int> m_list_run;
20 void SelectEnv(
const std::string env) { m_env = env; }
23 int GetN()
const {
return m_list_run.size(); }
26 int GetRun(
const int idx) {
return m_list_run[idx]; }
29 int OpenRunFile(
const std::string dir_base,
const int index,
int& run_id, TFile*& file);
Helper class to handle the run list in ROOT macro.
int GetRun(const int idx)
Get the run ID at idx.
int OpenRunFile(const std::string dir_base, const int index, int &run_id, TFile *&file)
Open the input file for the run at index under dir_base.
int Verbosity() const
Get the verbosity.
int GetN() const
Get the number of runs contained.
void SelectEnv(const std::string env)
Select the environment.
RunList(const std::string ds)
void Verbosity(const int verb)
Set the verbosity.