 |
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/CryostatGeo.h>
23 #include <G4Transform3D.hh>
24 #include <G4VSolid.hh>
25 class G4LogicalVolume;
54 return CryostatGeoConfig;
105 B2FATAL(
"No configuration for " << name <<
" found.");
A class that describes the interval of experiments/runs for which an object in the database is valid.
GeoCryostatCreator & operator=(const GeoCryostatCreator &)=delete
Do not want an assignment operator.
virtual ~GeoCryostatCreator()
The destructor of the GeoCryostatCreator class.
G4Transform3D transform
Transformation.
void addConstantOverride(const std::string &name, TObject *obj, bool oneRun=false)
Add constant override payload.
The struct for CryostatElement.
virtual void create(const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Creates the ROOT Objects for the Cryostat geometry.
virtual void createPayloads(const GearDir &content, const IntervalOfValidity &iov) override
creates DB payload for CryostatGeo class
CryostatGeo createConfiguration(const GearDir ¶m)
Reads IR geometry parameters from the xml files and createst DB class CryostatGeo.
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.
void createGeometry(G4LogicalVolume &topVolume, geometry::GeometryTypes type)
Create detector geometry.
virtual void createFromDB(const std::string &name, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Create the geometry from the Database.
G4LogicalVolume * logi
Logical volume.
Geometry parameters of Cryostat.
Class for accessing objects in the database.
SensitiveDetector * m_sensitive
Sensitive detector.
Abstract base class for different kinds of events.
GeoCryostatCreator()
Constructor of the GeoCryostatCreator class.
void initialize(const GearDir &content)
Initialize from gearbox (xml file)
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.
CryostatGeo m_config
geometry parameters object
The IR Sensitive Detector class.
The creator for the Cryostat geometry of the Belle II detector.
Pure virtual base class for all geometry creators.
GeometryTypes
Flag indiciating the type of geometry to be used.
G4VSolid * geo
Solid volume.