Geant4  10.02
eRositaDetectorConstruction.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 // $Id$
28 //
29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
31 
32 #ifndef eRositaDetectorConstruction_h
33 #define eRositaDetectorConstruction_h 1
34 
35 #include "globals.hh"
37 #include "G4VisAttributes.hh"
38 
39 
40 class G4Box;
41 class G4LogicalVolume;
42 class G4VPhysicalVolume;
43 class G4Material;
44 
45 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
46 
48 {
49 public:
50 
53 
54 public:
55 
57 
58  const
60  // G4double GetTrackerFullLength() {return fTrackerLength;};
61  // G4double GetTargetFullLength() {return fTargetLength;};
62  // G4double GetWorldFullLength() {return fWorldLength;};
63 
67 
68 private:
69 
70  G4Box* solidWorld; // pointer to the solid envelope
71  G4LogicalVolume* logicWorld; // pointer to the logical envelope
72  G4VPhysicalVolume* physiWorld; // pointer to the physical envelope
73  G4VisAttributes* visWorld; // pointer to visualization attributes
74 
75  G4Box* solidTarget; // pointer to the solid Target
76  G4LogicalVolume* logicTarget; // pointer to the logical Target
77  G4VPhysicalVolume* physiTarget; // pointer to the physical Target
78  G4VisAttributes* visTarget; // pointer to visualization attributes
79 
80  G4Box* solidTracker; // pointer to the solid Tracker
81  G4LogicalVolume* logicTracker; // pointer to the logical Tracker
82  G4VPhysicalVolume* physiTracker; // pointer to the physical Tracker
83  G4VisAttributes* visTracker; // pointer to visualization attributes
84 
85  G4Material* TargetMater; // pointer to the target material
86  G4Material* TrackerMater; // pointer to the tracker material
87  G4Material* WorldMater; // pointer to the tracker material
88 
90 
91 
92  G4double hWorldLength; // half length of the world volume
93  G4double hTargetLength; // half length of target
94  G4double hTargetDepth; // half depth of target
95  G4double hTrackerLength; // half length of tracker
96  G4double hTrackerDepth; // half depth of tracker
97 
98  G4double xPosTarget; // x coordinate of target position
99  G4double yPosTarget; // y -"-
101  G4double xPosTracker; // x coordinate of tracker position
104 
105 
106 };
107 
108 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
109 
110 #endif
const G4VPhysicalVolume * GetTracker()
Definition: G4Box.hh:64
void setWorldMaterial(G4String)
void setTrackerMaterial(G4String)
void setTargetMaterial(G4String)
double G4double
Definition: G4Types.hh:76