Geant4
10.03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CCalEcal.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
//
27
// File: CCalEcal.hh
28
// Description: CCalEcal Geometry factory class for crystal matrix
30
#ifndef CCalEcal_h
31
#define CCalEcal_h 1
32
33
#include "
CCalDetector.hh
"
34
35
class
CCalEcal
:
public
CCalDetector
{
36
public
:
37
//Constructor and Destructor
38
CCalEcal
(
const
G4String
&
name
):
39
CCalDetector
(name) {}
40
virtual
~CCalEcal
();
41
42
//Get Methods
43
G4String
getGenMat
()
const
{
return
genMat
;}
44
double
getWidBox
()
const
{
return
widBox
;}
45
double
getLengBox
()
const
{
return
lengBox
;}
46
double
getXpos
()
const
{
return
xpos
;}
47
double
getYpos
()
const
{
return
ypos
;}
48
double
getZpos
()
const
{
return
zpos
;}
49
double
getThetaX
()
const
{
return
thetaX
;}
50
double
getPhiX
()
const
{
return
phiX
;}
51
double
getThetaY
()
const
{
return
thetaY
;}
52
double
getPhiY
()
const
{
return
phiY
;}
53
double
getThetaZ
()
const
{
return
thetaZ
;}
54
double
getPhiZ
()
const
{
return
phiZ
;}
55
G4String
getLayMat
()
const
{
return
layMat
;}
56
int
getLayNum
()
const
{
return
layNum
;}
57
double
getLayRadius
()
const
{
return
layRadius
;}
58
double
getLayAngle
()
const
{
return
layAngle
;}
59
double
getLengFront
()
const
{
return
lengFront
;}
60
double
getLayPar
(
unsigned
int
i)
const
{
return
layPar
[i];}
61
G4String
getCrystMat
()
const
{
return
crystMat
;}
62
int
getCrystNum
()
const
{
return
crystNum
;}
63
double
getCrystLength
()
const
{
return
crystLength
;}
64
double
getCrystTol
()
const
{
return
crystTol
;}
65
double
getCrystPar
(
unsigned
int
i)
const
{
return
crystPar
[i];}
66
G4String
getSuppMat
()
const
{
return
suppMat
;}
67
double
getDxSupp
()
const
{
return
dxSupp
;}
68
double
getDySupp
()
const
{
return
dySupp
;}
69
double
getDzSupp
()
const
{
return
dzSupp
;}
70
double
getDistSupp
()
const
{
return
distSupp
;}
71
72
73
protected
:
74
virtual
int
readFile
();
75
virtual
void
constructDaughters
();
76
77
private
:
78
G4String
genMat
;
//General material
79
double
widBox
,
lengBox
;
//Box parameters
80
double
xpos
,
ypos
,
zpos
;
//Translation matrix definition
81
double
thetaX
,
phiX
,
thetaY
,
phiY
,
thetaZ
,
phiZ
;
//Rotation matrix definition
82
G4String
layMat
;
//Material for the layers
83
int
layNum
;
//Layer numbers
84
double
layRadius
,
layAngle
;
//Positioning parameters
85
double
lengFront
;
//Distance from front
86
double
layPar
[5];
//Layer parameters
87
G4String
crystMat
;
//Material for the crystals
88
int
crystNum
;
//Crystal numbers
89
double
crystLength
;
//Crystal length
90
double
crystTol
;
//Tolerance for position
91
double
crystPar
[5];
//Crystal parameters
92
G4String
suppMat
;
//Material of support system
93
double
dxSupp
,
dySupp
,
dzSupp
;
//Dimension of support material
94
double
distSupp
;
//Separation of support material
95
};
96
97
#endif
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
CCalEcal::crystNum
int crystNum
Definition:
CCalEcal.hh:88
CCalEcal::thetaY
double thetaY
Definition:
CCalEcal.hh:81
CCalEcal::getDzSupp
double getDzSupp() const
Definition:
CCalEcal.hh:69
CCalEcal::crystLength
double crystLength
Definition:
CCalEcal.hh:89
CCalEcal::getPhiX
double getPhiX() const
Definition:
CCalEcal.hh:50
CCalEcal::getXpos
double getXpos() const
Definition:
CCalEcal.hh:46
CCalEcal::xpos
double xpos
Definition:
CCalEcal.hh:80
CCalEcal::layNum
int layNum
Definition:
CCalEcal.hh:83
CCalEcal::dySupp
double dySupp
Definition:
CCalEcal.hh:93
CCalEcal::crystPar
double crystPar[5]
Definition:
CCalEcal.hh:91
CCalEcal::getDistSupp
double getDistSupp() const
Definition:
CCalEcal.hh:70
CCalEcal::getPhiY
double getPhiY() const
Definition:
CCalEcal.hh:52
CCalEcal::getDxSupp
double getDxSupp() const
Definition:
CCalEcal.hh:67
CCalEcal::getZpos
double getZpos() const
Definition:
CCalEcal.hh:48
CCalEcal::genMat
G4String genMat
Definition:
CCalEcal.hh:78
G4InuclParticleNames::name
const char * name(G4int ptype)
Definition:
G4InuclParticleNames.hh:77
CCalEcal::getWidBox
double getWidBox() const
Definition:
CCalEcal.hh:44
CCalEcal::constructDaughters
virtual void constructDaughters()
Definition:
CCalEcal.cc:111
CCalEcal::ypos
double ypos
Definition:
CCalEcal.hh:80
CCalEcal::getLayMat
G4String getLayMat() const
Definition:
CCalEcal.hh:55
CCalEcal::thetaZ
double thetaZ
Definition:
CCalEcal.hh:81
CCalEcal::crystMat
G4String crystMat
Definition:
CCalEcal.hh:87
CCalEcal::getLayPar
double getLayPar(unsigned int i) const
Definition:
CCalEcal.hh:60
CCalEcal::getCrystTol
double getCrystTol() const
Definition:
CCalEcal.hh:64
CCalEcal::layAngle
double layAngle
Definition:
CCalEcal.hh:84
CCalEcal::thetaX
double thetaX
Definition:
CCalEcal.hh:81
CCalDetector.hh
CCalEcal::lengBox
double lengBox
Definition:
CCalEcal.hh:79
CCalEcal::suppMat
G4String suppMat
Definition:
CCalEcal.hh:92
CCalDetector
Definition:
CCalDetector.hh:49
CCalEcal::readFile
virtual int readFile()
Definition:
CCalEcal.cc:39
CCalEcal::dxSupp
double dxSupp
Definition:
CCalEcal.hh:93
CCalEcal::getThetaX
double getThetaX() const
Definition:
CCalEcal.hh:49
CCalEcal::getLayNum
int getLayNum() const
Definition:
CCalEcal.hh:56
CCalEcal::getCrystLength
double getCrystLength() const
Definition:
CCalEcal.hh:63
CCalEcal::getCrystPar
double getCrystPar(unsigned int i) const
Definition:
CCalEcal.hh:65
CCalEcal::phiY
double phiY
Definition:
CCalEcal.hh:81
CCalEcal::getSuppMat
G4String getSuppMat() const
Definition:
CCalEcal.hh:66
CCalEcal::getPhiZ
double getPhiZ() const
Definition:
CCalEcal.hh:54
CCalEcal::lengFront
double lengFront
Definition:
CCalEcal.hh:85
CCalEcal::getThetaY
double getThetaY() const
Definition:
CCalEcal.hh:51
CCalEcal::getLengBox
double getLengBox() const
Definition:
CCalEcal.hh:45
CCalEcal::getLayAngle
double getLayAngle() const
Definition:
CCalEcal.hh:58
CCalEcal::getLayRadius
double getLayRadius() const
Definition:
CCalEcal.hh:57
CCalEcal::getGenMat
G4String getGenMat() const
Definition:
CCalEcal.hh:43
CCalEcal::getYpos
double getYpos() const
Definition:
CCalEcal.hh:47
CCalEcal::layRadius
double layRadius
Definition:
CCalEcal.hh:84
CCalEcal::getLengFront
double getLengFront() const
Definition:
CCalEcal.hh:59
CCalEcal::phiX
double phiX
Definition:
CCalEcal.hh:81
CCalEcal
Definition:
CCalEcal.hh:35
CCalEcal::zpos
double zpos
Definition:
CCalEcal.hh:80
CCalEcal::widBox
double widBox
Definition:
CCalEcal.hh:79
CCalEcal::distSupp
double distSupp
Definition:
CCalEcal.hh:94
CCalEcal::getDySupp
double getDySupp() const
Definition:
CCalEcal.hh:68
CCalEcal::layMat
G4String layMat
Definition:
CCalEcal.hh:82
CCalEcal::layPar
double layPar[5]
Definition:
CCalEcal.hh:86
CCalEcal::getThetaZ
double getThetaZ() const
Definition:
CCalEcal.hh:53
CCalEcal::dzSupp
double dzSupp
Definition:
CCalEcal.hh:93
CCalEcal::phiZ
double phiZ
Definition:
CCalEcal.hh:81
CCalEcal::CCalEcal
CCalEcal(const G4String &name)
Definition:
CCalEcal.hh:38
CCalEcal::getCrystMat
G4String getCrystMat() const
Definition:
CCalEcal.hh:61
CCalEcal::getCrystNum
int getCrystNum() const
Definition:
CCalEcal.hh:62
CCalEcal::crystTol
double crystTol
Definition:
CCalEcal.hh:90
CCalEcal::~CCalEcal
virtual ~CCalEcal()
Definition:
CCalEcal.cc:37
G4String
Definition:
G4String.hh:45
geant4.10.03
examples
advanced
composite_calorimeter
include
CCalEcal.hh
Generated on Thu Feb 14 2002 02:27:31 for Geant4 by
1.8.8