4 #include "G4UnitsTable.hh"
6 #include "G4OpticalSurface.hh"
7 #include "G4LogicalBorderSurface.hh"
8 #include "G4LogicalSkinSurface.hh"
9 #include "G4Material.hh"
10 #include "G4MaterialTable.hh"
13 #include "G4UnionSolid.hh"
15 #include "G4LogicalVolume.hh"
16 #include "G4ThreeVector.hh"
17 #include "G4VisAttributes.hh"
19 using namespace TelescopeSimulatorLX ;
67 G4cerr <<
" ================================================================ " << G4endl ;
68 G4cerr <<
" = CameraSupport parameters " << G4endl ;
69 G4cerr <<
" = " << G4endl ;
71 G4cerr <<
" = " << G4endl ;
72 G4cerr <<
" ================================================================ " << G4endl ;
88 G4Box * CameraTopFoot =
91 G4Box * CameraVerticalFoot =
95 G4RotationMatrix * CameraFootRot =
new G4RotationMatrix(G4ThreeVector(0.,0.,1.),
TopTilt);
97 G4ThreeVector CameraFootTrans
101 G4UnionSolid * CameraFoot=
102 new G4UnionSolid(
"CameraFoot",CameraTopFoot,CameraVerticalFoot,CameraFootRot,CameraFootTrans) ;
115 G4OpticalSurface * OpticalAirCameraFoot=
new G4OpticalSurface(
"CameraFootSurface");
116 OpticalAirCameraFoot->SetModel(unified);
117 OpticalAirCameraFoot->SetType(dielectric_metal);
119 G4MaterialPropertiesTable *CameraFootMPT =
new G4MaterialPropertiesTable();
120 CameraFootMPT->AddProperty(
"REFLECTIVITY",
new G4MaterialPropertyVector()) ;
121 CameraFootMPT->AddEntry(
"REFLECTIVITY", 0.0*
eV,0.);
122 CameraFootMPT->AddEntry(
"REFLECTIVITY",10.0*
eV,0.);
123 OpticalAirCameraFoot->SetMaterialPropertiesTable(CameraFootMPT) ;
125 new G4LogicalSkinSurface(
"CameraFootSurface",
CameraFoot_log,OpticalAirCameraFoot);
static const G4Colour gray(0.5, 0.5, 0.5)