MarlinDD4hep  0.3.0
InitializeDD4hep.h
1 #ifndef InitializeDD4hep_h
2 #define InitializeDD4hep_h 1
3 
4 #include "marlin/Processor.h"
5 #include <string>
6 
20 class InitializeDD4hep : public marlin::Processor {
21 
22 public:
23 
24  virtual Processor* newProcessor() { return new InitializeDD4hep ; }
25 
26 
28 
31  virtual void init() ;
32 
34  virtual void processRunHeader( LCRunHeader* run ) ;
35 
37  virtual void processEvent( LCEvent * evt ) ;
38 
40  virtual void check( LCEvent * evt ) ;
41 
43  virtual void end() ;
44 
45 
46  protected:
47 
49  std::string _dd4hepFileName ;
50 
53 
54 } ;
55 
56 #endif
57 
58 
59 
std::string _dd4hepFileName
path to dd4p compact detector xml file
Definition: InitializeDD4hep.h:49
virtual void processRunHeader(LCRunHeader *run)
do nothing
Definition: InitializeDD4hep.cc:65
std::string _encodingStringParameter
name of lcdd parameter for encoding string
Definition: InitializeDD4hep.h:52
virtual void processEvent(LCEvent *evt)
do nothing
Definition: InitializeDD4hep.cc:67
virtual void end()
do nothing
Definition: InitializeDD4hep.cc:71
virtual void init()
Initiallize the DD4hep geometry.
Definition: InitializeDD4hep.cc:34
InitializeDD4hep: initializes a DD4hep detector geometry from a compact XML file. ...
Definition: InitializeDD4hep.h:20
virtual void check(LCEvent *evt)
do nothing
Definition: InitializeDD4hep.cc:69