1 #ifndef CDFRunInfo_hh_included
2 #define CDFRunInfo_hh_included 1
21 const char*
get(
const char*
key)
const;
29 int getKeys(
const char** buffer,
int nbufs);
31 bool hasKey(
const char* key)
const;
38 void store(TFile* toFile);
40 bool load(TFile* fromFile);
45 #endif // CDFRunInfo_hh_included
Per-run or per-file information.
bool hasKey(const char *key) const
test for thr presence of given key
std::map< std::string, std::string > m_mapData
void setInfo(const char *key, const char *value)
add some information to the run info
void store(TFile *toFile)
void print() const
print all information to the terminal
double getDouble(const char *key) const
Get a run info item by name and convert it to a double.
static const char * RootVariableName
int getSize() const
get the number of items
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.
bool load(TFile *fromFile)