Metadata information about a DQM file.
More...
#include <DQMFileMetaData.h>
Metadata information about a DQM file.
Definition at line 37 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 76 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 31 of file DQMFileMetaData.cc.
34 const bool all = (option && option == std::string(
"all"));
38 printer.put(
"Run",
m_run);
41 printer.put(
"run type",
m_rtype);
42 printer.put(
"run date",
m_date);
45 printer.put(
"isMC",
m_isMC);
48 std::cout <<
"=== DQMFileMetaData ===\n";
49 std::cout << printer.string();
50 std::cout <<
"=======================\n";
◆ 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 128 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 89 of file DQMFileMetaData.h.
◆ setNEvents()
void setNEvents |
( |
unsigned int |
nEvents | ) |
|
|
inline |
Number of events setter.
- Parameters
-
nEvents | The number of events. |
Definition at line 82 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 110 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 118 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: