Belle II Software
release-08-01-10
|
The creator for the Service Material geometry of the Belle II detector. More...
#include <GeoServiceMaterialCreator.h>
Public Member Functions | |
GeoServiceMaterialCreator ()=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. More... | |
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 | |
ServiceGapsMaterialsPar | createConfiguration (const GearDir ¶m) |
Create a parameter object from the Gearbox XML parameters. | |
void | createGeometry (const ServiceGapsMaterialsPar ¶meters, G4LogicalVolume &topVolume, geometry::GeometryTypes type) |
Create the geometry from a parameter object. | |
void | createBEAST2Material (const ServiceGapsMaterialsPar ¶meters, G4LogicalVolume *&logical_gap) |
Create BEAST2 Material between CDC and ECL from a parameter object. | |
void | createTube (const double rmin, const double rmax, const double SPhi, const double DPhi, const double thick, const double posZ, G4Material *med, const std::string &name, G4LogicalVolume *&top) |
Create G4Tube. | |
void | createCone (const double rmin1, const double rmax1, const double rmin2, const double rmax2, const double thick, const double SPhi, const double DPhi, const double posz, G4Material *med, const std::string &name, G4LogicalVolume *&top) |
Create G4Cone. | |
Private Attributes | |
G4Material * | m_defaultMaterial {0} |
Default Material, inherited from topVolume. | |
The creator for the Service Material geometry of the Belle II detector.
Definition at line 32 of file GeoServiceMaterialCreator.h.
|
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 70 of file GeoServiceMaterialCreator.h.