68 : fMaterials(NULL), fLogicHole(NULL), fLogicWorld(NULL),
69 fPhysiWorld(NULL), fPhysiHole(NULL)
186 assert(
sizeof(refl_TiO2) ==
sizeof(p_TiO2));
188 assert(
sizeof(effi_TiO2) ==
sizeof(p_TiO2));
190 TiO2SurfaceProperty -> AddProperty(
"REFLECTIVITY",p_TiO2,refl_TiO2,nbins);
191 TiO2SurfaceProperty -> AddProperty(
"EFFICIENCY",p_TiO2,effi_TiO2,nbins);
193 TiO2Surface -> SetMaterialPropertiesTable(TiO2SurfaceProperty);
375 std::ostringstream o;
376 o <<
"The Fiber Hole has not been constructed";
377 G4Exception(
"WLSDetectorConstruction::ConstructFiber",
"",
442 logicPlacement = logicClad2;
443 physiPlacement = physiClad2;
483 logicPlacement = logicClad1;
484 physiPlacement = physiClad1;
558 assert(
sizeof(refl_mirror) ==
sizeof(p_mirror));
560 assert(
sizeof(effi_mirror) ==
sizeof(effi_mirror));
562 mirrorSurfaceProperty->
563 AddProperty(
"REFLECTIVITY",p_mirror,refl_mirror,nbins);
564 mirrorSurfaceProperty->
565 AddProperty(
"EFFICIENCY",p_mirror,effi_mirror,nbins);
567 mirrorSurface -> SetMaterialPropertiesTable(mirrorSurfaceProperty);
611 G4cerr <<
"Invalid alignment. Alignment Reset to 0" <<
G4endl;
676 assert(
sizeof(refl_mppc) ==
sizeof(p_mppc));
678 assert(
sizeof(effi_mppc) ==
sizeof(p_mppc));
680 photonDetSurfaceProperty->
AddProperty(
"REFLECTIVITY",p_mppc,refl_mppc,nbins);
681 photonDetSurfaceProperty->
AddProperty(
"EFFICIENCY",p_mppc,effi_mppc,nbins);
693 G4String mppcSDName =
"WLS/PhotonDet";
744 unsigned int place = 0;
746 while (place < rotation.size()) {
751 const G4String tmpstring=rotation.substr(place+1);
753 angle = strtod(tmpstring.c_str(),&
p) *
deg;
755 if (!p || (*p != (
char)
',' && *p != (
char)
'\0')) {
756 G4cerr <<
"Invalid rotation specification: " <<
757 rotation.c_str() <<
G4endl;
763 switch(rotation.substr(place,1).c_str()[0]) {
774 G4cerr <<
" Invalid rotation specification: "
779 rot = thisRotation * rot;
780 place = rotation.find(
',',place);
781 if (place > rotation.size())
break;
795 if (shape ==
"Circle" || shape ==
"Square" )
fMPPCShape = shape;