 |
Belle II Software
release-05-01-25
|
14 #include <geometry/CreatorBase.h>
15 #include <framework/gearbox/GearDir.h>
16 #include <framework/logging/Logger.h>
17 #include <framework/database/DBObjPtr.h>
18 #include <framework/database/DBImportObjPtr.h>
19 #include <framework/database/IntervalOfValidity.h>
20 #include <ir/dbobjects/BeamPipeGeo.h>
24 class G4LogicalVolume;
43 return BeamPipeGeoConfig;
88 B2FATAL(
"No configuration for " << name <<
" found.");
A class that describes the interval of experiments/runs for which an object in the database is valid.
The creator for the BeamPipe geometry of the Belle II detector.
virtual void createPayloads(const GearDir &content, const IntervalOfValidity &iov) override
creates DB payload for BeamPipeGeo class
void addConstantOverride(const std::string &name, TObject *obj, bool oneRun=false)
Add constant override payload.
virtual void createFromDB(const std::string &name, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Create the geometry from the Database.
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 ~GeoBeamPipeCreator()
The destructor of the GeoBeamPipeCreator class.
BeamPipeGeo createConfiguration(const GearDir ¶m)
Reads IR geometry parameters from the xml files and createst DB class BeamPipeGeo.
void initialize(const GearDir &content)
Initialze from the gearbox (xml file)
Class for accessing objects in the database.
void createGeometry(G4LogicalVolume &topVolume, geometry::GeometryTypes type)
Create detector geometry.
virtual void create(const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Creates the ROOT Objects for the BeamPipe geometry.
BeamPipeGeo m_config
geometry parameters object
Abstract base class for different kinds of events.
GearDir is the basic class used for accessing the parameter store.
Class for importing a single object to the database.
static DBStore & Instance()
Instance of a singleton DBStore.
Geometry parameters of BeamPipe.
std::vector< SensitiveDetector * > m_sensitive
Sensitive detector.
Pure virtual base class for all geometry creators.
VXD::SensitiveDetector< PXDSimHit, PXDTrueHit > SensitiveDetector
The PXD Sensitive Detector class.
GeoBeamPipeCreator()
Constructor of the GeoBeamPipeCreator class.
GeometryTypes
Flag indiciating the type of geometry to be used.