![]() |
Belle II Software
release-08-02-04
|
The GeoCoilCreator class. More...
#include <GeoCOILCreator.h>


Public Member Functions | |
| GeoCOILCreator () | |
| Constructor of the GeoCOILCreator class. | |
| virtual | ~GeoCOILCreator () |
| The destructor of the GeoCOILCreator class. | |
| virtual void | create (const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override |
| Creates the Geant4 objects for the structure geometry from Gearbox. More... | |
| 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 | |
| COILGeometryPar | readConfiguration (const GearDir ¶m) |
| Creates a parameter object from the Gearbox XML parameters. More... | |
| virtual void | createGeometry (const COILGeometryPar ¶meters, G4LogicalVolume &topVolume, geometry::GeometryTypes) |
| Creates the ROOT Objects for the coil geometry. More... | |
Private Attributes | |
| std::vector< G4VisAttributes * > | m_VisAttributes |
| Vector of pointers to G4VisAttributes. | |
The GeoCoilCreator class.
The creator for the the Belle II coil.
Definition at line 38 of file GeoCOILCreator.h.
|
overridevirtual |
Creates the Geant4 objects for the structure geometry from Gearbox.
This is the 'old' way of building the geometry from Gearbox (xml files). Expected to be deprecated in the future.
| content | A reference to the content part of the parameter description, which should to be used to create the ROOT objects. |
| topVolume | Geant4 logical top volume. |
| type | Geometry type. |
Implements CreatorBase.
Definition at line 80 of file GeoCOILCreator.cc.
|
privatevirtual |
Creates the ROOT Objects for the coil geometry.
| parameters | A database object containing the geometry information |
| topVolume | A Geant4 volume where to place the item |
Definition at line 149 of file GeoCOILCreator.cc.
|
overridevirtual |
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 87 of file GeoCOILCreator.cc.
|
private |
Creates a parameter object from the Gearbox XML parameters.
If more than one object is created these could be assigned to members or you could return a tuple.
| param | A reference to the content part of the parameter description, which should to be used to create the ROOT objects. |
Definition at line 107 of file GeoCOILCreator.cc.