Belle II Software development
|
The creator for the VXD Service geometry of the Belle II detector. More...
#include <GeoVXDServiceCreator.h>
Public Member Functions | |
GeoVXDServiceCreator ()=default | |
Default constructor is sufficient in this case. | |
virtual void | create (const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override |
The old create member: create the configuration object(s) on the fly and call the geometry creation routine. | |
virtual void | createPayloads (const GearDir &content, const IntervalOfValidity &iov) override |
Create the configuration objects and save them in the Database. | |
virtual void | createFromDB (const std::string &name, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override |
Create the geometry from the Database. | |
BELLE2_DEFINE_EXCEPTION (DBNotImplemented, "Cannot create geometry from Database.") | |
Exception that will be thrown in createFromDB if member is not yet implemented by creator. | |
Private Member Functions | |
VXDServiceGeometryPar | createConfiguration (const GearDir ¶m) |
Create a parameter object from the Gearbox XML parameters. | |
void | createGeometry (const VXDServiceGeometryPar ¶meters, G4LogicalVolume &topVolume, geometry::GeometryTypes type) |
Create the geometry from a parameter object. | |
Private Attributes | |
G4Material * | m_defaultMaterial {0} |
Default Material, inherited from topVolume. | |
The creator for the VXD Service geometry of the Belle II detector.
Definition at line 32 of file GeoVXDServiceCreator.h.
|
inlineoverridevirtual |
The old create member: create the configuration object(s) on the fly and call the geometry creation routine.
Implements CreatorBase.
Definition at line 45 of file GeoVXDServiceCreator.h.
|
private |
Create a parameter object from the Gearbox XML parameters.
Definition at line 35 of file GeoVXDServiceCreator.cc.
|
inlineoverridevirtual |
Create the geometry from the Database.
Reimplemented from CreatorBase.
Definition at line 61 of file GeoVXDServiceCreator.h.
|
private |
Create the geometry from a parameter object.
Definition at line 77 of file GeoVXDServiceCreator.cc.
|
inlineoverridevirtual |
Create the configuration objects and save them in the Database.
If more than one object is needed adjust accordingly
Reimplemented from CreatorBase.
Definition at line 53 of file GeoVXDServiceCreator.h.
|
private |
Default Material, inherited from topVolume.
Definition at line 74 of file GeoVXDServiceCreator.h.