47 lines
1.0 KiB
SQL
47 lines
1.0 KiB
SQL
// This code implementation is the intellectual property of
|
|
// the GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: G4PTorus.ddl,v 1.3 1999/12/15 14:51:25 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
//
|
|
// class G4PTorus
|
|
//
|
|
// History:
|
|
// 19.06.98 A.Kimura Converted G4Torus.hh
|
|
|
|
#ifndef G4PTorus_DDL
|
|
#define G4PTorus_DDL
|
|
|
|
#include "G4PersistentSchema.hh"
|
|
#include "G4PCSGSolid.hh"
|
|
|
|
class G4VSolid;
|
|
class G4Torus;
|
|
|
|
class G4PTorus : public G4PCSGSolid {
|
|
public:
|
|
G4PTorus(const G4Torus* theTorus);
|
|
virtual ~G4PTorus();
|
|
|
|
G4VSolid* MakeTransientObject() const;
|
|
|
|
void SetAllParameters(G4double pRmin, G4double pRmax, G4double pRtor,
|
|
G4double pSPhi, G4double pDPhi);
|
|
|
|
// Naming method (pseudo-RTTI : run-time type identification
|
|
virtual G4GeometryType GetEntityType() const {return G4String("G4Torus");}
|
|
|
|
protected:
|
|
|
|
G4double fRmin,fRmax,fRtor,fSPhi,fDPhi;
|
|
|
|
};
|
|
|
|
#endif
|
|
|