#include <G4EzVolume.hh>
|
| 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) |
|
G4VPhysicalVolume * | PlaceIt (const G4ThreeVector &pos, G4int ncopy=0, G4EzVolume *parent=0) |
|
G4VPhysicalVolume * | PlaceIt (const G4Transform3D &transform, G4int ncopy=0, G4EzVolume *parent=0) |
|
G4VPhysicalVolume * | ReplicateIt (G4EzVolume *parent, EAxis pAxis, G4int nReplicas, G4double width, G4double offset=0) |
|
G4ThreeVector | VoxelizeIt (G4int nx, G4int ny, G4int nz) |
|
void | SetSensitiveDetector (G4VSensitiveDetector *asd) |
|
const G4String & | GetName () const |
|
void | SetSolid (G4VSolid *asolid) |
|
const G4VSolid * | GetSolid () const |
|
void | SetMaterial (G4Material *amaterial) |
|
G4Material * | GetMaterial () const |
|
G4int | GetNofPlacements () const |
|
void | SetVisibility (G4bool qvisible) |
|
void | SetColor (const G4Color &color) |
|
void | SetColor (G4double red, G4double green, G4double blue) |
|
Definition at line 52 of file G4EzVolume.hh.
◆ G4EzVolume() [1/2]
G4EzVolume::G4EzVolume |
( |
| ) |
|
◆ G4EzVolume() [2/2]
G4EzVolume::G4EzVolume |
( |
const G4String & |
aname | ) |
|
◆ ~G4EzVolume()
G4EzVolume::~G4EzVolume |
( |
| ) |
|
◆ CreateBoxVolume()
Definition at line 81 of file G4EzVolume.cc.
86 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 96 lv-> SetVisAttributes(
va);
G4GLOB_DLL std::ostream G4cout
◆ CreateConeVolume()
Definition at line 122 of file G4EzVolume.cc.
130 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 141 lv-> SetVisAttributes(
va);
G4GLOB_DLL std::ostream G4cout
◆ CreateOrbVolume()
Definition at line 168 of file G4EzVolume.cc.
172 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 182 lv-> SetVisAttributes(
va);
G4GLOB_DLL std::ostream G4cout
◆ CreateSphereVolume()
Definition at line 146 of file G4EzVolume.cc.
153 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 163 lv-> SetVisAttributes(
va);
G4GLOB_DLL std::ostream G4cout
◆ CreateTubeVolume()
Definition at line 101 of file G4EzVolume.cc.
107 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 117 lv-> SetVisAttributes(
va);
G4GLOB_DLL std::ostream G4cout
◆ GetMaterial()
◆ GetName()
const G4String & G4EzVolume::GetName |
( |
| ) |
const |
|
inline |
◆ GetNofPlacements()
G4int G4EzVolume::GetNofPlacements |
( |
| ) |
const |
|
inline |
◆ GetSolid()
const G4VSolid * G4EzVolume::GetSolid |
( |
| ) |
const |
|
inline |
◆ PlaceIt() [1/2]
Definition at line 187 of file G4EzVolume.cc.
193 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created."
G4GLOB_DLL std::ostream G4cout
static G4VPhysicalVolume * GetWorldVolume()
◆ PlaceIt() [2/2]
Definition at line 212 of file G4EzVolume.cc.
218 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created."
G4GLOB_DLL std::ostream G4cout
static G4VPhysicalVolume * GetWorldVolume()
◆ ReplicateIt()
Definition at line 237 of file G4EzVolume.cc.
243 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created."
G4GLOB_DLL std::ostream G4cout
◆ SetColor() [1/2]
void G4EzVolume::SetColor |
( |
const G4Color & |
color | ) |
|
|
inline |
Definition at line 156 of file G4EzVolume.hh.
void SetColor(const G4Color &color)
◆ SetColor() [2/2]
Definition at line 161 of file G4EzVolume.hh.
void SetColor(const G4Color &color)
◆ SetMaterial()
void G4EzVolume::SetMaterial |
( |
G4Material * |
amaterial | ) |
|
|
inline |
Definition at line 137 of file G4EzVolume.hh.
void SetMaterial(G4Material *amaterial)
◆ SetSensitiveDetector()
Definition at line 301 of file G4EzVolume.cc.
void SetSensitiveDetector(G4VSensitiveDetector *asd)
◆ SetSolid()
void G4EzVolume::SetSolid |
( |
G4VSolid * |
asolid | ) |
|
|
inline |
◆ SetVisibility()
void G4EzVolume::SetVisibility |
( |
G4bool |
qvisible | ) |
|
|
inline |
Definition at line 151 of file G4EzVolume.hh.
void SetVisibility(G4bool qvisible)
◆ VoxelizeIt()
Definition at line 257 of file G4EzVolume.cc.
263 G4cout <<
"%%% Error (G4EzVolume): voxelization is valid " 264 <<
"only for Box geometry." <<
G4endl;
269 G4cout <<
"%%% Error (G4EzVolume): already voxelized." <<
G4endl;
273 G4double dx= (avolume-> GetXHalfLength())*2.;
274 G4double dy= (avolume-> GetYHalfLength())*2.;
275 G4double dz= (avolume-> GetZHalfLength())*2.;
282 G4Box* voxel=
new G4Box(
"voxel", ddx/2., ddy/2., ddz/2.);
287 lvsub-> SetVisAttributes(vavoxel);
291 G4int nvoxel= nx*ny*nz;
G4Material * GetMaterial() const
CLHEP::Hep3Vector G4ThreeVector
G4GLOB_DLL std::ostream G4cout
◆ lv
◆ lvsub
◆ name
◆ nplacement
G4int G4EzVolume::nplacement |
|
protected |
◆ solid
◆ va
The documentation for this class was generated from the following files: