DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Generic Conditions data dumper. More...
#include <ConditionsPrinter.h>
Classes | |
class | ParamPrinter |
DDDB Conditions data dumper helper to output parameter maps. More... | |
Public Member Functions | |
ConditionsPrinter (ConditionsMap *m, const std::string &prefix="", int flag=Condition::NO_NAME|Condition::WITH_IOV|Condition::WITH_ADDRESS) | |
Initializing constructor. More... | |
virtual | ~ConditionsPrinter () |
Default destructor. More... | |
void | setName (const std::string &value) |
Set name for printouts. More... | |
void | setPrefix (const std::string &value) |
Set prefix for printouts. More... | |
virtual int | operator() (DetElement de, int level) const |
Callback to output conditions information of an entire DetElement. More... | |
virtual int | operator() (Condition condition) const |
Callback to output conditions information. More... | |
Public Attributes | |
std::string | name |
Printer name. Want to know who is printing what. More... | |
std::string | prefix |
Printout prefix. More... | |
PrintLevel | printLevel = INFO |
Printout level. More... | |
size_t | lineLength = 80 |
Line length. More... | |
size_t | numParam = 0 |
Counter: number of parameters. More... | |
size_t | numCondition = 0 |
Counter: number of conditions. More... | |
size_t | numEmptyCondition = 0 |
Counter: number of empty conditions. More... | |
bool | summary = true |
Flag to print summary. More... | |
Protected Attributes | |
ParamPrinter * | m_print = 0 |
Sub-printer. More... | |
ConditionsMap * | mapping = 0 |
Conditionsmap to resolve things. More... | |
int | m_flag = 0 |
Printout processing and customization flag. More... | |
Friends | |
class | ParamPrinter |
Generic Conditions data dumper.
Please note that the principle of locality applies: The object is designed for stack allocation and configuration. It may NOT be shared across threads!
Definition at line 38 of file ConditionsPrinter.h.
ConditionsPrinter::ConditionsPrinter | ( | ConditionsMap * | m, |
const std::string & | prefix = "" , |
||
int | flag = Condition::NO_NAME|Condition::WITH_IOV|Condition::WITH_ADDRESS |
||
) |
Initializing constructor.
Definition at line 117 of file ConditionsPrinter.cpp.
|
virtual |
Default destructor.
Definition at line 124 of file ConditionsPrinter.cpp.
|
virtual |
Callback to output conditions information.
Actual print method.
Definition at line 136 of file ConditionsPrinter.cpp.
|
virtual |
Callback to output conditions information of an entire DetElement.
Processing callback to print conditions.
Definition at line 264 of file ConditionsPrinter.cpp.
|
inline |
Set name for printouts.
Definition at line 79 of file ConditionsPrinter.h.
|
inline |
Set prefix for printouts.
Definition at line 81 of file ConditionsPrinter.h.
|
friend |
Definition at line 42 of file ConditionsPrinter.h.
size_t dd4hep::cond::ConditionsPrinter::lineLength = 80 |
Line length.
Definition at line 62 of file ConditionsPrinter.h.
|
protected |
Printout processing and customization flag.
Definition at line 51 of file ConditionsPrinter.h.
|
protected |
Sub-printer.
Definition at line 45 of file ConditionsPrinter.h.
|
protected |
Conditionsmap to resolve things.
Definition at line 47 of file ConditionsPrinter.h.
std::string dd4hep::cond::ConditionsPrinter::name |
Printer name. Want to know who is printing what.
Setup parameters to configure printout
Definition at line 56 of file ConditionsPrinter.h.
|
mutable |
Counter: number of conditions.
Definition at line 66 of file ConditionsPrinter.h.
|
mutable |
Counter: number of empty conditions.
Definition at line 68 of file ConditionsPrinter.h.
size_t dd4hep::cond::ConditionsPrinter::numParam = 0 |
Counter: number of parameters.
Definition at line 64 of file ConditionsPrinter.h.
std::string dd4hep::cond::ConditionsPrinter::prefix |
Printout prefix.
Definition at line 58 of file ConditionsPrinter.h.
PrintLevel dd4hep::cond::ConditionsPrinter::printLevel = INFO |
Printout level.
Definition at line 60 of file ConditionsPrinter.h.
bool dd4hep::cond::ConditionsPrinter::summary = true |
Flag to print summary.
Definition at line 70 of file ConditionsPrinter.h.