 |
Belle II Software
release-05-02-19
|
12 #ifndef GEOSVDCREATOR_H
13 #define GEOSVDCREATOR_H
16 #include <vxd/geometry/GeoVXDCreator.h>
17 #include <svd/dbobjects/SVDGeometryPar.h>
31 class GeoSVDCreator :
public VXD::GeoVXDCreator {
68 B2FATAL(
"No configuration for " << name <<
" found.");
A class that describes the interval of experiments/runs for which an object in the database is valid.
Struct holding the information where a sensor should be placed inside the ladder.
GeoSVDCreator()
Constructor of the GeoSVDCreator class.
Class to uniquely identify a any structure of the PXD and SVD.
void readHalfShellSupport(const GearDir &support, SVDGeometryPar &svdGeometryPar)
Create support structure for SVD Half Shell, that means everything thagt does not depend on layer or ...
The Class for VXD geometry.
The Class for VXD Sensor payload.
Base class for Sensitive Detector implementation of PXD and SVD.
virtual void createPayloads(const GearDir &content, const IntervalOfValidity &iov) override
Create the configuration objects and save them in the Database.
virtual VXD::GeoVXDAssembly createLadderSupport(int, const SVDGeometryPar ¶meters)
Create support structure for a SVD Ladder.
Base class to provide Sensor Information for PXD and SVD.
void construct(Args &&... params)
Construct an object of type T in this DBImportObjPtr using the provided constructor arguments.
bool import(const IntervalOfValidity &iov)
Import the object to database.
virtual VXD::SensorInfoBase * createSensorInfo(const VXDGeoSensorPar &sensor) override
Read the sensor definitions from the database.
Class to group some Geant4 volumes and place them all at once with a given transformation matrix.
GeoVXDCreator(const std::string &prefix)
Constructor of the GeoVXDCreator class.
virtual VXD::GeoVXDAssembly createHalfShellSupport(const SVDGeometryPar ¶meters)
Create support structure for SVD Half Shell, that means everything thagt does not depend on layer or ...
Class for accessing objects in the database.
void createGeometry(const SVDGeometryPar ¶meters, G4LogicalVolume &topVolume, geometry::GeometryTypes type)
Create the geometry from a parameter object.
SVDGeometryPar createConfiguration(const GearDir ¶m)
Create a parameter object from the Gearbox XML parameters.
void readLayerSupport(int layer, const GearDir &support, SVDGeometryPar &svdGeometryPar)
Create support structure for a SVD Layer.
SVDSensorInfoPar * readSensorInfo(const GearDir &sensor)
Read the sensor definitions from gearbox.
Abstract base class for different kinds of events.
virtual void createFromDB(const std::string &name, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Create the geometry from the Database.
virtual VXD::SensitiveDetectorBase * createSensitiveDetector(VxdID sensorID, const VXDGeoSensor &sensor, const VXDGeoSensorPlacement &placement) override
Return a SensitiveDetector implementation for a given sensor.
GearDir is the basic class used for accessing the parameter store.
Class for importing a single object to the database.
void readLadderSupport(int layer, const GearDir &support, SVDGeometryPar &svdGeometryPar)
Create support structure for a SVD Ladder.
Struct holding all parameters for a completeVXD Sensor.
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 r...
virtual ~GeoSVDCreator()
The destructor of the GeoSVDCreator class.
GeometryTypes
Flag indiciating the type of geometry to be used.
std::vector< SensorInfo * > m_SensorInfo
Vector of pointers to SensorInfo objects.
virtual VXD::GeoVXDAssembly createLayerSupport(int, const SVDGeometryPar ¶meters)
Create support structure for a SVD Layer.
The Class for VXD geometry.