Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
G4EzVolume Class Reference

#include <G4EzVolume.hh>

Collaboration diagram for G4EzVolume:
Collaboration graph
[legend]

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 53 of file G4EzVolume.hh.

Constructor & Destructor Documentation

G4EzVolume::G4EzVolume ( )

Definition at line 55 of file G4EzVolume.cc.

G4EzVolume::G4EzVolume ( const G4String aname)

Definition at line 66 of file G4EzVolume.cc.

G4EzVolume::~G4EzVolume ( )

Definition at line 75 of file G4EzVolume.cc.

Member Function Documentation

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

Definition at line 82 of file G4EzVolume.cc.

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 123 of file G4EzVolume.cc.

Here is the caller graph for this function:

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

Definition at line 169 of file G4EzVolume.cc.

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 147 of file G4EzVolume.cc.

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 102 of file G4EzVolume.cc.

Here is the caller graph for this function:

G4Material * G4EzVolume::GetMaterial ( ) const
inline

Definition at line 144 of file G4EzVolume.hh.

Here is the caller graph for this function:

const G4String & G4EzVolume::GetName ( ) const
inline

Definition at line 132 of file G4EzVolume.hh.

G4int G4EzVolume::GetNofPlacements ( ) const
inline

Definition at line 150 of file G4EzVolume.hh.

const G4VSolid * G4EzVolume::GetSolid ( ) const
inline

Definition at line 136 of file G4EzVolume.hh.

Here is the caller graph for this function:

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

Definition at line 188 of file G4EzVolume.cc.

Here is the call graph for this function:

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

Definition at line 213 of file G4EzVolume.cc.

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 238 of file G4EzVolume.cc.

Here is the caller graph for this function:

void G4EzVolume::SetColor ( const G4Color color)
inline

Definition at line 157 of file G4EzVolume.hh.

Here is the caller graph for this function:

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

Definition at line 162 of file G4EzVolume.hh.

Here is the call graph for this function:

void G4EzVolume::SetMaterial ( G4Material amaterial)
inline

Definition at line 138 of file G4EzVolume.hh.

Here is the caller graph for this function:

void G4EzVolume::SetSensitiveDetector ( G4VSensitiveDetector asd)

Definition at line 302 of file G4EzVolume.cc.

Here is the caller graph for this function:

void G4EzVolume::SetSolid ( G4VSolid asolid)
inline

Definition at line 134 of file G4EzVolume.hh.

Here is the caller graph for this function:

void G4EzVolume::SetVisibility ( G4bool  qvisible)
inline

Definition at line 152 of file G4EzVolume.hh.

Here is the caller graph for this function:

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

Definition at line 258 of file G4EzVolume.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

G4LogicalVolume* G4EzVolume::lv
protected

Definition at line 58 of file G4EzVolume.hh.

G4LogicalVolume* G4EzVolume::lvsub
protected

Definition at line 59 of file G4EzVolume.hh.

G4String G4EzVolume::name
protected

Definition at line 56 of file G4EzVolume.hh.

G4int G4EzVolume::nplacement
protected

Definition at line 61 of file G4EzVolume.hh.

G4VSolid* G4EzVolume::solid
protected

Definition at line 57 of file G4EzVolume.hh.

G4VisAttributes* G4EzVolume::va
protected

Definition at line 60 of file G4EzVolume.hh.


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