Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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: G3CalcParams.hh,v 2.3 1998/10/05 15:26:05 lockman Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
// class G3CalcParams
|
||||
//
|
||||
// Class inheriting from G4VPVParameterisation to provide GSDVN
|
||||
// functionality
|
||||
//
|
||||
// History:
|
||||
// 03.09.96 T. Wenaus Initial version
|
||||
|
||||
#ifndef G3CALCPARAMS_HH
|
||||
#define G3CALCPARAMS_HH
|
||||
|
||||
#include <math.h>
|
||||
#include "globals.hh"
|
||||
#include "G4VPVParameterisation.hh"
|
||||
|
||||
class G3CalcParams: public G4VPVParameterisation
|
||||
{
|
||||
public:
|
||||
G3CalcParams(G4int ndiv, G4double width, G4double offset)
|
||||
{ fNdiv = ndiv; fWidth = width; fOffset = offset;}
|
||||
|
||||
void ComputeTransformation(const G4int n,
|
||||
G4VPhysicalVolume *pRep) const;
|
||||
|
||||
void ComputeDimensions(G4Box &pBox,
|
||||
const G4int,
|
||||
const G4VPhysicalVolume *pRep) const;
|
||||
|
||||
void ComputeDimensions(G4Tubs &,
|
||||
const G4int,
|
||||
const G4VPhysicalVolume *) const;
|
||||
|
||||
void ComputeDimensions(G4Trd &,
|
||||
const G4int,
|
||||
const G4VPhysicalVolume *) const;
|
||||
|
||||
void ComputeDimensions(G4Trap &,
|
||||
const G4int,
|
||||
const G4VPhysicalVolume *) const;
|
||||
|
||||
void ComputeDimensions(G4Cons &,
|
||||
const G4int,
|
||||
const G4VPhysicalVolume *) const;
|
||||
|
||||
void ComputeDimensions(G4Sphere &,
|
||||
const G4int,
|
||||
const G4VPhysicalVolume *) const;
|
||||
|
||||
void ComputeDimensions(G4Torus &,
|
||||
const G4int,
|
||||
const G4VPhysicalVolume *) const;
|
||||
|
||||
void ComputeDimensions(G4Para &,
|
||||
const G4int,
|
||||
const G4VPhysicalVolume *) const;
|
||||
|
||||
void ComputeDimensions(G4Hype &,
|
||||
const G4int,
|
||||
const G4VPhysicalVolume *) const;
|
||||
|
||||
private:
|
||||
G4int fNdiv;
|
||||
G4double fWidth;
|
||||
G4double fOffset;
|
||||
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user