76 G4cout <<
tab <<
"Common logical volumes initialization: "
78 <<
" absorber layers." <<
G4endl;
104 Name(), logh, mother,
false, 1);
107 if (mother != 0) name = mother->
GetName();
108 G4cout <<
Name() <<
" Number 1 positioned in " << name <<
" at ("
116 name =
Name() +
"Wall";
129 name =
Name() +
"Box" + i;
144 G4cout << logw->
GetName() <<
" Number 1 positioned in " << name
145 <<
" at (" << xpos*mm <<
",0,0) with no rotation" <<
G4endl;
151 G4cout << logw->
GetName() <<
" Number 2 positioned in " << name
152 <<
" at (" << xpos*mm <<
",0,0) with no rotation" <<
G4endl;
158 G4cout << name <<
" Number " << i+1 <<
" positioned in " << logh->
GetName()
175 sclLog[lay]->GetName(), logw,
false, i+1);
178 << logw->
GetName() <<
" at (" << xpos*mm <<
",0,0) with no rotation"
195 absLog[lay]->GetName(), logw,
false, i+1);
198 << logw->
GetName() <<
" at (" << xpos*mm <<
",0,0) with no rotation"
205 G4cout <<
"<<== End of CCalG4Hcal construction ..." <<
G4endl;
234 name =
Name() +
"ScntWrapper" + lay;
249 <<
" at (" << xpos*mm <<
",0,0) with no rotation" <<
G4endl;
255 <<
" at (" << xpos*mm <<
",0,0) with no rotation" <<
G4endl;
261 name =
Name() +
"FrontPlastic" + lay;
275 <<
" at (" << xpos*mm <<
",0,0) with no rotation" <<
G4endl;
277 name =
Name() +
"BackPlastic" + lay;
292 <<
" at (" << xpos*mm <<
",0,0) with no rotation" <<
G4endl;
297 name =
Name() +
"Scintillator" + lay;
313 <<
" at (" << xpos*mm <<
",0,0) with no rotation" <<
G4endl;
351 G4cout <<
"Register volume " << (*iter)->GetName() <<
" for" << SDname
356 G4cerr <<
"CCalG4Hcal ERROR: Could not construct Sensitive Detector"
double getDy_2Abs() const
int getNScintillator() const
double getDy_2Box() const
CLHEP::Hep3Vector G4ThreeVector
double getDy_2ScntLay(unsigned int i) const
int getTypeAbs(unsigned int i) const
void registerVolume(const G4String &name, G4LogicalVolume *)
double getWallThickBox() const
static constexpr double mm
double getDx_2ScntLay(unsigned int i) const
int getMotherScnt(unsigned int i) const
double getDx_2Scnt(unsigned int i) const
std::vector< ptrG4Log > allSensitiveLogs
int getMotherAbs(unsigned int i) const
CCalG4Hcal(const G4String &name)
double getDx_2Wrap(unsigned int i) const
double getDx_2FrontP(unsigned int i) const
G4LogicalVolume * constructAbsorberLayer(G4int)
double getDx_2Box() const
void setVisType(CCalVisualisable::visType, G4LogicalVolume *)
int getNLayerScnt() const
double getDx_2BackP(unsigned int i) const
double getDx_2Abs(unsigned int i) const
virtual void constructSensitive()
double getXposScnt(unsigned int i) const
double getXposBox(unsigned int i) const
int getTypeScnt(unsigned int i) const
double getDy_2Cal() const
G4Material * findMaterial(const G4String &) const
G4LogicalVolume * constructScintillatorLayer(G4int)
G4GLOB_DLL std::ostream G4cerr
G4String getGenMat() const
std::ostream & tab(std::ostream &)
double getDx_2Cal() const
double getXposCal() const
G4String getWrapMat() const
G4String getAbsMat() const
static CCalSensitiveDetectors * getInstance()
G4String getPlasMat() const
G4GLOB_DLL std::ostream G4cout
virtual void constructDaughters()
double getXposAbs(unsigned int i) const
G4String getBoxMat() const
virtual G4VPhysicalVolume * constructIn(G4VPhysicalVolume *)
G4String getScntMat() const
const G4String & GetName() const
const G4String & GetName() const
static CCalMaterialFactory * getInstance()