#include <CaptWorldBuilder.hh>
Public Member Functions | |
CaptWorldBuilder (G4String n, EDepSim::UserDetectorConstruction *c) | |
virtual | ~CaptWorldBuilder () |
virtual G4LogicalVolume * | GetPiece (void) |
void | SetLength (double v) |
Set the length of the world. More... | |
void | SetWidth (double v) |
Set the width of the world. More... | |
void | SetHeight (double v) |
Set the height of the world. More... | |
double | GetLength () |
Get the length of the world. More... | |
double | GetWidth () |
Get the width of the world. More... | |
double | GetHeight () |
Get the height of the world. More... | |
Public Member Functions inherited from EDepSim::Builder | |
Builder (G4String n, EDepSim::UserDetectorConstruction *c) | |
Builder (G4String n, EDepSim::Builder *parent) | |
virtual | ~Builder () |
G4String | GetName (void) |
Return the base name of the object that this builds. More... | |
G4String | GetLocalName (void) |
Return the base name of the object that this builds. More... | |
void | SetLocalName (const G4String &name) |
Set the base name of the logical volume that this builds. More... | |
void | SetOpacity (double v) |
Set the relative opacity of the constructed object. More... | |
double | GetOpacity (void) const |
Get the relative opacity of the constructed object. More... | |
void | SetDaughterOpacity (double v) |
Set the relative opacity of the object daughters. More... | |
EDepSim::UserDetectorConstruction * | GetConstruction (void) |
Return the detector construction that is building this piece. More... | |
virtual void | SetSensitiveDetector (G4VSensitiveDetector *s) |
Set the sensitive detector for this component. More... | |
virtual G4VSensitiveDetector * | GetSensitiveDetector (void) |
Get the sensitive detector for this component. More... | |
virtual void | SetSensitiveDetector (G4String name, G4String type) |
Set the sensitive detector for this component by name. More... | |
virtual void | SetMaximumHitSagitta (double sagitta) |
virtual void | SetMaximumHitLength (double length) |
Set the maximum length of a single hit segment. More... | |
G4UImessenger * | GetMessenger (void) |
Return the messenger for this constructor. More... | |
void | SetMessenger (G4UImessenger *m) |
Set the messenger for this constructor. More... | |
void | AddBuilder (EDepSim::Builder *c) |
template<class T > | |
T & | Get (G4String n) |
template<class T > | |
T * | Find (G4String n) |
bool | Check () |
void | SetCheck (bool v) |
Set the check value. More... | |
Private Member Functions | |
void | Init (void) |
Private Attributes | |
double | fLength |
The distance along the X axis to simulate. More... | |
double | fWidth |
The side to side (Y) dimension to be simulated. More... | |
double | fHeight |
The height (Z) of the world coordinate system. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from EDepSim::Builder | |
G4Material * | FindMaterial (G4String m) |
G4VisAttributes | GetColor (G4LogicalVolume *volume, double opacity=0.0) |
G4VisAttributes | GetColor (G4Material *volume, double opacity=0.0) |
Construct the world volume. The origin is located at the center of the detector coordinate system. The world is mostly filled with air.
Definition at line 10 of file CaptWorldBuilder.hh.
|
inline |
Definition at line 12 of file CaptWorldBuilder.hh.
|
virtual |
Definition at line 83 of file CaptWorldBuilder.cc.
|
inline |
Get the height of the world.
Definition at line 38 of file CaptWorldBuilder.hh.
|
inline |
Get the length of the world.
Definition at line 32 of file CaptWorldBuilder.hh.
|
virtual |
Construct and return a G4 volume for the object. This is a pure virtual function, which means it must be implemented by the inheriting classes. This returns an unplaced logical volume which faces along the Z axis.
Implements EDepSim::Builder.
Definition at line 85 of file CaptWorldBuilder.cc.
|
inline |
Get the width of the world.
Definition at line 35 of file CaptWorldBuilder.hh.
|
private |
Definition at line 73 of file CaptWorldBuilder.cc.
|
inline |
Set the height of the world.
Definition at line 29 of file CaptWorldBuilder.hh.
|
inline |
Set the length of the world.
Definition at line 23 of file CaptWorldBuilder.hh.
|
inline |
Set the width of the world.
Definition at line 26 of file CaptWorldBuilder.hh.
|
private |
The height (Z) of the world coordinate system.
Definition at line 51 of file CaptWorldBuilder.hh.
|
private |
The distance along the X axis to simulate.
Definition at line 45 of file CaptWorldBuilder.hh.
|
private |
The side to side (Y) dimension to be simulated.
Definition at line 48 of file CaptWorldBuilder.hh.