1 | // |
---|
2 | // ******************************************************************** |
---|
3 | // * License and Disclaimer * |
---|
4 | // * * |
---|
5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
7 | // * conditions of the Geant4 Software License, included in the file * |
---|
8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
9 | // * include a list of copyright holders. * |
---|
10 | // * * |
---|
11 | // * Neither the authors of this software system, nor their employing * |
---|
12 | // * institutes,nor the agencies providing financial support for this * |
---|
13 | // * work make any representation or warranty, express or implied, * |
---|
14 | // * regarding this software system or assume any liability for its * |
---|
15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
16 | // * for the full disclaimer and the limitation of liability. * |
---|
17 | // * * |
---|
18 | // * This code implementation is the result of the scientific and * |
---|
19 | // * technical work of the GEANT4 collaboration. * |
---|
20 | // * By using, copying, modifying or distributing the software (or * |
---|
21 | // * any work based on the software) you agree to acknowledge its * |
---|
22 | // * use in resulting scientific publications, and indicate your * |
---|
23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
24 | // ******************************************************************** |
---|
25 | // |
---|
26 | // ************************************** |
---|
27 | // * * |
---|
28 | // * RemSimDetectorConstruction.hh * |
---|
29 | // * * |
---|
30 | // ************************************** |
---|
31 | // |
---|
32 | // $Id: RemSimDetectorConstruction.hh,v 1.13 2006/06/29 16:22:12 gunter Exp $ |
---|
33 | // GEANT4 tag $Name: geant4-09-04-beta-01 $ |
---|
34 | // |
---|
35 | // Author:Susanna Guatelli, guatelli@ge.infn.it |
---|
36 | // |
---|
37 | #ifndef RemSimDetectorConstruction_H |
---|
38 | #define RemSimDetectorConstruction_H 1 |
---|
39 | |
---|
40 | #include "G4VUserDetectorConstruction.hh" |
---|
41 | #include "globals.hh" |
---|
42 | |
---|
43 | class G4LogicalVolume; |
---|
44 | class G4VPhysicalVolume; |
---|
45 | class RemSimMaterial; |
---|
46 | class RemSimDetectorMessenger; |
---|
47 | class G4Box; |
---|
48 | class G4VisAttributes; |
---|
49 | class RemSimVGeometryComponent; |
---|
50 | class RemSimDecorator; |
---|
51 | class RemSimDetectorConstruction : public G4VUserDetectorConstruction |
---|
52 | { |
---|
53 | public: |
---|
54 | |
---|
55 | RemSimDetectorConstruction(); |
---|
56 | ~RemSimDetectorConstruction(); |
---|
57 | |
---|
58 | G4VPhysicalVolume* Construct(); |
---|
59 | |
---|
60 | void ConstructVolume(); |
---|
61 | void AddShielding(G4String); |
---|
62 | void AddShelterSPE(G4String); |
---|
63 | void AddHabitatRoof(G4String); |
---|
64 | void ChangeShieldingThickness(G4double); |
---|
65 | void ChangeRoofThickness(G4double); |
---|
66 | void ChooseConfiguration(G4String); |
---|
67 | |
---|
68 | private: |
---|
69 | |
---|
70 | G4LogicalVolume* experimentalHall_log; |
---|
71 | G4VPhysicalVolume* experimentalHall_phys; |
---|
72 | G4VPhysicalVolume* phantomPhys; |
---|
73 | G4VPhysicalVolume* detectorPhys; |
---|
74 | RemSimVGeometryComponent* geometry; |
---|
75 | RemSimMaterial* pMaterial; |
---|
76 | RemSimDetectorMessenger* messenger; |
---|
77 | G4String decoratorValue; |
---|
78 | G4String astronautValue; |
---|
79 | RemSimDecorator* decorator; |
---|
80 | RemSimDecorator* decoratorSPE; |
---|
81 | RemSimDecorator* decorator1; |
---|
82 | RemSimDecorator* decoratorRoof; |
---|
83 | G4bool moon; |
---|
84 | G4bool flag; |
---|
85 | }; |
---|
86 | #endif |
---|
87 | |
---|