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"