Geant4  10.02.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 93389 2015-10-20 07:04:35Z 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;
41 class G4Tubs;
43 class G4Material;
44 class G4VisAttributes;
46 
47 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
48 
50 {
51 public:
52 
55 
56  virtual G4VPhysicalVolume* Construct();
57 
58  // Sensitive Detector
59  void ConstructSDandField();
60 
61  // Material Definition
62  void DefineMaterials();
63 
64  // Geometry Definition
66  void CreateExitWindow(G4LogicalVolume* logicWorld);
67  void CreatePrimaryFoil(G4LogicalVolume* logicWorld);
68  void CreateMonitor(G4LogicalVolume* logicWorld);
69  void CreateHeliumBag(G4LogicalVolume* logicWorld);
70  void CreateScorer(G4LogicalVolume* logicWorld);
72 
73  // Command Interface
74  void SetPrimFoilMaterial(G4String matname);
75  void SetPrimFoilThickness(G4double thicknessPrimFoil);
76 
77 private:
78  // Exit Window
81 
82  // Primary Foil
88 
89  // Monitor Chambers
92 
93  // Helium Bag
99 
100  // Scoring Plane
105 
106  // Radii
109 
110  // Extra space remaining in world volume around apparatus
113 
114  // World volume
116 
117  // SensitiveDetector
118  // G4Cache mechanism is necessary for multi-threaded operation
119  // as it allows us to store separate detector pointer per thread
121 
122  // Messenger
124 
125  // Visualization Attributes
134 };
135 
136 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
137 
138 #endif
const G4Cache< G4MultiFunctionalDetector * > fSensitiveDetectorCache
virtual G4VPhysicalVolume * Construct()
ElectronBenchmarkDetectorMessenger * fMessenger
void SetPrimFoilThickness(G4double thicknessPrimFoil)
void CreateScorer(G4LogicalVolume *logicWorld)
Definition: G4Tubs.hh:85
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