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