 |
Belle II Software
release-05-01-25
|
11 #ifndef GEOECLCREATOR_H
12 #define GEOECLCREATOR_H
14 #include <geometry/CreatorBase.h>
16 #include <framework/gearbox/GearDir.h>
17 #include <simulation/kernel/SensitiveDetectorBase.h>
19 class G4LogicalVolume;
26 class ECLCrystalsShapeAndPosition;
73 void barrel(G4LogicalVolume&);
87 const G4VisAttributes*
att(
const std::string& n)
const;
88 G4LogicalVolume* get_preamp()
const ;
89 double get_pa_box_height()
const {
return 2;}
99 std::map<std::string, G4VisAttributes*>
m_atts;
A class that describes the interval of experiments/runs for which an object in the database is valid.
Simulation::SensitiveDetectorBase * m_sensediode
Sensitive diode.
const ECLCrystalsShapeAndPosition * m_sap
pointer to a storage with crystal shapes and positions
virtual void create(const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Function to actually create the geometry, has to be overridden by derived classes.
void forward(G4LogicalVolume &)
Place elements inside the forward endcap.
G4LogicalVolume * wrapped_crystal(const shape_t *s, const std::string &endcap, double wrapthickness)
Wrapped crystal.
GeoECLCreator()
Constructor of the GeoECLCreator class.
~GeoECLCreator()
The destructor of the GeoECLCreator class.
Base class for all Sensitive Detectors to create hits during simulation.
void backward(G4LogicalVolume &)
Place elements inside the backward endcap.
virtual void createFromDB(const std::string &name, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Function to create the geometry from the Database.
Abstract base class for different kinds of events.
void barrel(G4LogicalVolume &)
Make the ECL barrel and then place elements inside it.
GearDir is the basic class used for accessing the parameter store.
const G4VisAttributes * att(const std::string &n) const
Define visual attributes.
Simulation::SensitiveDetectorBase * m_sensitive
Sensitive detector.
std::map< std::string, G4VisAttributes * > m_atts
Vector of background-Sensitive detectors.
Pure virtual base class for all geometry creators.
void defineVisAttributes()
Define visual attributes.
Crystal shapes and positions.
virtual void createPayloads(const GearDir &content, const IntervalOfValidity &iov) override
Function to create the geometry database.
GeometryTypes
Flag indiciating the type of geometry to be used.