Geant4  10.01.p01
ElectronBenchmarkDetector.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 // $Id: ElectronBenchmarkDetector.hh 76691 2013-11-14 08:46:02Z gcosmo $
27 //
30 
31 #ifndef ElectronBenchmarkDetector_h
32 #define ElectronBenchmarkDetector_h 1
33 
35 #include "globals.hh"
36 #include "G4ThreeVector.hh"
37 #include "G4Cache.hh"
38 
39 class G4LogicalVolume;
40 class G4VPhysicalVolume;
42 class G4Material;
43 class G4VisAttributes;
45 
46 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
47 
49 {
50 public:
51 
54 
55  virtual G4VPhysicalVolume* Construct();
56 
57  // Sensitive Detector
58  void ConstructSDandField();
59 
60  // Material Definition
61  void DefineMaterials();
62 
63  // Geometry Definition
65  void CreateExitWindow(G4LogicalVolume* logicWorld);
66  void CreatePrimaryFoil(G4LogicalVolume* logicWorld);
67  void CreateMonitor(G4LogicalVolume* logicWorld);
68  void CreateHeliumBag(G4LogicalVolume* logicWorld);
69  void CreateScorer(G4LogicalVolume* logicWorld);
71  void UpdateGeometry();
72 
73  // Command Interface
74  void SetPrimFoilMaterial(G4String matname);
75  void SetPrimFoilThickness(G4double thicknessPrimFoil);
76 
77 private:
78  // Exit Window
81 
82  // Primary Foil
86 
87  // Monitor Chambers
90 
91  // Helium Bag
97 
98  // Scoring Plane
103 
104  // Radii
107 
108  // Extra space remaining in world volume around apparatus
111 
112  // World volume
114 
115  // SensitiveDetector
116  // G4Cache mechanism is necessary for multi-threaded operation
117  // as it allows us to store separate detector pointer per thread
119 
120  // Messenger
122 
123  // Visualization Attributes
132 };
133 
134 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
135 
136 #endif
const G4Cache< G4MultiFunctionalDetector * > fSensitiveDetectorCache
virtual G4VPhysicalVolume * Construct()
ElectronBenchmarkDetectorMessenger * fMessenger
void SetPrimFoilThickness(G4double thicknessPrimFoil)
void CreateScorer(G4LogicalVolume *logicWorld)
void CreatePrimaryFoil(G4LogicalVolume *logicWorld)
void CreateHeliumBag(G4LogicalVolume *logicWorld)
void CreateMonitor(G4LogicalVolume *logicWorld)
void CreateExitWindow(G4LogicalVolume *logicWorld)
void SetPrimFoilMaterial(G4String matname)
double G4double
Definition: G4Types.hh:76