DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Private Attributes | List of all members
dd4hep::cond::ConditionsXMLRepositoryWriter Class Reference

Conditions slice object. Defines which conditions should be loaded by the ConditionsManager. More...

Public Member Functions

 ConditionsXMLRepositoryWriter ()=default
 Default constructor. More...
 
 ConditionsXMLRepositoryWriter (const ConditionsXMLRepositoryWriter &copy)=default
 Copy constructor (Special, partial copy only. Hence no assignment!) More...
 
virtual ~ConditionsXMLRepositoryWriter ()
 Default destructor. More...
 
xml::Document dump (ConditionsSlice &slice)
 Dump the tree content into a XML document structure. More...
 
xml::Document dump (ConditionsManager manager)
 Dump the ConditionsManager configuration properties into a XML document structure. More...
 
size_t collect (xml::Element root, ConditionsSlice &slice, DetElement detector)
 Dump the tree content into an existing XML document structure. More...
 
size_t collect (xml::Element root, ConditionsManager manager)
 Dump the ConditionsManager configuration properties into an existing XML document structure. More...
 
size_t collect (xml::Element root, ConditionsSlice &slice)
 Dump the conditions tree content into a XML document structure. More...
 
long write (xml::Document doc, const std::string &output) const
 Write the XML document structure to a file. More...
 

Private Attributes

long m_numConverted = 0
 Debug counters: converted conditions. More...
 
long m_numUnconverted = 0
 Debug counters: unconverted conditions. More...
 

Detailed Description

Conditions slice object. Defines which conditions should be loaded by the ConditionsManager.

Object contains set of required conditions keys to be loaded to the user pool. It alkso contains the load information for the required conditions (conditions addresses). The address objects depend on the actual loader mechanism and must be specified the user. The information is then chained through the calls and made availible to the loader object.

On return it contains the individual condition load information.

Referenced by: ConditonsUserPool, ConditionsManager

Author
M.Frank
Version
1.0

Definition at line 47 of file ConditionsRepositoryWriter.cpp.

Constructor & Destructor Documentation

◆ ConditionsXMLRepositoryWriter() [1/2]

dd4hep::cond::ConditionsXMLRepositoryWriter::ConditionsXMLRepositoryWriter ( )
default

Default constructor.

◆ ConditionsXMLRepositoryWriter() [2/2]

dd4hep::cond::ConditionsXMLRepositoryWriter::ConditionsXMLRepositoryWriter ( const ConditionsXMLRepositoryWriter copy)
default

Copy constructor (Special, partial copy only. Hence no assignment!)

◆ ~ConditionsXMLRepositoryWriter()

ConditionsXMLRepositoryWriter::~ConditionsXMLRepositoryWriter ( )
virtual

Default destructor.

Definition at line 262 of file ConditionsRepositoryWriter.cpp.

Member Function Documentation

◆ collect() [1/3]

size_t ConditionsXMLRepositoryWriter::collect ( xml::Element  root,
ConditionsManager  manager 
)

Dump the ConditionsManager configuration properties into an existing XML document structure.

Access to the property manager

Definition at line 301 of file ConditionsRepositoryWriter.cpp.

◆ collect() [2/3]

size_t ConditionsXMLRepositoryWriter::collect ( xml::Element  root,
ConditionsSlice slice 
)

Dump the conditions tree content into a XML document structure.

Definition at line 285 of file ConditionsRepositoryWriter.cpp.

◆ collect() [3/3]

size_t ConditionsXMLRepositoryWriter::collect ( xml::Element  root,
ConditionsSlice slice,
DetElement  detector 
)

Dump the tree content into an existing XML document structure.

Dump the conditions tree content into a XML document structure.

Definition at line 327 of file ConditionsRepositoryWriter.cpp.

◆ dump() [1/2]

xml::Document ConditionsXMLRepositoryWriter::dump ( ConditionsManager  manager)

Dump the ConditionsManager configuration properties into a XML document structure.

Definition at line 276 of file ConditionsRepositoryWriter.cpp.

◆ dump() [2/2]

xml::Document ConditionsXMLRepositoryWriter::dump ( ConditionsSlice slice)

Dump the tree content into a XML document structure.

Definition at line 268 of file ConditionsRepositoryWriter.cpp.

◆ write()

long ConditionsXMLRepositoryWriter::write ( xml::Document  doc,
const std::string &  output 
) const

Write the XML document structure to a file.

Definition at line 430 of file ConditionsRepositoryWriter.cpp.

Member Data Documentation

◆ m_numConverted

long dd4hep::cond::ConditionsXMLRepositoryWriter::m_numConverted = 0
private

Debug counters: converted conditions.

Definition at line 49 of file ConditionsRepositoryWriter.cpp.

◆ m_numUnconverted

long dd4hep::cond::ConditionsXMLRepositoryWriter::m_numUnconverted = 0
private

Debug counters: unconverted conditions.

Definition at line 51 of file ConditionsRepositoryWriter.cpp.


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