Belle II Software development
|
The creator for the AWESOME detector geometry. More...
#include <AWESOMEGeometryCreator.h>
Public Member Functions | |
AWESOMEGeometryCreator () | |
Default constructor. | |
AWESOMEGeometryCreator (AWESOMEGeometryCreator &)=delete | |
Copy constructor, deleted. | |
AWESOMEGeometryCreator & | operator= (AWESOMEGeometryCreator &)=delete |
Assignment operator, deleted. | |
virtual | ~AWESOMEGeometryCreator () |
Default destructor. | |
void | create (const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes) |
Create the AWESOME detector geometry in the world volume. | |
BELLE2_DEFINE_EXCEPTION (DBNotImplemented, "Cannot create geometry from Database.") | |
Exception that will be thrown in createFromDB if member is not yet implemented by creator. | |
virtual void | createFromDB (const std::string &name, G4LogicalVolume &topVolume, GeometryTypes type) |
Function to create the geometry from the Database. | |
virtual void | createPayloads (const GearDir &content, const IntervalOfValidity &iov) |
Function to create the geometry database. | |
Private Attributes | |
AWESOMESensitiveDetector * | m_sensitiveDetector |
The AWESOME sensitive detector. | |
The creator for the AWESOME detector geometry.
Definition at line 26 of file AWESOMEGeometryCreator.h.
Default constructor.
Definition at line 31 of file AWESOMEGeometryCreator.cc.
|
virtual |
Default destructor.
Definition at line 37 of file AWESOMEGeometryCreator.cc.
|
virtual |
Create the AWESOME detector geometry in the world volume.
content | Gearbox path to the detector geometry. |
topVolume | Geant4 world volume. |
Implements CreatorBase.
Definition at line 43 of file AWESOMEGeometryCreator.cc.
|
virtualinherited |
Function to create the geometry from the Database.
name | name of the component in the database, could be used to disambiguate multiple components created with the same creator |
topVolume | Top volume in which the geometry has to be placed |
type | Type of geometry to be build |
Reimplemented in GeoMagneticField, GeoARICHCreator, BeamabortCreator, GeoCDCCreator, GeoCDCCreatorReducedCDC, GeoECLCreator, MyDBCreator, GeoBeamPipeCreator, GeoCryostatCreator, GeoFarBeamLineCreator, GeoBKLMCreator, GeoEKLMCreator, GeoKLMCreator, GeoPXDCreator, GeoCOILCreator, GeoServiceMaterialCreator, GeoSTRCreator, GeoSVDCreator, GeoTOPCreator, GeoHeavyMetalShieldCreator, and GeoVXDServiceCreator.
Definition at line 17 of file CreatorBase.cc.
|
virtualinherited |
Function to create the geometry database.
This function should be implemented to convert Gearbox parameters to one ore more database payloads
content | GearDir pointing to the parameters which should be used for construction |
iov | interval of validity to use when generating payloads |
Reimplemented in GeoARICHCreator, BeamabortCreator, GeoCDCCreator, GeoCDCCreatorReducedCDC, GeoECLCreator, GeoMagneticField, MyDBCreator, GeoBeamPipeCreator, GeoCryostatCreator, GeoFarBeamLineCreator, GeoBKLMCreator, GeoEKLMCreator, GeoKLMCreator, GeoPXDCreator, GeoCOILCreator, GeoServiceMaterialCreator, GeoSTRCreator, GeoSVDCreator, GeoTOPCreator, GeoHeavyMetalShieldCreator, and GeoVXDServiceCreator.
Definition at line 24 of file CreatorBase.cc.
|
private |
The AWESOME sensitive detector.
Definition at line 60 of file AWESOMEGeometryCreator.h.