Metadata information about a DQM file.
More...
#include <DQMFileMetaData.h>
Metadata information about a DQM file.
Definition at line 27 of file DQMFileMetaData.h.
◆ getDatabaseGlobalTag()
const std::string& getDatabaseGlobalTag |
( |
| ) |
const |
|
inline |
Get the database global tag used when creating this file.
If more then one global tag was used by multiple conditions database instances all are concatenated using ',' as separation. If no conditions database was used an empty string is returned
Definition at line 66 of file DQMFileMetaData.h.
◆ Print()
void Print |
( |
Option_t * |
option = "" | ) |
const |
|
overridevirtual |
Print the content of the meta data object.
- Parameters
-
option | Use "all" to print everything, except steering file. Use "steering" for printing (only) steering file. "json" for machine-readable output |
Definition at line 29 of file DQMFileMetaData.cc.
32 const bool all = (option && option == std::string(
"all"));
36 printer.put(
"Run",
m_run);
39 printer.put(
"run type",
m_rtype);
40 printer.put(
"run date",
m_date);
43 printer.put(
"isMC",
m_isMC);
46 std::cout <<
"=== DQMFileMetaData ===\n";
47 std::cout << printer.string();
48 std::cout <<
"=======================\n";
create human-readable or JSON output for key value pairs.
◆ setDatabaseGlobalTag()
void setDatabaseGlobalTag |
( |
const std::string & |
globalTag | ) |
|
|
inline |
Set the database global tag used when creating this file.
If more then one global tag was used by multiple conditions database instances all should be concatenated using ',' as separation. If no conditions database was used an empty string should be set.
Definition at line 118 of file DQMFileMetaData.h.
◆ setExperimentRun()
void setExperimentRun |
( |
int |
experiment, |
|
|
int |
run |
|
) |
| |
|
inline |
Set experiment and run.
- Parameters
-
experiment | experiment number. |
run | run number. |
Definition at line 79 of file DQMFileMetaData.h.
◆ setNEvents()
void setNEvents |
( |
unsigned int |
nEvents | ) |
|
|
inline |
Number of events setter.
- Parameters
-
nEvents | The number of events. |
Definition at line 72 of file DQMFileMetaData.h.
◆ setProcessingID()
void setProcessingID |
( |
const std::string & |
procID | ) |
|
|
inline |
set processing ID
- Parameters
-
procID | processing ID (online,proc9,proc10,etc.) |
Definition at line 100 of file DQMFileMetaData.h.
◆ setRelease()
void setRelease |
( |
const std::string & |
release | ) |
|
|
inline |
◆ setRunDate()
void setRunDate |
( |
const std::string & |
date | ) |
|
|
inline |
◆ setRunType()
void setRunType |
( |
const std::string & |
rtype | ) |
|
|
inline |
set run type
- Parameters
-
rtype | run type (physics,cosmic,local,null) |
Definition at line 108 of file DQMFileMetaData.h.
◆ m_date
◆ m_experiment
◆ m_isMC
◆ m_nEvents
◆ m_release
◆ m_run
The documentation for this class was generated from the following files: