Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -23,25 +23,16 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
// --------------------------------------------------------------------
// GEANT 4 class header file
//
//
// G4TwistTrapParallelSide
//
// Class description:
//
// Class describing a twisted boundary surface for a trapezoid.
// Class describing a twisted boundary surface for a trapezoid.
// Author:
//
// 27-Oct-2004 - O.Link (Oliver.Link@cern.ch)
//
// Author: 27-Oct-2004 - O.Link (Oliver.Link@cern.ch)
// --------------------------------------------------------------------
#ifndef __G4TWISTTRAPPARALLELSIDE__
#define __G4TWISTTRAPPARALLELSIDE__
#ifndef G4TWISTTRAPPARALLELSIDE_HH
#define G4TWISTTRAPPARALLELSIDE_HH
#include "G4VTwistSurface.hh"
@@ -51,7 +42,7 @@ class G4TwistTrapParallelSide : public G4VTwistSurface
{
public: // with description
G4TwistTrapParallelSide(const G4String &name,
G4TwistTrapParallelSide(const G4String& name,
G4double PhiTwist, // twist angle
G4double pDz, // half z lenght
G4double pTheta, // direction between end planes
@@ -68,18 +59,18 @@ class G4TwistTrapParallelSide : public G4VTwistSurface
virtual ~G4TwistTrapParallelSide();
virtual G4ThreeVector GetNormal(const G4ThreeVector &xx,
virtual G4ThreeVector GetNormal(const G4ThreeVector& xx,
G4bool isGlobal = false) ;
virtual G4int DistanceToSurface(const G4ThreeVector &gp,
const G4ThreeVector &gv,
virtual G4int DistanceToSurface(const G4ThreeVector& gp,
const G4ThreeVector& gv,
G4ThreeVector gxx[],
G4double distance[],
G4int areacode[],
G4bool isvalid[],
EValidate validate = kValidateWithTol);
virtual G4int DistanceToSurface(const G4ThreeVector &gp,
virtual G4int DistanceToSurface(const G4ThreeVector& gp,
G4ThreeVector gxx[],
G4double distance[],
G4int areacode[]);
@@ -93,13 +84,13 @@ class G4TwistTrapParallelSide : public G4VTwistSurface
private:
virtual G4int GetAreaCode(const G4ThreeVector &xx,
virtual G4int GetAreaCode(const G4ThreeVector& xx,
G4bool withTol = true);
virtual void SetCorners();
virtual void SetBoundaries();
void GetPhiUAtX(G4ThreeVector p, G4double &phi, G4double &u);
G4ThreeVector ProjectPoint(const G4ThreeVector &p,
void GetPhiUAtX(G4ThreeVector p, G4double& phi, G4double& u);
G4ThreeVector ProjectPoint(const G4ThreeVector& p,
G4bool isglobal = false);
virtual G4ThreeVector SurfacePoint(G4double phi, G4double u,