Belle II Software development
GeoVXDRadiationSensors Class Reference

class to create the diamond radiation sensor geometry if defined More...

#include <GeoVXDRadiationSensors.h>

Public Member Functions

 GeoVXDRadiationSensors (const std::string &subdetector)
 construct the creator with the correct subdetector type
 
 ~GeoVXDRadiationSensors ()
 delete sensitive detector implementations
 
void create (const GearDir &content, G4LogicalVolume &topVolume, G4LogicalVolume &envelopeVolume)
 create the Sensor geometry and assign the sensitive detector implementation.
 

Private Attributes

std::string m_subdetector
 one of "PXD" or "SVD"
 
std::vector< Simulation::SensitiveDetectorBase * > m_sensitive
 List to all created sensitive detector instances.
 

Detailed Description

class to create the diamond radiation sensor geometry if defined

Definition at line 26 of file GeoVXDRadiationSensors.h.

Constructor & Destructor Documentation

◆ GeoVXDRadiationSensors()

GeoVXDRadiationSensors ( const std::string &  subdetector)
inlineexplicit

construct the creator with the correct subdetector type

Parameters
subdetectorone of "PXD" or "SVD"

Definition at line 31 of file GeoVXDRadiationSensors.h.

31: m_subdetector(subdetector) {}
std::string m_subdetector
one of "PXD" or "SVD"

◆ ~GeoVXDRadiationSensors()

delete sensitive detector implementations

Definition at line 33 of file GeoVXDRadiationSensors.h.

34 {
35 for (auto sensitive : m_sensitive) delete sensitive;
36 }
std::vector< Simulation::SensitiveDetectorBase * > m_sensitive
List to all created sensitive detector instances.

Member Data Documentation

◆ m_sensitive

std::vector<Simulation::SensitiveDetectorBase*> m_sensitive
private

List to all created sensitive detector instances.

Definition at line 53 of file GeoVXDRadiationSensors.h.

◆ m_subdetector

std::string m_subdetector
private

one of "PXD" or "SVD"

Definition at line 51 of file GeoVXDRadiationSensors.h.


The documentation for this class was generated from the following files: