#include <CCalEcal.hh>
Definition at line 35 of file CCalEcal.hh.
CCalEcal::CCalEcal |
( |
const G4String & |
name | ) |
|
|
inline |
Definition at line 38 of file CCalEcal.hh.
CCalDetector(const G4String &name)
void CCalEcal::constructDaughters |
( |
| ) |
|
|
protectedvirtual |
double CCalEcal::getCrystLength |
( |
| ) |
const |
|
inline |
G4String CCalEcal::getCrystMat |
( |
| ) |
const |
|
inline |
int CCalEcal::getCrystNum |
( |
| ) |
const |
|
inline |
double CCalEcal::getCrystPar |
( |
unsigned int |
i | ) |
const |
|
inline |
double CCalEcal::getCrystTol |
( |
| ) |
const |
|
inline |
double CCalEcal::getDistSupp |
( |
| ) |
const |
|
inline |
double CCalEcal::getDxSupp |
( |
| ) |
const |
|
inline |
double CCalEcal::getDySupp |
( |
| ) |
const |
|
inline |
double CCalEcal::getDzSupp |
( |
| ) |
const |
|
inline |
double CCalEcal::getLayAngle |
( |
| ) |
const |
|
inline |
int CCalEcal::getLayNum |
( |
| ) |
const |
|
inline |
double CCalEcal::getLayPar |
( |
unsigned int |
i | ) |
const |
|
inline |
double CCalEcal::getLayRadius |
( |
| ) |
const |
|
inline |
double CCalEcal::getLengBox |
( |
| ) |
const |
|
inline |
double CCalEcal::getLengFront |
( |
| ) |
const |
|
inline |
double CCalEcal::getPhiX |
( |
| ) |
const |
|
inline |
double CCalEcal::getPhiY |
( |
| ) |
const |
|
inline |
double CCalEcal::getPhiZ |
( |
| ) |
const |
|
inline |
double CCalEcal::getThetaX |
( |
| ) |
const |
|
inline |
double CCalEcal::getThetaY |
( |
| ) |
const |
|
inline |
double CCalEcal::getThetaZ |
( |
| ) |
const |
|
inline |
double CCalEcal::getWidBox |
( |
| ) |
const |
|
inline |
double CCalEcal::getXpos |
( |
| ) |
const |
|
inline |
double CCalEcal::getYpos |
( |
| ) |
const |
|
inline |
double CCalEcal::getZpos |
( |
| ) |
const |
|
inline |
int CCalEcal::readFile |
( |
| ) |
|
|
protectedvirtual |
Implements CCalDetector.
Definition at line 39 of file CCalEcal.cc.
42 G4cout <<
" ==> Opening file " <<
File() <<
" to read elements..."
55 is >> widBox >> lengBox >> xpos >> ypos >> zpos >> thetaX >> phiX
56 >> thetaY >> phiY >> thetaZ >> phiZ >>
jump;
58 G4cout <<
tab <<
"General material: " << genMat <<
"\tBox dimensions "
59 << widBox <<
", " << lengBox <<
G4endl;
60 G4cout <<
tab <<
"Positioned at (" << xpos <<
", " << ypos <<
", " << zpos
61 <<
") with rotation (" << thetaX <<
", " << phiX <<
", " << thetaY
62 <<
", " << phiY <<
", " << thetaZ <<
", " << phiZ <<
")" <<
G4endl;
68 is >> layNum >> layRadius >> layAngle >> lengFront;
72 G4cout <<
tab <<
"Layer material: " << layMat <<
" Number " << layNum
73 <<
" Radius " << layRadius <<
" Angle " << layAngle/
deg
74 <<
" front dist " << lengFront <<
" Parameters ";
76 G4cout << layPar[i] <<
" ";
82 is >> crystNum >> crystLength >> crystTol;
86 G4cout <<
tab <<
"Crystal material: " << crystMat <<
" Number " << crystNum
87 <<
" Length " << crystLength <<
" Tolerance " << crystTol
90 G4cout << crystPar[i] <<
" ";
96 is >> dxSupp >> dySupp >> dzSupp >> distSupp >>
jump;
98 G4cout <<
tab <<
"Support material: " << suppMat <<
" Dimensions " << dxSupp
99 <<
", " << dySupp <<
", " << dzSupp <<
" Distance " << distSupp <<
G4endl;
bool openGeomFile(std::ifstream &is, const G4String &pathname, const G4String &filename)
std::istream & jump(std::istream &)
std::ifstream & findDO(std::ifstream &, const G4String &)
std::ifstream & readName(std::ifstream &, G4String &)
G4GLOB_DLL std::ostream G4cout
std::ostream & tab(std::ostream &)
static constexpr double deg
The documentation for this class was generated from the following files:
- source/geant4.10.03.p02/examples/advanced/composite_calorimeter/include/CCalEcal.hh
- source/geant4.10.03.p02/examples/advanced/composite_calorimeter/src/CCalEcal.cc