Go to the documentation of this file. 1 #ifndef CDFRunInfo_hh_included
2 #define CDFRunInfo_hh_included 1
21 const char*
get(
const char*
key)
const;
38 void store(TFile* toFile);
41 bool load(TFile* fromFile);
46 #endif // CDFRunInfo_hh_included
const char * get(const char *key) const
Get some run info by name.
double getDouble(const char *key) const
Get a run info item by name and convert it to a double.
bool hasKey(const char *key) const
test for thr presence of given key
void store(TFile *toFile)
static const char * RootVariableName
bool load(TFile *fromFile)
std::map< std::string, std::string > m_mapData
Per-run or per-file information.
int getKeys(const char **buffer, int nbufs)
fill the given array with key name pointers
int getInt(const char *key) const
Get a run info item by name and convert it to an integer.
int getSize() const
get the number of items
void print() const
print all information to the terminal
void setInfo(const char *key, const char *value)
add some information to the run info