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);
177 G4cout << sclLog[lay]->
GetName() <<
" Number " << i+1 <<
" positioned in "
178 << logw->
GetName() <<
" at (" << xpos*mm <<
",0,0) with no rotation"
195 absLog[lay]->GetName(), logw,
false, i+1);
197 G4cout << absLog[lay]->
GetName() <<
" Number " << i+1 <<
" positioned in "
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;
302 allSensitiveLogs.push_back(logd);
313 <<
" at (" << xpos*mm <<
",0,0) with no rotation" <<
G4endl;
344 if (allSensitiveLogs.size()>0) {
347 for (std::vector<ptrG4Log>::iterator iter=allSensitiveLogs.begin();
348 iter<allSensitiveLogs.end(); iter++) {
351 G4cout <<
"Register volume " << (*iter)->GetName() <<
" for" << SDname
356 G4cerr <<
"CCalG4Hcal ERROR: Could not construct Sensitive Detector"
double getDx_2BackP(unsigned int i) const
CCalG4Hcal(const G4String &name)
virtual G4VPhysicalVolume * constructIn(G4VPhysicalVolume *)
G4String getPlasMat() const
double getXposScnt(unsigned int i) const
double getDx_2ScntLay(unsigned int i) const
CLHEP::Hep3Vector G4ThreeVector
virtual void constructDaughters()
double getDy_2Cal() const
double getDy_2Box() const
void setVisType(CCalVisualisable::visType, G4LogicalVolume *)
int getMotherScnt(unsigned int i) const
virtual void constructSensitive()
static CCalSensitiveDetectors * getInstance()
G4LogicalVolume * constructAbsorberLayer(G4int)
G4String getScntMat() const
double getXposCal() const
double getDy_2Abs() const
double getWallThickBox() const
int getTypeAbs(unsigned int i) const
int getMotherAbs(unsigned int i) const
double getDx_2Wrap(unsigned int i) const
void registerVolume(const G4String &name, G4LogicalVolume *)
double getDx_2Box() const
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
std::ostream & tab(std::ostream &)
double getDx_2FrontP(unsigned int i) const
G4Material * findMaterial(const G4String &) const
G4String getAbsMat() const
G4String getGenMat() const
double getDx_2Abs(unsigned int i) const
double getDx_2Cal() const
int getNLayerScnt() const
double getDy_2ScntLay(unsigned int i) const
double getXposAbs(unsigned int i) const
G4String getWrapMat() const
int getNScintillator() const
G4String getBoxMat() const
int getTypeScnt(unsigned int i) const
static CCalMaterialFactory * getInstance()
double getDx_2Scnt(unsigned int i) const
double getXposBox(unsigned int i) const
G4LogicalVolume * constructScintillatorLayer(G4int)
G4GLOB_DLL std::ostream G4cerr