Geant4  10.01.p02
RE04ParallelWorldParam Class Reference

Parameterisation class for volumes in a parallel world. More...

#include <RE04ParallelWorldParam.hh>

+ Inheritance diagram for RE04ParallelWorldParam:
+ Collaboration diagram for RE04ParallelWorldParam:

Public Member Functions

 RE04ParallelWorldParam ()
 
 ~RE04ParallelWorldParam ()
 
void ComputeTransformation (const G4int copyNo, G4VPhysicalVolume *physVol) const
 
G4MaterialComputeMaterial (const G4int copyNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=0)
 
virtual void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
 
- Public Member Functions inherited from G4VPVParameterisation
 G4VPVParameterisation ()
 
virtual ~G4VPVParameterisation ()
 
virtual G4VSolidComputeSolid (const G4int, G4VPhysicalVolume *)
 
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 (G4Orb &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Sphere &, 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

G4MaterialfWater
 
G4MaterialfPb
 

Detailed Description

Parameterisation class for volumes in a parallel world.

  • void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume physVol) const returns a transformation with the physical volume of the 2nd argument according to copyNo. copyNo = 0 : the volume is placed at (-10*cm,-10*cm,0*cm) = 1 : the volume is placed at (10*cm,10*cm,0*cm)
  • G4Material ComputeMaterial(const G4int copyNo, G4VPhysicalVolume* currentVol, const G4VTouchable* parentTouch=0); returns a material according to copyNo. copyNo = 0 : water = 1 : lead

Definition at line 71 of file RE04ParallelWorldParam.hh.

Constructor & Destructor Documentation

RE04ParallelWorldParam::RE04ParallelWorldParam ( )

Definition at line 39 of file RE04ParallelWorldParam.cc.

References fPb, fWater, and G4Material::GetMaterial().

+ Here is the call graph for this function:

RE04ParallelWorldParam::~RE04ParallelWorldParam ( )

Definition at line 48 of file RE04ParallelWorldParam.cc.

Member Function Documentation

virtual void RE04ParallelWorldParam::ComputeDimensions ( G4Box ,
const G4int  ,
const G4VPhysicalVolume  
) const
inlinevirtual

Reimplemented from G4VPVParameterisation.

Definition at line 87 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 92 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 94 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 96 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 98 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 100 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 102 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 104 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 106 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 108 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 110 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 112 of file RE04ParallelWorldParam.hh.

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

Reimplemented from G4VPVParameterisation.

Definition at line 114 of file RE04ParallelWorldParam.hh.

G4Material * RE04ParallelWorldParam::ComputeMaterial ( const G4int  copyNo,
G4VPhysicalVolume currentVol,
const G4VTouchable parentTouch = 0 
)
virtual

Reimplemented from G4VPVParameterisation.

Definition at line 60 of file RE04ParallelWorldParam.cc.

References fPb, and fWater.

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

Implements G4VPVParameterisation.

Definition at line 52 of file RE04ParallelWorldParam.cc.

References cm, and G4VPhysicalVolume::SetTranslation().

+ Here is the call graph for this function:

Member Data Documentation

G4Material* RE04ParallelWorldParam::fPb
private

Definition at line 119 of file RE04ParallelWorldParam.hh.

Referenced by ComputeMaterial(), and RE04ParallelWorldParam().

G4Material* RE04ParallelWorldParam::fWater
private

Definition at line 118 of file RE04ParallelWorldParam.hh.

Referenced by ComputeMaterial(), and RE04ParallelWorldParam().


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