ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
eRositaDetectorConstruction.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file eRositaDetectorConstruction.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
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
29
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
30
31
#ifndef eRositaDetectorConstruction_h
32
#define eRositaDetectorConstruction_h 1
33
34
#include "
globals.hh
"
35
#include "
G4VUserDetectorConstruction.hh
"
36
#include "
G4VisAttributes.hh
"
37
38
39
class
G4Box
;
40
class
G4LogicalVolume
;
41
class
G4VPhysicalVolume
;
42
class
G4Material
;
43
44
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
45
46
class
eRositaDetectorConstruction
:
public
G4VUserDetectorConstruction
47
{
48
public
:
49
50
eRositaDetectorConstruction
();
51
~eRositaDetectorConstruction
();
52
53
public
:
54
55
G4VPhysicalVolume
*
Construct
();
56
57
const
58
G4VPhysicalVolume
*
GetTracker
() {
return
physiTracker
;};
59
// G4double GetTrackerFullLength() {return fTrackerLength;};
60
// G4double GetTargetFullLength() {return fTargetLength;};
61
// G4double GetWorldFullLength() {return fWorldLength;};
62
63
void
setTargetMaterial
(
G4String
);
64
void
setTrackerMaterial
(
G4String
);
65
void
setWorldMaterial
(
G4String
);
66
67
private
:
68
69
G4Box
*
solidWorld
;
// pointer to the solid envelope
70
G4LogicalVolume
*
logicWorld
;
// pointer to the logical envelope
71
G4VPhysicalVolume
*
physiWorld
;
// pointer to the physical envelope
72
G4VisAttributes
*
visWorld
;
// pointer to visualization attributes
73
74
G4Box
*
solidTarget
;
// pointer to the solid Target
75
G4LogicalVolume
*
logicTarget
;
// pointer to the logical Target
76
G4VPhysicalVolume
*
physiTarget
;
// pointer to the physical Target
77
G4VisAttributes
*
visTarget
;
// pointer to visualization attributes
78
79
G4Box
*
solidTracker
;
// pointer to the solid Tracker
80
G4LogicalVolume
*
logicTracker
;
// pointer to the logical Tracker
81
G4VPhysicalVolume
*
physiTracker
;
// pointer to the physical Tracker
82
G4VisAttributes
*
visTracker
;
// pointer to visualization attributes
83
84
G4Material
*
TargetMater
;
// pointer to the target material
85
G4Material
*
TrackerMater
;
// pointer to the tracker material
86
G4Material
*
WorldMater
;
// pointer to the tracker material
87
88
G4Material
*
vacuum
;
89
90
91
G4double
hWorldLength
;
// half length of the world volume
92
G4double
hTargetLength
;
// half length of target
93
G4double
hTargetDepth
;
// half depth of target
94
G4double
hTrackerLength
;
// half length of tracker
95
G4double
hTrackerDepth
;
// half depth of tracker
96
97
G4double
xPosTarget
;
// x coordinate of target position
98
G4double
yPosTarget
;
// y -"-
99
G4double
zPosTarget
;
// z -"-
100
G4double
xPosTracker
;
// x coordinate of tracker position
101
G4double
yPosTracker
;
// y -"-
102
G4double
zPosTracker
;
// z -"-
103
104
105
};
106
107
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
108
109
#endif
geant4
tree
geant4-10.6-release
examples
advanced
eRosita
application
include
eRositaDetectorConstruction.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:57
using
1.8.2 with
ECCE GitHub integration