Class Reference for E1039 Core & Analysis Software
RunList Class Reference

Helper class to handle the run list in ROOT macro. More...

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-analysis/TrackMixingNMSU/src/RunList.h>

Public Member Functions

 RunList (const std::string ds)
 
virtual ~RunList ()
 
void SelectEnv (const std::string env)
 Select the environment. More...
 
int GetN () const
 Get the number of runs contained. More...
 
int GetRun (const int idx)
 Get the run ID at idx. More...
 
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. More...
 
void Verbosity (const int verb)
 Set the verbosity. More...
 
int Verbosity () const
 Get the verbosity. More...
 

Detailed Description

Helper class to handle the run list in ROOT macro.

Definition at line 8 of file RunList.h.

Constructor & Destructor Documentation

◆ RunList()

RunList::RunList ( const std::string  ds)

Definition at line 8 of file RunList.cc.

◆ ~RunList()

RunList::~RunList ( )
virtual

Definition at line 24 of file RunList.cc.

Member Function Documentation

◆ GetN()

int RunList::GetN ( ) const
inline

Get the number of runs contained.

Definition at line 23 of file RunList.h.

◆ GetRun()

int RunList::GetRun ( const int  idx)
inline

Get the run ID at idx.

Definition at line 26 of file RunList.h.

◆ OpenRunFile()

int RunList::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.

Definition at line 29 of file RunList.cc.

◆ SelectEnv()

void RunList::SelectEnv ( const std::string  env)
inline

Select the environment.

Definition at line 20 of file RunList.h.

◆ Verbosity() [1/2]

int RunList::Verbosity ( ) const
inline

Get the verbosity.

Definition at line 32 of file RunList.h.

◆ Verbosity() [2/2]

void RunList::Verbosity ( const int  verb)
inline

Set the verbosity.

Definition at line 31 of file RunList.h.


The documentation for this class was generated from the following files: