 |
Belle II Software
release-05-01-25
|
11 #ifndef FANGSCREATOR_H_
12 #define FANGSCREATOR_H_
14 #include <geometry/CreatorBase.h>
15 #include <simulation/kernel/SensitiveDetectorBase.h>
17 class G4LogicalVolume;
49 G4LogicalVolume* parent,
double roffset,
bool check);
51 virtual void create(
const GearDir& content, G4LogicalVolume& topVolume,
Base class for all Sensitive Detectors to create hits during simulation.
virtual void create(const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type)
Function to actually create the geometry, has to be overridden by derived classes.
The creator for the FANGS geometry.
G4Material * m_topMaterial
pointer to the material in the top volume to use as default
Abstract base class for different kinds of events.
GearDir is the basic class used for accessing the parameter store.
G4UserLimits * m_stepLength
pointer to the G4Userlimits to set for sensitive volumes (if any)
Pure virtual base class for all geometry creators.
void createShape(const std::string &prefix, const GearDir ¶ms, G4LogicalVolume *parent, double roffset, bool check)
create a shape (box or cylinder) from XML description and place all child shapes in it by recursively...
FANGSCreator(Simulation::SensitiveDetectorBase *sensitive=nullptr)
Constructor.
GeometryTypes
Flag indiciating the type of geometry to be used.
Simulation::SensitiveDetectorBase * m_sensitive
pointer to the sensitive detector implementation