Geant4  10.01.p01
G02ChamberParameterisation Class Reference

Chamber parametrisation used in the GDML read/write example. More...

#include <G02ChamberParameterisation.hh>

+ Inheritance diagram for G02ChamberParameterisation:
+ Collaboration diagram for G02ChamberParameterisation:

Public Member Functions

 G02ChamberParameterisation (G4int NoChambers, G4double startZ, G4double spacing, G4double widthChamber, G4double lengthInitial, G4double lengthFinal)
 
 ~G02ChamberParameterisation ()
 
void ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const
 
void ComputeDimensions (G4Box &trackerLayer, const G4int copyNo, const G4VPhysicalVolume *physVol) const
 
- Public Member Functions inherited from G4VPVParameterisation
 G4VPVParameterisation ()
 
virtual ~G4VPVParameterisation ()
 
virtual G4VSolidComputeSolid (const G4int, G4VPhysicalVolume *)
 
virtual G4MaterialComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=0)
 
virtual G4bool IsNested () const
 
virtual G4VVolumeMaterialScannerGetMaterialScanner ()
 

Private Member Functions

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 (G4Orb &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Ellipsoid &, 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
 
void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
 

Private Attributes

G4int fNoChambers
 
G4double fStartZ
 
G4double fHalfWidth
 
G4double fSpacing
 
G4double fHalfLengthFirst
 
G4double fHalfLengthIncr
 

Detailed Description

Chamber parametrisation used in the GDML read/write example.

Definition at line 68 of file G02ChamberParameterisation.hh.

Constructor & Destructor Documentation

G02ChamberParameterisation::G02ChamberParameterisation ( G4int  NoChambers,
G4double  startZ,
G4double  spacing,
G4double  widthChamber,
G4double  lengthInitial,
G4double  lengthFinal 
)

Definition at line 45 of file G02ChamberParameterisation.cc.

References FatalException, fHalfLengthFirst, fHalfLengthIncr, fHalfWidth, fNoChambers, fSpacing, fStartZ, and G4Exception().

+ Here is the call graph for this function:

G02ChamberParameterisation::~G02ChamberParameterisation ( )

Definition at line 73 of file G02ChamberParameterisation.cc.

Member Function Documentation

void G02ChamberParameterisation::ComputeDimensions ( G4Box trackerLayer,
const G4int  copyNo,
const G4VPhysicalVolume physVol 
) const
virtual

Reimplemented from G4VPVParameterisation.

Definition at line 90 of file G02ChamberParameterisation.cc.

References fHalfLengthFirst, fHalfLengthIncr, fHalfWidth, G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), and G4Box::SetZHalfLength().

+ Here is the call graph for this function:

void G02ChamberParameterisation::ComputeDimensions ( G4Trd ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 89 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Trap ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 90 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Cons ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 91 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Sphere ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 92 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Orb ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 93 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Ellipsoid ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 94 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Torus ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 95 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Para ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 96 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Hype ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 97 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Tubs ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 98 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Polycone ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 99 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeDimensions ( G4Polyhedra ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlineprivatevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 100 of file G02ChamberParameterisation.hh.

void G02ChamberParameterisation::ComputeTransformation ( const G4int  copyNo,
G4VPhysicalVolume physVol 
) const
virtual

Implements G4VPVParameterisation.

Definition at line 79 of file G02ChamberParameterisation.cc.

References fSpacing, fStartZ, G4VPhysicalVolume::SetRotation(), and G4VPhysicalVolume::SetTranslation().

+ Here is the call graph for this function:

Member Data Documentation

G4double G02ChamberParameterisation::fHalfLengthFirst
private

Definition at line 108 of file G02ChamberParameterisation.hh.

Referenced by ComputeDimensions(), and G02ChamberParameterisation().

G4double G02ChamberParameterisation::fHalfLengthIncr
private

Definition at line 109 of file G02ChamberParameterisation.hh.

Referenced by ComputeDimensions(), and G02ChamberParameterisation().

G4double G02ChamberParameterisation::fHalfWidth
private

Definition at line 106 of file G02ChamberParameterisation.hh.

Referenced by ComputeDimensions(), and G02ChamberParameterisation().

G4int G02ChamberParameterisation::fNoChambers
private

Definition at line 104 of file G02ChamberParameterisation.hh.

Referenced by G02ChamberParameterisation().

G4double G02ChamberParameterisation::fSpacing
private
G4double G02ChamberParameterisation::fStartZ
private

The documentation for this class was generated from the following files: