#ifndef LGDetectorConstruction_h #define LGDetectorConstruction_h 1 #include "globals.hh" #include "G4VUserDetectorConstruction.hh" class G4VPhysicalVolume; class G4LogicalBorderSurface; class LGDetectorConstruction : public G4VUserDetectorConstruction { public: LGDetectorConstruction(G4double, G4double, G4double, G4double, G4int); ~LGDetectorConstruction(); public: G4VPhysicalVolume* Construct(); G4double getLengthTapperedSection() { return zTapperedSection; } G4double getBendRadius() { return LGBendRadius; } G4double getBendAngle() { return LGBendAngle; } private: G4double zTapperedSection; G4double zLGRoundSection; G4double LGBendRadius; G4double LGBendAngle; G4int FirstDoBend; G4double x_LGrec ; G4double y_LGrec ; G4double z_LGrec ; G4double x_Scin ; G4double y_Scin ; G4double z_Scin ; G4double r_LGcyl ; G4double z_LGcyl ; G4double x1_LGtrap ; G4double y1_LGtrap ; G4double x2_LGtrap ; G4double y2_LGtrap ; G4double z_LGtrap ; G4double r1m_LGcone; G4double r1M_LGcone; G4double r2m_LGcone; G4double r2M_LGcone; G4double z_LGcone; // -------- 4. World G4double x_World ; G4double y_World ; G4double z_World ; }; # endif /*LGDetectorConstruction_h*/