MarlinDD4hep  0.3.0
Public Member Functions | Protected Attributes | List of all members
InitializeDD4hep Class Reference

InitializeDD4hep: initializes a DD4hep detector geometry from a compact XML file. More...

#include <InitializeDD4hep.h>

Inheritance diagram for InitializeDD4hep:

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
 

Detailed Description

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();

Parameters
DD4hepXMLFileName of the DD4hep compact XML file to load
Author
F. Gaede, CERN/DESY
Version
$Id:$

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