Geant4  10.03
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 //
28 // --------------------------------------------------------------
29 //
30 
31 #ifndef ExExChDetectorConstruction_h
32 #define ExExChDetectorConstruction_h 1
33 #endif
34 
37 
38 #include "G4Box.hh"
39 #include "G4Tubs.hh"
40 #include "G4LogicalVolume.hh"
41 #include "G4VPhysicalVolume.hh"
42 #include "G4RunManager.hh"
43 
44 #include "globals.hh"
45 
46 
47 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
48 
50 {
51 public:
52 
55 
56  void DefineMaterials();
58 
59 private:
61 
62  void ConstructSDandField();
63 
64 private:
70 
71  //** SSD **//
72 private:
81  //** Beam pipe **//
82 
83  void SetBeamPipeRadius(G4double aDouble) {fBeamPipeRadius = aDouble;};
85 
86  void SetBeamPipeThickness(G4double aDouble) {fBeamPipeThickness = aDouble;};
88 
89 private:
94  //** Xtal **//
95 public:
96  void AddXtalTarget() {
97  fXtal = true;
99  };
100  void SetXtalMaterial(const G4String& name);
116 
117 private:
118  void ConstructXtalTarget();
120 
122 
130 
134 };
135 
136 
void GeometryHasBeenModified(G4bool prop=true)
void SetBeamPipeThickness(G4double aDouble)
G4LogicalVolume * ConstructSiSD(G4int)
CLHEP::Hep3Vector G4ThreeVector
Definition: G4Box.hh:64
const char * name(G4int ptype)
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)
Definition of the ExExChDetectorConstructionMessenger class.
void SetBeamPipeRadius(G4double aDouble)
double G4double
Definition: G4Types.hh:76