10#ifndef VXD_GEOMETRY_GEOVXDRADIATONSENSORS_H
11#define VXD_GEOMETRY_GEOVXDRADIATONSENSORS_H
13#include <simulation/kernel/SensitiveDetectorBase.h>
16#include <G4LogicalVolume.hh>
17#include <framework/gearbox/GearDir.h>
35 for (
auto sensitive :
m_sensitive)
delete sensitive;
47 void create(
const GearDir& content, G4LogicalVolume& topVolume, G4LogicalVolume& envelopeVolume);
GearDir is the basic class used for accessing the parameter store.
class to create the diamond radiation sensor geometry if defined
GeoVXDRadiationSensors(const std::string &subdetector)
construct the creator with the correct subdetector type
std::vector< Simulation::SensitiveDetectorBase * > m_sensitive
List to all created sensitive detector instances.
~GeoVXDRadiationSensors()
delete sensitive detector implementations
std::string m_subdetector
one of "PXD" or "SVD"
void create(const GearDir &content, G4LogicalVolume &topVolume, G4LogicalVolume &envelopeVolume)
create the Sensor geometry and assign the sensitive detector implementation.
Abstract base class for different kinds of events.