Geant4  10.02.p01
ExExChDetectorConstruction.hh
Go to the documentation of this file.
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 #ifndef ExExChDetectorConstruction_h
29 #define ExExChDetectorConstruction_h 1
30 #endif
31 
34 
35 #include "G4Box.hh"
36 #include "G4Tubs.hh"
37 #include "G4LogicalVolume.hh"
38 #include "G4VPhysicalVolume.hh"
39 #include "G4RunManager.hh"
40 
41 #include "globals.hh"
42 
43 
44 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
45 
47 {
48 public:
49 
52 
53  void DefineMaterials();
55 
56 private:
58 
59  void ConstructSDandField();
60 
61 private:
67 
68  //** SSD **//
69 private:
78  //** Beam pipe **//
79 
80  void SetBeamPipeRadius(G4double aDouble) {fBeamPipeRadius = aDouble;};
82 
83  void SetBeamPipeThickness(G4double aDouble) {fBeamPipeThickness = aDouble;};
85 
86 private:
91  //** Xtal **//
92 public:
93  void AddXtalTarget() {
94  bXtal = true;
96  };
97  void SetXtalMaterial(const G4String& name);
113 
114 private:
115  void ConstructXtalTarget();
117 
119 
127 
131 };
132 
133 
void GeometryHasBeenModified(G4bool prop=true)
void SetBeamPipeThickness(G4double aDouble)
G4LogicalVolume * ConstructSiSD(G4int)
CLHEP::Hep3Vector G4ThreeVector
Definition: G4Box.hh:64
G4String name
Definition: TRTMaterials.hh:40
G4LogicalVolume * ConstructBeamPipe(G4double)
int G4int
Definition: G4Types.hh:78
bool G4bool
Definition: G4Types.hh:79
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
ExExChDetectorConstructionMessenger * fMessenger
void SetXtalMaterial(const G4String &name)
void SetBeamPipeRadius(G4double aDouble)
double G4double
Definition: G4Types.hh:76