77 G4double Rmin1 = (GrooveNo+0)*(GrooveWidth) ;
78 G4double Rmax1 = (GrooveNo+1)*(GrooveWidth) ;
80 G4double dZ = FresnelLens->GetSagita(Rmax1) - FresnelLens->GetSagita(Rmin1) ;
83 G4Exception(
"UltraFresnelLensParameterisation::ComputeTransformation()",
85 "UltraFresnelLensParameterisation::ComputeTransformation: Groove depth<0 !");
98 G4double Rmin1 = (GrooveNo+0)*(GrooveWidth) ;
99 G4double Rmax1 = (GrooveNo+1)*(GrooveWidth) ;
104 G4double dZ = FresnelLens->GetSagita(Rmax1) - FresnelLens->GetSagita(Rmin1) ;
107 G4Exception(
"UltraFresnelLensParameterisation::ComputeDimensions()",
109 "UltraFresnelLensParameterisation::ComputeDimensions: Groove depth<0 !");
123 G4cout <<
"UltraFresnelLensParameterisation: GrooveNo " << GrooveNo+1 <<
124 " Rmin1, Rmax1(mm): " << Rmin1/
mm <<
" "<< Rmax1/
mm <<
" dZ(mm) " << dZ/
mm <<
G4endl ;
void ComputeDimensions(G4Cons &Groove, const G4int GrooveNo, const G4VPhysicalVolume *physVol) const
virtual ~UltraFresnelLensParameterisation()
static constexpr double mm
void SetTranslation(const G4ThreeVector &v)
void SetOuterRadiusPlusZ(G4double Rmax2)
void SetOuterRadiusMinusZ(G4double Rmax1)
UltraFresnelLensParameterisation(UltraFresnelLens *)
void SetZHalfLength(G4double newDz)
G4int GetNumberOfGrooves()
G4double GetSagita(G4double)
G4double GetGrooveWidth()
void ComputeTransformation(const G4int GrooveNo, G4VPhysicalVolume *physVol) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void SetInnerRadiusPlusZ(G4double Rmin2)
void SetInnerRadiusMinusZ(G4double Rmin1)
G4GLOB_DLL std::ostream G4cout
void SetRotation(G4RotationMatrix *)
UltraFresnelLens * FresnelLens