DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | Protected Attributes | List of all members
dd4hep::align::AlignmentsPrinter Class Reference

Generic Alignments data dumper. More...

#include <AlignmentsPrinter.h>

Inheritance diagram for dd4hep::align::AlignmentsPrinter:
dd4hep::align::AlignedVolumePrinter

Public Member Functions

 AlignmentsPrinter ()=delete
 No default constructor. More...
 
 AlignmentsPrinter (ConditionsMap *m, const std::string &prefix="", int flags=0)
 Initializing constructor. More...
 
virtual ~AlignmentsPrinter ()=default
 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 alignments information of an entire DetElement. More...
 
virtual int operator() (Alignment alignment) const
 Callback to output alignments information. More...
 

Public Attributes

ConditionsMapmapping
 Conditionsmap to resolve things. More...
 
std::string name
 Printer name. Want to know who is printing what. More...
 
std::string prefix
 Printout prefix. More...
 
PrintLevel printLevel
 Printout level. More...
 

Protected Attributes

int m_flag
 Printout processing and customization flag. More...
 

Detailed Description

Generic Alignments 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!

Author
M.Frank
Version
1.0
Date
31/03/2016

Definition at line 38 of file AlignmentsPrinter.h.

Constructor & Destructor Documentation

◆ AlignmentsPrinter() [1/2]

dd4hep::align::AlignmentsPrinter::AlignmentsPrinter ( )
delete

No default constructor.

◆ AlignmentsPrinter() [2/2]

AlignmentsPrinter::AlignmentsPrinter ( ConditionsMap m,
const std::string &  prefix = "",
int  flags = 0 
)

Initializing constructor.

Definition at line 29 of file AlignmentsPrinter.cpp.

◆ ~AlignmentsPrinter()

virtual dd4hep::align::AlignmentsPrinter::~AlignmentsPrinter ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ operator()() [1/2]

int AlignmentsPrinter::operator() ( Alignment  alignment) const
virtual

Callback to output alignments information.

Reimplemented in dd4hep::align::AlignedVolumePrinter.

Definition at line 35 of file AlignmentsPrinter.cpp.

◆ operator()() [2/2]

int AlignmentsPrinter::operator() ( DetElement  de,
int  level 
) const
virtual

Callback to output alignments information of an entire DetElement.

Reimplemented in dd4hep::align::AlignedVolumePrinter.

Definition at line 41 of file AlignmentsPrinter.cpp.

◆ setName()

void dd4hep::align::AlignmentsPrinter::setName ( const std::string &  value)
inline

Set name for printouts.

Definition at line 60 of file AlignmentsPrinter.h.

◆ setPrefix()

void dd4hep::align::AlignmentsPrinter::setPrefix ( const std::string &  value)
inline

Set prefix for printouts.

Definition at line 62 of file AlignmentsPrinter.h.

Member Data Documentation

◆ m_flag

int dd4hep::align::AlignmentsPrinter::m_flag
protected

Printout processing and customization flag.

Definition at line 50 of file AlignmentsPrinter.h.

◆ mapping

ConditionsMap* dd4hep::align::AlignmentsPrinter::mapping

Conditionsmap to resolve things.

Definition at line 41 of file AlignmentsPrinter.h.

◆ name

std::string dd4hep::align::AlignmentsPrinter::name

Printer name. Want to know who is printing what.

Definition at line 43 of file AlignmentsPrinter.h.

◆ prefix

std::string dd4hep::align::AlignmentsPrinter::prefix

Printout prefix.

Definition at line 45 of file AlignmentsPrinter.h.

◆ printLevel

PrintLevel dd4hep::align::AlignmentsPrinter::printLevel

Printout level.

Definition at line 47 of file AlignmentsPrinter.h.


The documentation for this class was generated from the following files: