31 #include "DetectorConstruction.hh"
32 #include "DetectorMessenger.hh"
56 fMethod(kWithDirectMatrix),
96 rmin, rmax, hz, phiMin, deltaPhi);
122 dX1/2, dX2/2, dY1/2, dY2/2, dZ/2);
160 G4cout <<
"\n --> phi = " << phi/
deg <<
" deg; direct rotation matrix : ";
203 G4cout <<
"\n --> phi = " << phi/
deg <<
" deg; inverse rotation matrix : ";
243 rotm1.rotateY(theta);
245 G4cout <<
"\n --> phi = " << phi/
deg <<
" deg; direct rotation matrix : ";
264 rotm2Inv->rotateZ(-phi);
265 rotm2Inv->rotateY(-theta);
300 G4cout <<
"\n --> phi = " << phi/
deg <<
" deg; direct rotation matrix : ";
317 phi_euler = phi +
pi/2;
383 translateZ = HepGeom::Translate3D(0, 0, +3.*
cm);
387 ->
Place(translateZ * transform1 * reflect3D,
396 ->
Place( translateZ * transform2 * reflect3D,
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void PlaceWithDirectMatrix()
void PlaceWithAxialRotations()
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
G4VPhysicalVolume * Construct()
DetectorMessenger * fMessenger
void PlaceWithReflections()
static G4NistManager * Instance()
static G4ReflectionFactory * Instance()
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4VPhysicalVolume * physiWorld
static G4PhysicalVolumeStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
G4PhysicalVolumesPair Place(const G4Transform3D &transform3D, const G4String &name, G4LogicalVolume *LV, G4LogicalVolume *motherLV, G4bool isMany, G4int copyNo, G4bool surfCheck=false)
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
G4LogicalVolume * fTrdVolume
static G4GeometryManager * GetInstance()
void PlaceWithEulerAngles()
G4LogicalVolume * fWorldVolume
static G4RunManager * GetRunManager()
void PlaceWithInverseMatrix()
static const double degree
void SetMethod(EMethod method)
void OpenGeometry(G4VPhysicalVolume *vol=0)
Messenger class that defines commands for DetectorConstruction.