 |
Belle II Software
release-05-02-19
|
11 #ifndef GEOMETRYMODULE_H
12 #define GEOMETRYMODULE_H
14 #include <framework/core/Module.h>
15 #include <framework/database/DBObjPtr.h>
16 #include <geometry/dbobjects/GeoConfiguration.h>
27 class GeometryModule:
public Module {
bool m_createGeometryPayload
If true we need to create a payload.
std::vector< std::string > m_additional
Components to be added in addition to the default ones.
DBObjPtr< GeoConfiguration > * m_geometryConfig
Database object pointing to the geometry configuration in case we load the geometry from database.
~GeometryModule()
Destructor.
bool m_assignRegions
Whether or not a region should be assigned to all volumes created by a given creator.
void terminate() override
Clean up the geometry.
std::vector< std::string > m_components
Components to be created, if empty all components will be created.
int m_geometryType
Type of the geometry to be built.
Abstract base class for different kinds of events.
std::string m_geometryPath
Path for the geometry in the parameter space.
std::vector< int > m_payloadIov
Payload iov when creating a geometry configuration.
std::vector< std::string > m_excluded
Components to excluded from creation.
GeometryModule()
Constructor.
bool m_useDB
Whether or not to build the geometry from the database.
void initialize() override
Create geometry.
bool m_ignoreIfPresent
Whether or not this module will raise an error if the geometry is already present.