![]() |
Belle II Software development
|
The creator for the CSI geometry. More...
#include <CsiCreator.h>
Public Member Functions | |
| CsiCreator () | |
| Constructor. | |
| virtual | ~CsiCreator () |
| Destructor. | |
| virtual void | create (const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type) |
| Creation of the detector geometry from Gearbox (XML). | |
| BELLE2_DEFINE_EXCEPTION (DBNotImplemented, "Cannot create geometry from Database.") | |
| Exception that will be thrown in createFromDB if member is not yet implemented by creator. | |
| virtual void | createFromDB (const std::string &name, G4LogicalVolume &topVolume, GeometryTypes type) |
| Function to create the geometry from the Database. | |
| virtual void | createPayloads (const GearDir &content, const IntervalOfValidity &iov) |
| Function to create the geometry database. | |
Protected Member Functions | |
| void | BuildEnclosure (const GearDir &content, G4AssemblyVolume *assembly, std::string side, int iEnclosure) |
| Builds the crystals enclosures. | |
| void | PutCrystal (const GearDir &content, G4AssemblyVolume *assembly, G4Transform3D position, int iEnclosure, int iCry) |
| Builds the crystals and their wrapping (foil) | |
Protected Attributes | |
| SensitiveDetector * | m_sensitive |
| SensitiveDetector CSI. | |
The creator for the CSI geometry.
Definition at line 30 of file CsiCreator.h.
| CsiCreator | ( | ) |
Constructor.
Definition at line 50 of file CsiCreator.cc.
|
virtual |
Destructor.
Definition at line 55 of file CsiCreator.cc.
|
protected |
Builds the crystals enclosures.
< Position of the nominal centre of crystals in the box
< Nominal position of the centre of the box
Definition at line 209 of file CsiCreator.cc.
|
virtual |
Creation of the detector geometry from Gearbox (XML).
| [in] | content | XML data directory. |
| [in] | topVolume | Geant world volume. |
| [in] | type | Geometry type. |
Implements CreatorBase.
Definition at line 60 of file CsiCreator.cc.
|
virtualinherited |
Function to create the geometry from the Database.
| name | name of the component in the database, could be used to disambiguate multiple components created with the same creator |
| topVolume | Top volume in which the geometry has to be placed |
| type | Type of geometry to be build |
Reimplemented in GeoARICHCreator, BeamabortCreator, GeoBKLMCreator, GeoCDCCreator, GeoCOILCreator, GeoECLCreator, GeoEKLMCreator, GeoMagneticField, GeoBeamPipeCreator, GeoCryostatCreator, GeoFarBeamLineCreator, GeoKLMCreator, MyDBCreator, GeoPXDCreator, GeoServiceMaterialCreator, GeoSTRCreator, GeoSVDCreator, GeoTOPCreator, GeoHeavyMetalShieldCreator, and GeoVXDServiceCreator.
Definition at line 17 of file CreatorBase.cc.
|
virtualinherited |
Function to create the geometry database.
This function should be implemented to convert Gearbox parameters to one or more database payloads
| content | GearDir pointing to the parameters which should be used for construction |
| iov | interval of validity to use when generating payloads |
Reimplemented in GeoARICHCreator, BeamabortCreator, GeoBKLMCreator, GeoCDCCreator, GeoCOILCreator, GeoECLCreator, GeoEKLMCreator, GeoMagneticField, GeoBeamPipeCreator, GeoCryostatCreator, GeoFarBeamLineCreator, GeoKLMCreator, MyDBCreator, GeoPXDCreator, GeoServiceMaterialCreator, GeoSTRCreator, GeoSVDCreator, GeoTOPCreator, GeoHeavyMetalShieldCreator, and GeoVXDServiceCreator.
Definition at line 24 of file CreatorBase.cc.
|
protected |
Builds the crystals and their wrapping (foil)
Definition at line 108 of file CsiCreator.cc.
|
protected |
SensitiveDetector CSI.
Definition at line 49 of file CsiCreator.h.