LDMX Software
ParallelWorld.h
1
5#ifndef SIMCORE_PARALLELWORLD_H_
6#define SIMCORE_PARALLELWORLD_H_
7
8//---------------//
9// C++StdLib //
10//---------------//
11#include <string>
12
13//------------//
14// Geant4 //
15//------------//
16#include "G4GDMLParser.hh"
17#include "G4String.hh"
18#include "G4VUserParallelWorld.hh"
19
20//-------------//
21// ldmx-sw //
22//-------------//
23#include "Framework/Logger.h"
24#include "SimCore/Geo/AuxInfoReader.h"
25
26namespace simcore {
27
28class ParallelWorld : public G4VUserParallelWorld {
29 public:
31 ParallelWorld(G4GDMLParser* parser, G4String worldName);
32
35
37 void Construct();
38
40 void ConstructSD();
41
42 private:
44 G4GDMLParser* parser_{nullptr};
45
48
50 enableLogging("ParallelWorld");
51
52}; // ParallelWorld
53} // namespace simcore
54
55#endif // SIMCORE_PARALLELWORLD_H_
G4GDMLParser * parser_
GDML parser.
ParallelWorld(G4GDMLParser *parser, G4String worldName)
Constructor.
enableLogging("ParallelWorld")
Enable logging.
geo::AuxInfoReader * aux_info_reader_
The auxiliary GDML info reader.
Reads auxiliary information from GDML userinfo block.
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...