geant4-B1-example
1.0
|
Detector construction class to define materials and geometry. More...
#include <B1DetectorConstruction.hh>
Public Member Functions | |
B1DetectorConstruction () | |
iniitalize fScoringVolume to 0 More... | |
virtual | ~B1DetectorConstruction () |
do nothing. More... | |
virtual G4VPhysicalVolume * | Construct () |
the main place for geometry setting. the scoring volume is set to shape2 (bone) More... | |
G4LogicalVolume * | GetScoringVolume () const |
Protected Attributes | |
G4LogicalVolume * | fScoringVolume |
Detector construction class to define materials and geometry.
Definition at line 16 of file B1DetectorConstruction.hh.
B1DetectorConstruction::B1DetectorConstruction | ( | ) |
iniitalize fScoringVolume to 0
Definition at line 19 of file B1DetectorConstruction.cc.
|
virtual |
do nothing.
Definition at line 26 of file B1DetectorConstruction.cc.
|
virtual |
the main place for geometry setting. the scoring volume is set to shape2 (bone)
world is the largest object.
Set logicShape2 as scoring volume (fScoringVolume)
always return the physical World
Definition at line 33 of file B1DetectorConstruction.cc.
References fScoringVolume.
|
inline |
Definition at line 26 of file B1DetectorConstruction.hh.
References fScoringVolume.
Referenced by B1RunAction::EndOfRunAction(), and B1SteppingAction::UserSteppingAction().
|
protected |
Definition at line 29 of file B1DetectorConstruction.hh.
Referenced by Construct(), and GetScoringVolume().