#include <EDepSimSDFactory.hh>
Public Member Functions | |
SDFactory (G4String type) | |
Build a factory to build sensitive detectors specified by "type". More... | |
virtual | ~SDFactory () |
G4VSensitiveDetector * | GetSD (G4String name) |
G4VSensitiveDetector * | MakeSD (G4String name) |
Private Attributes | |
G4String | fType |
The type of sensitive detector that this will build. More... | |
Definition at line 15 of file EDepSimSDFactory.hh.
EDepSim::SDFactory::SDFactory | ( | G4String | type | ) |
Build a factory to build sensitive detectors specified by "type".
Definition at line 7 of file EDepSimSDFactory.cc.
|
virtual |
Definition at line 11 of file EDepSimSDFactory.cc.
G4VSensitiveDetector * EDepSim::SDFactory::GetSD | ( | G4String | name | ) |
Get pointer to a sensitive detector built by this factory, but return null if the detector doesn't exist.
Definition at line 13 of file EDepSimSDFactory.cc.
G4VSensitiveDetector * EDepSim::SDFactory::MakeSD | ( | G4String | name | ) |
Get pointer to a sensitive detector built by this factory, and create a new sensitive detector if required.
Definition at line 17 of file EDepSimSDFactory.cc.
|
private |
The type of sensitive detector that this will build.
Definition at line 31 of file EDepSimSDFactory.hh.