1 #ifndef _UTIL_ONLINE__H_
2 #define _UTIL_ONLINE__H_
7 static std::string m_dir_end;
8 static std::string m_dir_coda;
9 static std::string m_dir_dst;
10 static std::string m_dir_eddst;
11 static std::string m_dir_onlmon;
12 static std::string m_sch_maindaq;
40 static std::vector<std::string>
GetListOfSpillDSTs(
const int run,
const std::string dir_dst=
"");
47 static std::string
Run6(
const int run,
const int digit=6);
48 static std::string
Spill9(
const int spill,
const int digit=9);
static std::string GetSchemaMainDaq()
static std::string GetSpillDstFile(const int run, const int spill)
Convert a run+spill number to the corresponding name of DST file.
static std::string Spill9(const int spill, const int digit=9)
static std::string GetDstFilePath(const int run)
static void SetSchemaMainDaq(const std::string sch)
static void SetEDDstFileDir(const std::string dir)
static void UseOutputLocationForDevel()
static std::string RunNum2EndFile(const int run)
Convert a run number to the corresponding name of END file.
static std::string GetOnlMonDir()
static int CodaFile2RunNum(const std::string name)
Convert the name of a Coda file to its run number.
static void SetCodaFileDir(const std::string dir)
static std::string RunNum2CodaFile(const int run)
Convert a run number to the corresponding name of Coda file.
static std::string GetCodaFileDir()
static std::string GetCodaFilePath(const int run)
static void SetOnlMonDir(const std::string dir)
static std::string GetEndFileDir()
static std::string GetSpillDstPath(const int run, const int spill)
static std::string Run6(const int run, const int digit=6)
static std::string RunNum2DstFile(const int run)
Convert a run number to the corresponding name of DST file.
static std::string GetEDDstFilePath(const int run)
static std::vector< std::string > GetListOfSpillDSTs(const int run, const std::string dir_dst="")
static std::string GetDstFileDir()
static std::string GetEndFilePath(const int run)
static void SetEndFileDir(const std::string dir)
static std::string RunNum2EDDstFile(const int run)
Convert a run number to the corresponding name of edDST file.
static std::string GetEDDstFileDir()
static std::string GetSpillDstDir(const int run)
Get a directory of spill-level DST files.
static void SetDstFileDir(const std::string dir)