Geant4  10.02
G4EzVolume Class Reference

#include <G4EzVolume.hh>

+ Collaboration diagram for G4EzVolume:

Public Member Functions

 G4EzVolume ()
 
 G4EzVolume (const G4String &aname)
 
 ~G4EzVolume ()
 
void CreateBoxVolume (G4Material *amaterial, G4double dx, G4double dy, G4double dz)
 
void CreateTubeVolume (G4Material *amaterial, G4double rmin, G4double rmax, G4double dz, G4double phi0=0., G4double dphi=360 *deg)
 
void CreateConeVolume (G4Material *amaterial, G4double rmin1, G4double rmax1, G4double rmin2, G4double rmax2, G4double dz, G4double phi0=0., G4double dphi=360.*deg)
 
void CreateSphereVolume (G4Material *amaterial, G4double rmin, G4double rmax, G4double phi0=0., G4double dphi=360.*deg, G4double theta0=0., G4double dtheta=180.*deg)
 
void CreateOrbVolume (G4Material *amaterial, G4double rmax)
 
G4VPhysicalVolumePlaceIt (const G4ThreeVector &pos, G4int ncopy=0, G4EzVolume *parent=0)
 
G4VPhysicalVolumePlaceIt (const G4Transform3D &transform, G4int ncopy=0, G4EzVolume *parent=0)
 
G4VPhysicalVolumeReplicateIt (G4EzVolume *parent, EAxis pAxis, G4int nReplicas, G4double width, G4double offset=0)
 
G4ThreeVector VoxelizeIt (G4int nx, G4int ny, G4int nz)
 
void SetSensitiveDetector (G4VSensitiveDetector *asd)
 
const G4StringGetName () const
 
void SetSolid (G4VSolid *asolid)
 
const G4VSolidGetSolid () const
 
void SetMaterial (G4Material *amaterial)
 
G4MaterialGetMaterial () const
 
G4int GetNofPlacements () const
 
void SetVisibility (G4bool qvisible)
 
void SetColor (const G4Color &color)
 
void SetColor (G4double red, G4double green, G4double blue)
 

Protected Attributes

G4String name
 
G4VSolidsolid
 
G4LogicalVolumelv
 
G4LogicalVolumelvsub
 
G4VisAttributesva
 
G4int nplacement
 

Detailed Description

Definition at line 52 of file G4EzVolume.hh.

Constructor & Destructor Documentation

G4EzVolume::G4EzVolume ( )

Definition at line 54 of file G4EzVolume.cc.

G4EzVolume::G4EzVolume ( const G4String aname)

Definition at line 65 of file G4EzVolume.cc.

G4EzVolume::~G4EzVolume ( )

Definition at line 74 of file G4EzVolume.cc.

Member Function Documentation

void G4EzVolume::CreateBoxVolume ( G4Material amaterial,
G4double  dx,
G4double  dy,
G4double  dz 
)

Definition at line 81 of file G4EzVolume.cc.

References G4cout, G4endl, lv, name, solid, and va.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

void G4EzVolume::CreateConeVolume ( G4Material amaterial,
G4double  rmin1,
G4double  rmax1,
G4double  rmin2,
G4double  rmax2,
G4double  dz,
G4double  phi0 = 0.,
G4double  dphi = 360.*deg 
)

Definition at line 122 of file G4EzVolume.cc.

References G4cout, G4endl, lv, name, solid, and va.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

void G4EzVolume::CreateOrbVolume ( G4Material amaterial,
G4double  rmax 
)

Definition at line 168 of file G4EzVolume.cc.

References G4cout, G4endl, lv, name, solid, and va.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

void G4EzVolume::CreateSphereVolume ( G4Material amaterial,
G4double  rmin,
G4double  rmax,
G4double  phi0 = 0.,
G4double  dphi = 360.*deg,
G4double  theta0 = 0.,
G4double  dtheta = 180.*deg 
)

