![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Write aligment data to XML data file. More...
#include <GlobalAlignmentWriter.h>
Public Member Functions | |
| GlobalAlignmentWriter (Detector &description) | |
| Initializing Constructor. More... | |
| virtual | ~GlobalAlignmentWriter () |
| Standard destructor. More... | |
| xml::Document | dump (DetElement element, bool enable_transactions=false) const |
| Dump one full DetElement subtree into a newly created document. More... | |
| xml::Element | scan (xml::Document doc, DetElement element) const |
| Scan one DetElement structure and return an XML element containing the alignment in this subtree. More... | |
| xml::Element | createElement (xml::Document doc, DetElement element) const |
| Create the element corresponding to one single detector element without children. More... | |
| long | write (xml::Document doc, const std::string &output) const |
| Write the XML document structure to a file. More... | |
Protected Member Functions | |
| void | addNode (xml::Element elt, GlobalAlignment a) const |
| Add single alignment node to the XML document. More... | |
Protected Attributes | |
| Detector & | m_detDesc |
| Reference to detector description. More... | |
| GlobalAlignmentCache * | m_cache |
| Reference to the alignment cache. More... | |
Write aligment data to XML data file.
Definition at line 36 of file GlobalAlignmentWriter.h.
| GlobalAlignmentWriter::GlobalAlignmentWriter | ( | Detector & | description | ) |
Initializing Constructor.
Definition at line 35 of file GlobalAlignmentWriter.cpp.
|
virtual |
Standard destructor.
Definition at line 42 of file GlobalAlignmentWriter.cpp.
|
protected |
Add single alignment node to the XML document.
Definition at line 68 of file GlobalAlignmentWriter.cpp.
| xml::Element GlobalAlignmentWriter::createElement | ( | xml::Document | doc, |
| DetElement | element | ||
| ) | const |
Create the element corresponding to one single detector element without children.
Definition at line 47 of file GlobalAlignmentWriter.cpp.
| xml::Document GlobalAlignmentWriter::dump | ( | DetElement | element, |
| bool | enable_transactions = false |
||
| ) | const |
Dump one full DetElement subtree into a newly created document.
Dump the tree content into a XML document structure.
Definition at line 123 of file GlobalAlignmentWriter.cpp.
| xml::Element GlobalAlignmentWriter::scan | ( | xml::Document | doc, |
| DetElement | element | ||
| ) | const |
Scan one DetElement structure and return an XML element containing the alignment in this subtree.
Scan a DetElement subtree and add on the fly the XML entries.
Definition at line 106 of file GlobalAlignmentWriter.cpp.
| long GlobalAlignmentWriter::write | ( | xml::Document | doc, |
| const std::string & | output | ||
| ) | const |
Write the XML document structure to a file.
Definition at line 135 of file GlobalAlignmentWriter.cpp.
|
protected |
Reference to the alignment cache.
Definition at line 41 of file GlobalAlignmentWriter.h.
|
protected |
Reference to detector description.
Definition at line 39 of file GlobalAlignmentWriter.h.
1.8.18