GEMC  1.8
Geant4 Monte-Carlo Framework
MDetectorConstruction.h
Go to the documentation of this file.
1 #ifndef MDetectorConstruction_h
14 #define MDetectorConstruction_h 1
15 
16 // %%%%%%%%%%
17 // G4 headers
18 // %%%%%%%%%%
19 #include "G4VUserDetectorConstruction.hh"
20 #include "globals.hh"
21 #include "G4Material.hh"
22 #include "G4Region.hh"
23 
24 // %%%%%%%%%%%%%
25 // gemc headers
26 // %%%%%%%%%%%%%
27 #include "usage.h"
28 #include "detector.h"
29 #include "MagneticField.h"
30 #include "MPHBaseClass.h"
31 #include "MSensitiveDetector.h"
32 class MDetectorMessenger;
33 
34 // %%%%%%%%%%%%%%%%
35 // Class definition
36 // %%%%%%%%%%%%%%%%
38 {
39  public:
42 
43  public:
45  map<string, G4Material*> *mats;
46  map<string, MSensitiveDetector*> SeDe_Map;
47  map<string, detector> *Hall_Map;
48  map<string, MagneticField> *FieldMap;
49  map<string, G4Region*> SeRe_Map;
50  map<string, G4ProductionCuts*> SePC_Map;
51 
52  private:
53 // MDetectorMessenger *mdetectorMessenger; ///< pointer to the Messenger
54 
55  detector FindDetector(string); // returns map detector
56  void BuildDetector(string); // build detector
57 
58  public:
61  G4VPhysicalVolume* Construct();
62  void UpdateGeometry();
63 
64 };
65 
66 #endif
G4VPhysicalVolume * Construct()
MDetectorConstruction(gemc_opts Opts)
map< string, MagneticField > * FieldMap
map< string, G4Material * > * mats
map< string, G4ProductionCuts * > SePC_Map
void IsSensitive(detector, gemc_opts)
map< string, G4Region * > SeRe_Map
void HasMagfield(detector, gemc_opts)
map< string, detector > * Hall_Map
map< string, MSensitiveDetector * > SeDe_Map