MarlinDD4hep
0.3.0
|
InitializeDD4hep: initializes a DD4hep detector geometry from a compact XML file. More...
#include <InitializeDD4hep.h>
Public Member Functions | |
virtual Processor * | newProcessor () |
virtual void | init () |
Initiallize the DD4hep geometry. | |
virtual void | processRunHeader (LCRunHeader *run) |
do nothing | |
virtual void | processEvent (LCEvent *evt) |
do nothing | |
virtual void | check (LCEvent *evt) |
do nothing | |
virtual void | end () |
do nothing | |
Protected Attributes | |
std::string | _dd4hepFileName |
path to dd4p compact detector xml file | |
std::string | _encodingStringParameter |
name of lcdd parameter for encoding string | |
InitializeDD4hep: initializes a DD4hep detector geometry from a compact XML file.
Call as first processor in your steering file. Processors access the geometry simply via:
DD4hep::Geometry::LCDD& lcdd = DD4hep::Geometry::LCDD::getInstance();
DD4hepXMLFile | Name of the DD4hep compact XML file to load |