ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BrachyDetectorConstruction.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file BrachyDetectorConstruction.hh
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 // * BrachyDetectorConstruction.hh *
29 // * *
30 // ****************************************
31 // This class manages the geometry of the simulation experimental set-up
32 //
33 // S. Guatelli, A. Le
34 
35 #ifndef BrachyDetectorConstruction_H
36 #define BrachyDetectorConstruction_H 1
37 
39 
41 class G4LogicalVolume;
42 class G4Material;
43 class G4Box;
44 class G4Colour;
45 class G4VPhysicalVolume;
46 class G4VPhysicalVolume;
47 class BrachyMaterial;
48 class BrachyFactory;
49 
51 {
52 public:
53 
56 
58  void SwitchBrachytherapicSeed(); //Change radiactive source through GUI
60  void ConstructPhantom();
63 
64 
65 private:
66 
67  G4int detectorChoice; //Select brachytherapic seed
69 
70  // World ...
71  G4Box* World; //pointer to the solid World
72  G4LogicalVolume* WorldLog; //pointer to the logical World
73  G4VPhysicalVolume* WorldPhys; //pointer to the physical World
74 
75  // Phantom ...
76  G4Box* Phantom; //pointer to solid phantom
77  G4LogicalVolume* PhantomLog; //pointer to logic phantom
78  G4VPhysicalVolume* PhantomPhys; //pointer to physical phantom
80 
81  G4double phantomSizeX; //Phantom XSize
82  G4double phantomSizeY; //Phantom YSize
83  G4double phantomSizeZ; //Phantom ZSize
84  G4double worldSizeX ; //World XSize
85  G4double worldSizeY ; //World YSize
86  G4double worldSizeZ ; //World XSize
89 };
90 
91 #endif