source: ELYSE/HEAD/ELYSE/DetectorConstruction.hh @ 632

Last change on this file since 632 was 293, checked in by campagne, 17 years ago

Unuseful Sensitive Detector for the moment (JEC)

File size: 1.5 KB
Line 
1#ifndef ELYSEDetectorConstruction_H
2#define ELYSEDetectorConstruction_H 1
3
4//Geant4
5#include "G4ThreeVector.hh"
6#include "G4VUserDetectorConstruction.hh"
7#include "globals.hh"
8
9
10
11class G4VPhysicalVolume;
12class G4OpticalSurface;
13
14namespace ELYSE {
15
16class DetectorMessenger;
17  //JEC 22/2/07 DEPRECATED class TrappingVolume;
18
19class DetectorConstruction : public G4VUserDetectorConstruction {
20 public:
21  //Ctor & Dtor
22  DetectorConstruction();
23  virtual ~DetectorConstruction();
24 
25  //inherited method
26  G4VPhysicalVolume* Construct();
27
28  //assecors
29  void SetWaterDimensions(G4ThreeVector dim);
30  void SetTyvekThickness(G4double thick);
31
32  //rebuild the geometry based on changes. must be called
33  void UpdateGeometry();
34  G4bool GetUpdated(){return updated;}
35
36private:
37
38  // The Construction routines
39  void   ConstructMaterials();
40
41
42
43  //Sensitive volume to trap all particles passing through it
44  //JEC DEPRECATED 22/2/07 TrappingVolume* aTrappingVolume;
45
46  //Water, Tyvek surface
47  G4OpticalSurface* OpWaterTyvekSurface;
48
49  //Tyvek Glass surface
50  G4OpticalSurface* OpTyvekGlassSurface;
51
52  // The messenger we use to change the geometry.
53  DetectorMessenger* messenger;
54
55  //Sign if the geometry has been modified
56  G4bool updated;
57
58  //---Volume lengths
59 
60  //Experimental Hall
61  G4double expHall_x;
62  G4double expHall_y;
63  G4double expHall_z;
64 
65  //Water box volume
66  G4double water_x;
67  G4double water_y;
68  G4double water_z;
69
70
71  //Thickness of the tyvek sheet
72  G4double tyvek_thickness;
73
74  //Thickness of the glass tank
75  G4double glass_thickness;
76 
77};
78
79}
80
81
82#endif
83
Note: See TracBrowser for help on using the repository browser.