Definition at line 146 of file G4EzVolume.cc.

References G4cout, G4endl, lv, name, solid, and va.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

void G4EzVolume::CreateTubeVolume ( G4Material amaterial,
G4double  rmin,
G4double  rmax,
G4double  dz,
G4double  phi0 = 0.,
G4double  dphi = 360*deg 
)

Definition at line 101 of file G4EzVolume.cc.

References G4cout, G4endl, lv, name, solid, and va.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4Material * G4EzVolume::GetMaterial ( ) const
inline

Definition at line 143 of file G4EzVolume.hh.

References lv.

Referenced by BOOST_PYTHON_MODULE(), and VoxelizeIt().

+ Here is the caller graph for this function:

const G4String & G4EzVolume::GetName ( ) const
inline

Definition at line 131 of file G4EzVolume.hh.

References name.

G4int G4EzVolume::GetNofPlacements ( ) const
inline

Definition at line 149 of file G4EzVolume.hh.

References nplacement.

const G4VSolid * G4EzVolume::GetSolid ( ) const
inline

Definition at line 135 of file G4EzVolume.hh.

References solid.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4VPhysicalVolume * G4EzVolume::PlaceIt ( const G4ThreeVector pos,
G4int  ncopy = 0,
G4EzVolume parent = 0 
)

Definition at line 187 of file G4EzVolume.cc.

References G4cout, G4endl, G4EzWorld::GetWorldVolume(), lv, name, and nplacement.

+ Here is the call graph for this function:

G4VPhysicalVolume * G4EzVolume::PlaceIt ( const G4Transform3D transform,
G4int  ncopy = 0,
G4EzVolume parent = 0 
)

Definition at line 212 of file G4EzVolume.cc.

References G4cout, G4endl, G4EzWorld::GetWorldVolume(), lv, name, and nplacement.

+ Here is the call graph for this function:

G4VPhysicalVolume * G4EzVolume::ReplicateIt ( G4EzVolume parent,
EAxis  pAxis,
G4int  nReplicas,
G4double  width,
G4double  offset = 0 
)

Definition at line 237 of file G4EzVolume.cc.

References G4cout, G4endl, lv, name, and nplacement.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

void G4EzVolume::SetColor ( const G4Color color)
inline

Definition at line 156 of file G4EzVolume.hh.

References va.

Referenced by SetColor().

+ Here is the caller graph for this function:

void G4EzVolume::SetColor ( G4double  red,
G4double  green,
G4double  blue 
)
inline

Definition at line 161 of file G4EzVolume.hh.

References SetColor(), and va.

+ Here is the call graph for this function:

void G4EzVolume::SetMaterial ( G4Material amaterial)
inline

Definition at line 137 of file G4EzVolume.hh.

References lv, and lvsub.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

void G4EzVolume::SetSensitiveDetector ( G4VSensitiveDetector asd)

Definition at line 301 of file G4EzVolume.cc.

References lv, and lvsub.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

void G4EzVolume::SetSolid ( G4VSolid asolid)
inline

Definition at line 133 of file G4EzVolume.hh.

References solid.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

void G4EzVolume::SetVisibility ( G4bool  qvisible)
inline

Definition at line 151 of file G4EzVolume.hh.

References va.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

G4ThreeVector G4EzVolume::VoxelizeIt ( G4int  nx,
G4int  ny,
G4int  nz 
)

Definition at line 257 of file G4EzVolume.cc.

References G4cout, G4endl, GetMaterial(), kXAxis, lv, lvsub, name, and solid.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4LogicalVolume* G4EzVolume::lvsub
protected

Definition at line 58 of file G4EzVolume.hh.

Referenced by SetMaterial(), SetSensitiveDetector(), and VoxelizeIt().

G4int G4EzVolume::nplacement
protected

Definition at line 60 of file G4EzVolume.hh.

Referenced by GetNofPlacements(), PlaceIt(), and ReplicateIt().


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