source: trunk/examples/advanced/underground_physics/include/DMXDetectorConstruction.hh @ 1341

Last change on this file since 1341 was 807, checked in by garnier, 16 years ago

update

File size: 5.9 KB
Line 
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//   GEANT 4 - Underground Dark Matter Detector Advanced Example
29//
30//      For information related to this code contact: Alex Howard
31//      e-mail: alexander.howard@cern.ch
32// --------------------------------------------------------------
33// Comments
34//
35//                  Underground Advanced
36//               by A. Howard and H. Araujo
37//                    (27th November 2001)
38//
39// DetectorConstruction header
40// --------------------------------------------------------------
41
42#ifndef DMXDetectorConstruction_h
43#define DMXDetectorConstruction_h 1
44
45#include "G4VUserDetectorConstruction.hh"
46#include "globals.hh"
47
48class G4LogicalVolume;
49class G4VPhysicalVolume;
50class G4Material;
51
52class G4UserLimits;
53
54class DMXScintSD;
55class DMXPmtSD;
56
57class DMXDetectorMessenger;
58
59class DMXDetectorConstruction : public G4VUserDetectorConstruction
60{
61public:
62
63  DMXDetectorConstruction();
64  ~DMXDetectorConstruction();
65
66public:
67
68  G4VPhysicalVolume* Construct();
69
70  void SetRoomEnergyCut(G4double);
71  void SetEnergyCut(G4double);
72  void SetTimeCut(G4double);
73  void SetRoomTimeCut(G4double);
74  //  void UpdateGeometry();
75
76
77private:
78
79  void DefineMaterials();
80
81  G4UserLimits*    theUserLimitsForRoom; 
82  G4UserLimits*    theUserLimitsForDetector; 
83  //  G4UserLimits*    theUserLimitsForXenon;
84
85  G4double         theMaxTimeCuts;
86  G4double         theMaxStepSize;
87  G4double         theDetectorStepSize;
88  G4double         theMinEkine;
89  G4double         theRoomMinEkine;
90 
91  G4double         theRoomTimeCut;
92
93
94#include "DMXDetectorMaterial.ihh"  // materials used
95
96  G4double worldRadius;                // sizes
97  G4double worldHeight;
98  G4double sourceZ;
99  G4double sourceZ2;
100
101
102  G4LogicalVolume*   world_log;        // pointers
103  G4VPhysicalVolume* world_phys; 
104
105#include "DMXDetectorRoom.ihh"
106
107  G4LogicalVolume*   lab_log;
108  G4VPhysicalVolume* lab_phys; 
109
110  G4LogicalVolume*   LN2jacket_log;
111  G4VPhysicalVolume* LN2jacket_phys;
112  G4LogicalVolume*   LN2vacuum_log;
113  G4VPhysicalVolume* LN2vacuum_phys;
114  G4LogicalVolume*   LN2vessel_log;
115  G4VPhysicalVolume* LN2vessel_phys; 
116  G4LogicalVolume*   LN2_log;
117  G4VPhysicalVolume* LN2_phys;
118  G4LogicalVolume*   jacket_log;
119  G4VPhysicalVolume* jacket_phys;
120  G4LogicalVolume*   jacketflange_log;
121  G4VPhysicalVolume* topjacketflange_phys;
122  G4VPhysicalVolume* bottomjacketflange_phys;
123  G4LogicalVolume*   vacuum_log;
124  G4VPhysicalVolume* vacuum_phys;
125  G4LogicalVolume*   copper_log;
126  G4VPhysicalVolume* copper_phys;
127  G4LogicalVolume*   coppertop_log;
128  G4VPhysicalVolume* coppertop_phys;
129  G4LogicalVolume*   vessel_log;
130  G4VPhysicalVolume* vessel_phys;
131  G4LogicalVolume*   vesseltop_log1;
132  G4VPhysicalVolume* vesseltop_phys1;
133  G4LogicalVolume*   vesseltop_log2;
134  G4VPhysicalVolume* vesseltop_phys2;
135  G4LogicalVolume*   vesselbottom_log1;
136  G4VPhysicalVolume* vesselbottom_phys1;
137  G4LogicalVolume*   vesselbottom_log2;
138  G4VPhysicalVolume* vesselbottom_phys2;
139  G4LogicalVolume*   pmtvesselbottom_log1;
140  G4VPhysicalVolume* pmtvesselbottom_phys1;
141  G4LogicalVolume*   pmtvesselbottom_log2;
142  G4VPhysicalVolume* pmtvesselbottom_phys2;
143  G4LogicalVolume*   GXe_log;
144  G4VPhysicalVolume* GXe_phys; 
145  G4LogicalVolume*   gaslag_log;
146  G4VPhysicalVolume* gaslag_phys; 
147  G4LogicalVolume*   CuShield_log; 
148  G4VPhysicalVolume* CuShield_phys; 
149  G4LogicalVolume*   LXe_log; 
150  G4VPhysicalVolume* LXe_phys; 
151  G4LogicalVolume*   liqLag_log; 
152  G4VPhysicalVolume* liqLag_phys; 
153  G4LogicalVolume*   alpha_log;   
154  G4VPhysicalVolume* alpha_phys; 
155  G4LogicalVolume*   recess_log;   
156  G4VPhysicalVolume* recess_phys; 
157  G4LogicalVolume*   americium_log;   
158  G4VPhysicalVolume* americium_phys; 
159  G4LogicalVolume*   ring_log;   
160  G4VPhysicalVolume* ring_phys_gas[2]; 
161  G4VPhysicalVolume* ring_phys_liq[6]; 
162  G4LogicalVolume*   mirror_log;   
163  G4VPhysicalVolume* mirror_phys; 
164  G4LogicalVolume*   grid1_log;   
165  G4VPhysicalVolume* grid1_phys; 
166  G4LogicalVolume*   grid2_log;   
167  G4VPhysicalVolume* grid2_phys; 
168  G4LogicalVolume*   pmt_log;   
169  G4VPhysicalVolume* pmt_phys; 
170  G4LogicalVolume*   phcath_log;
171  G4VPhysicalVolume* phcath_phys; 
172
173
174  DMXScintSD*  LXeSD;            //pointer to sensitive detectors
175  DMXPmtSD* pmtSD;
176
177  // pointer to the Detector Messenger:
178  DMXDetectorMessenger*  detectorMessenger;
179
180};
181
182#endif
183
Note: See TracBrowser for help on using the repository browser.