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 "SimCore/Geo/AuxInfoReader.h"
24
25namespace simcore {
26
27class ParallelWorld : public G4VUserParallelWorld {
28 public:
30 ParallelWorld(G4GDMLParser* parser, G4String worldName);
31
34
36 void Construct();
37
39 void ConstructSD();
40
41 private:
43 G4GDMLParser* parser_{nullptr};
44
47
49 enableLogging("ParallelWorld")
50
51}; // ParallelWorld
52} // namespace simcore
53
54#endif // SIMCORE_PARALLELWORLD_H_
G4GDMLParser * parser_
GDML parser.
geo::AuxInfoReader * auxInfoReader_
The auxiliary GDML info reader.
Reads auxiliary information from GDML userinfo block.