BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
BDSSDManager Class Reference

A singleton class that holds all required sensitive detector class instances.
More...

#include <BDSSDManager.hh>

Collaboration diagram for BDSSDManager:
Collaboration graph

Public Member Functions

 BDSSDManager (const BDSSDManager &)=delete
 Singleton accessor.
 
BDSSDManageroperator= (const BDSSDManager &)=delete
 
G4VSensitiveDetector * SensitiveDetector (const BDSSDType sdType, G4bool applyOptions=false) const
 
BDSSDSamplerSamplerPlane () const
 SD for samplers (plane type). See also SamplerPlaneWithFilter below. More...
 
BDSSDSamplerCylinderSamplerCylinder () const
 SD for samplers (cylinder type). More...
 
BDSSDSamplerSphereSamplerSphere () const
 SD for samplers (sphere type). More...
 
BDSSDSamplerLinkSamplerLink () const
 SD for link samplers. More...
 
BDSSDTerminatorTerminator () const
 
BDSSDEnergyDepositionEnergyDeposition () const
 SD for general energy deposition. More...
 
BDSSDEnergyDepositionEnergyDepositionFull () const
 SD for general energy deposition but always include extra half of information. More...
 
BDSSDEnergyDepositionEnergyDepositionVacuum () const
 SD for energy deposition in vacuum volumes. More...
 
BDSSDEnergyDepositionEnergyDepositionTunnel () const
 SD for tunnel energy counter. More...
 
BDSSDEnergyDepositionGlobalEnergyDepositionWorld () const
 SD for energy deposition in the world volume. More...
 
BDSSDEnergyDepositionGlobalEnergyDepositionWorldContents () const
 SD for energy deposition in things that were already placed in the externally provided world. More...
 
BDSSDVolumeExitWorldExit () const
 SD for world exit hits. More...
 
BDSSDApertureImpactsApertureImpacts () const
 SD for aperture impact hits. More...
 
G4VSensitiveDetector * WorldComplete () const
 SD for multiple SDs for world - energy loss and exit. More...
 
G4VSensitiveDetector * ApertureComplete () const
 
G4VSensitiveDetector * WorldComplete () const
 
G4VSensitiveDetector * ApertureComplete () const
 
BDSSDCollimatorCollimator () const
 SD for collimator impact locations. More...
 
BDSMultiSensitiveDetectorOrderedCollimatorComplete () const
 SD for collimator impacts + energy deposition at the same time in order. More...
 
BDSSDThinThingThinThing () const
 
BDSMultiSensitiveDetectorOrderedWireComplete () const
 SD for wire scanner wires that is a composite of thin things + energy deposition full. More...
 
void RegisterPrimitiveScorerName (const G4String &nameIn, G4double unit=1.0)
 
void RegisterPrimitiveScorerNames (const std::vector< G4String > &namesIn, const std::vector< G4double > *units=nullptr)
 Loop over a vector and apply above single name function. More...
 
const std::vector< G4String > & PrimitiveScorerNamesComplete () const
 Access a vector the full primitive scorer names as registered. More...
 
const std::vector< G4String > & PrimitiveScorerNames () const
 Access a vector of the just primitive scorer part of the names. More...
 
const std::map< G4String, G4double > & PrimitiveScorerUnits () const
 Access the map of units for primitive scorers. More...
 
void SetLinkRegistry (BDSLinkRegistry *registry)
 If samplerLink member exists, set the registry to look up links for that SD. More...
 
void SetLinkMinimumEK (G4double minimumEKIn)
 
void SetLinkProtonsAndIonsOnly (G4bool protonsAndIonsOnlyIn)
 
void ConstructSamplerSDsForParticleSets (const std::map< int, std::set< int > > &samplerFilterIDtoPDGSetIn)
 
const std::vector< G4String > & ExtraSamplerWithFilterNamesComplete () const
 Access a vector of names of extra samplers so we can identify the hits collections. More...
 
const std::vector< G4String > & ExtraSamplerCylinderWithFilterNamesComplete () const
 Access a vector of names of extra samplers so we can identify the hits collections. More...
 
const std::vector< G4String > & ExtraSamplerSphereWithFilterNamesComplete () const
 Access a vector of names of extra samplers so we can identify the hits collections. More...
 
BDSSDSamplerSamplerPlaneWithFilter (G4int ID) const
 Access the relevant SD for a given particle filter set ID. It will return nullptr if the ID is invalid. More...
 
BDSSDSamplerCylinderSamplerCylinderWithFilter (G4int ID) const
 Access the relevant SD for a given particle filter set ID. It will return nullptr if the ID is invalid. More...
 
BDSSDSamplerSphereSamplerSphereWithFilter (G4int ID) const
 Access the relevant SD for a given particle filter set ID. It will return nullptr if the ID is invalid. More...
 

Static Public Member Functions

static BDSSDManagerInstance ()
 

Private Member Functions

 BDSSDManager ()
 Private default constructor for singleton. More...
 

Private Attributes

BDSSDCollimatorcollimatorSD
 
BDSMultiSensitiveDetectorOrderedcollimatorCompleteSD
 
BDSSDThinThingthinThingSD
 
BDSMultiSensitiveDetectorOrderedwireCompleteSD
 
std::map< G4String, G4VSDFilter * > filters
 Map of all filters used. This class owns a single instance of each. More...
 
std::vector< G4String > primitiveScorerNamesComplete
 Vector of complete (including mesh name) primitive scorer names. More...
 
std::vector< G4String > primitiveScorerNames
 Just the primitive scorer part of the name. More...
 
std::map< G4String, G4double > primitiveScorerNameToUnit
 Map of primitive scorer names to units. More...
 
std::map< G4int, BDSSDSampler * > extraSamplersWithFilters
 
std::map< G4int, BDSSDSamplerCylinder * > extraSamplerCylindersWithFilters
 
std::map< G4int, BDSSDSamplerSphere * > extraSamplerSpheresWithFilters
 
std::map< G4int, BDSSDFilterPDGIDSet * > extraSamplerFilters
 
std::vector< G4String > extraSamplerWithFilterNamesComplete
 
std::vector< G4String > extraSamplerCylinderWithFilterNamesComplete
 
std::vector< G4String > extraSamplerSphereWithFilterNamesComplete
 
BDSSDSamplersamplerPlane
 SD instance. More...
 
BDSSDSamplerCylindersamplerCylinder
 SD instance. More...
 
BDSSDSamplerSpheresamplerSphere
 SD instance. More...
 
BDSSDSamplerLinksamplerLink
 SD instance. More...
 
BDSSDTerminatorterminator
 SD instance. More...
 
BDSSDEnergyDepositionenergyDeposition
 SD instance. More...
 
BDSSDEnergyDepositionenergyDepositionFull
 SD instance. More...
 
BDSSDEnergyDepositionenergyDepositionVacuum
 SD instance. More...
 
BDSSDEnergyDepositionenergyDepositionTunnel
 SD instance. More...
 
BDSSDEnergyDepositionGlobalenergyDepositionWorld
 SD instance. More...
 
BDSSDEnergyDepositionGlobalenergyDepositionWorldContents
 SD instance. More...
 
BDSSDVolumeExitworldExit
 SD instance. More...
 
BDSSDApertureImpactsapertureImpacts
 SD instance. More...
 
G4VSensitiveDetector * worldCompleteSD
 SD instance. More...
 
G4VSensitiveDetector * apertureCompleteSD
 SD instance. More...
 
G4bool storeCollimatorHitsAll
 Cache of global constant option. More...
 
G4bool storeCollimatorHitsIons
 Cache of global constant option. More...
 
G4double collimatorHitsMinimumKE
 Cache of global constant option. More...
 
G4bool generateApertureImpacts
 Cache of global constant option. More...
 
G4bool storeApertureImpactsAll
 Cache of global constant option. More...
 
G4bool storeApertureImpactsIons
 Cache of global constant option. More...
 
G4double apertureImpactsMinimumKE
 Cache of global constant option. More...
 
G4bool generateELossHits
 Cache of global constant option. More...
 
G4bool generateELossVacuumHits
 Cache of global constant option. More...
 
G4bool generateELossTunnelHits
 Cache of global constant option. More...
 
G4bool generateELossWorldContents
 Cache of global constant option. More...
 
G4bool storeELossWorld
 Cache of global constant option. More...
 
G4bool storeELossExtras
 Cache of global constant option. More...
 
G4bool generateCollimatorHits
 Cache of global constant option. More...
 

Static Private Attributes

static BDSSDManagerinstance = nullptr
 

Detailed Description

A singleton class that holds all required sensitive detector class instances.

Each sensitive detector class need only be instantiated once and attached to the relevant volume. This instantiates all necessary SDs and holds them.

Author
Laurie Nevay

Definition at line 67 of file BDSSDManager.hh.

Constructor & Destructor Documentation

◆ ~BDSSDManager()

BDSSDManager::~BDSSDManager ( )

Definition at line 65 of file BDSSDManager.cc.

◆ BDSSDManager()

BDSSDManager::BDSSDManager ( )
private

Member Function Documentation

◆ ApertureComplete() [1/2]

G4VSensitiveDetector * BDSSDManager::ApertureComplete ( ) const
inline

Definition at line 128 of file BDSSDManager.hh.

◆ ApertureComplete() [2/2]

G4VSensitiveDetector * BDSSDManager::ApertureComplete ( ) const
inline

Definition at line 133 of file BDSSDManager.hh.

◆ ApertureImpacts()

BDSSDApertureImpacts * BDSSDManager::ApertureImpacts ( ) const
inline

SD for aperture impact hits.

Definition at line 123 of file BDSSDManager.hh.

References apertureImpacts.

◆ Collimator()

BDSSDCollimator * BDSSDManager::Collimator ( ) const
inline

SD for collimator impact locations.

Definition at line 137 of file BDSSDManager.hh.

◆ CollimatorComplete()

BDSMultiSensitiveDetectorOrdered * BDSSDManager::CollimatorComplete ( ) const
inline

SD for collimator impacts + energy deposition at the same time in order.

Definition at line 140 of file BDSSDManager.hh.

◆ ConstructSamplerSDsForParticleSets()

void BDSSDManager::ConstructSamplerSDsForParticleSets ( const std::map< int, std::set< int > > &  samplerFilterIDtoPDGSetIn)

Construct extra instances of the sampler SD but with a filter of a set of PDG codes. Associate it with an integer ID we can use to match up to a set. The IDs are given by the parser and we follow those in BDSIM consistently.

Definition at line 412 of file BDSSDManager.cc.

Referenced by BDSDetectorConstruction::PrepareExtraSamplerSDs().

Here is the caller graph for this function:

◆ EnergyDeposition()

BDSSDEnergyDeposition * BDSSDManager::EnergyDeposition ( ) const
inline

SD for general energy deposition.

Definition at line 102 of file BDSSDManager.hh.

References energyDeposition.

◆ EnergyDepositionFull()

BDSSDEnergyDeposition * BDSSDManager::EnergyDepositionFull ( ) const
inline

SD for general energy deposition but always include extra half of information.

Definition at line 105 of file BDSSDManager.hh.

References energyDepositionFull.

◆ EnergyDepositionTunnel()

BDSSDEnergyDeposition * BDSSDManager::EnergyDepositionTunnel ( ) const
inline

SD for tunnel energy counter.

Definition at line 111 of file BDSSDManager.hh.

References energyDepositionTunnel.

◆ EnergyDepositionVacuum()

BDSSDEnergyDeposition * BDSSDManager::EnergyDepositionVacuum ( ) const
inline

SD for energy deposition in vacuum volumes.

Definition at line 108 of file BDSSDManager.hh.

References energyDepositionVacuum.

◆ EnergyDepositionWorld()

BDSSDEnergyDepositionGlobal * BDSSDManager::EnergyDepositionWorld ( ) const
inline

SD for energy deposition in the world volume.

Definition at line 114 of file BDSSDManager.hh.

References energyDepositionWorld.

◆ EnergyDepositionWorldContents()

BDSSDEnergyDepositionGlobal * BDSSDManager::EnergyDepositionWorldContents ( ) const
inline

SD for energy deposition in things that were already placed in the externally provided world.

Definition at line 117 of file BDSSDManager.hh.

References energyDepositionWorldContents.

◆ ExtraSamplerCylinderWithFilterNamesComplete()

const std::vector< G4String > & BDSSDManager::ExtraSamplerCylinderWithFilterNamesComplete ( ) const
inline

Access a vector of names of extra samplers so we can identify the hits collections.

Definition at line 180 of file BDSSDManager.hh.

◆ ExtraSamplerSphereWithFilterNamesComplete()

const std::vector< G4String > & BDSSDManager::ExtraSamplerSphereWithFilterNamesComplete ( ) const
inline

Access a vector of names of extra samplers so we can identify the hits collections.

Definition at line 183 of file BDSSDManager.hh.

◆ ExtraSamplerWithFilterNamesComplete()

const std::vector< G4String > & BDSSDManager::ExtraSamplerWithFilterNamesComplete ( ) const
inline

Access a vector of names of extra samplers so we can identify the hits collections.

Definition at line 177 of file BDSSDManager.hh.

◆ Instance()

BDSSDManager * BDSSDManager::Instance ( )
static

Definition at line 58 of file BDSSDManager.cc.

◆ PrimitiveScorerNames()

const std::vector< G4String > & BDSSDManager::PrimitiveScorerNames ( ) const
inline

Access a vector of the just primitive scorer part of the names.

Definition at line 161 of file BDSSDManager.hh.

References primitiveScorerNames.

Referenced by BDSOutput::CreateHistograms().

Here is the caller graph for this function:

◆ PrimitiveScorerNamesComplete()

const std::vector< G4String > & BDSSDManager::PrimitiveScorerNamesComplete ( ) const
inline

Access a vector the full primitive scorer names as registered.

Definition at line 158 of file BDSSDManager.hh.

References primitiveScorerNamesComplete.

Referenced by BDSOutput::CreateHistograms().

Here is the caller graph for this function:

◆ PrimitiveScorerUnits()

const std::map< G4String, G4double > & BDSSDManager::PrimitiveScorerUnits ( ) const
inline

Access the map of units for primitive scorers.

Definition at line 164 of file BDSSDManager.hh.

References primitiveScorerNameToUnit.

Referenced by BDSOutput::CreateHistograms().

Here is the caller graph for this function:

◆ RegisterPrimitiveScorerName()

void BDSSDManager::RegisterPrimitiveScorerName ( const G4String &  nameIn,
G4double  unit = 1.0 
)

Make a record of a primitive scorer name. If it has a '/' in it, we take the last bit of the name as the just primitive scorer name. We store both versions in member vectors.

Definition at line 376 of file BDSSDManager.cc.

References primitiveScorerNames, primitiveScorerNamesComplete, and primitiveScorerNameToUnit.

Referenced by RegisterPrimitiveScorerNames().

Here is the caller graph for this function:

◆ RegisterPrimitiveScorerNames()

void BDSSDManager::RegisterPrimitiveScorerNames ( const std::vector< G4String > &  namesIn,
const std::vector< G4double > *  units = nullptr 
)

Loop over a vector and apply above single name function.

Definition at line 389 of file BDSSDManager.cc.

References RegisterPrimitiveScorerName().

Referenced by BDS::BuildBLMs(), and BDSDetectorConstruction::ConstructScoringMeshes().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SamplerCylinder()

BDSSDSamplerCylinder * BDSSDManager::SamplerCylinder ( ) const
inline

SD for samplers (cylinder type).

Definition at line 89 of file BDSSDManager.hh.

References samplerCylinder.

◆ SamplerCylinderWithFilter()

BDSSDSamplerCylinder * BDSSDManager::SamplerCylinderWithFilter ( G4int  ID) const

Access the relevant SD for a given particle filter set ID. It will return nullptr if the ID is invalid.

Definition at line 461 of file BDSSDManager.cc.

◆ SamplerLink()

BDSSDSamplerLink * BDSSDManager::SamplerLink ( ) const
inline

SD for link samplers.

Definition at line 95 of file BDSSDManager.hh.

References samplerLink.

◆ SamplerPlane()

BDSSDSampler * BDSSDManager::SamplerPlane ( ) const
inline

SD for samplers (plane type). See also SamplerPlaneWithFilter below.

Definition at line 86 of file BDSSDManager.hh.

References samplerPlane.

◆ SamplerPlaneWithFilter()

BDSSDSampler * BDSSDManager::SamplerPlaneWithFilter ( G4int  ID) const

Access the relevant SD for a given particle filter set ID. It will return nullptr if the ID is invalid.

Definition at line 455 of file BDSSDManager.cc.

◆ SamplerSphere()

BDSSDSamplerSphere * BDSSDManager::SamplerSphere ( ) const
inline

SD for samplers (sphere type).

Definition at line 92 of file BDSSDManager.hh.

References samplerSphere.

◆ SamplerSphereWithFilter()

BDSSDSamplerSphere * BDSSDManager::SamplerSphereWithFilter ( G4int  ID) const

Access the relevant SD for a given particle filter set ID. It will return nullptr if the ID is invalid.

Definition at line 467 of file BDSSDManager.cc.

◆ SensitiveDetector()

G4VSensitiveDetector * BDSSDManager::SensitiveDetector ( const BDSSDType  sdType,
G4bool  applyOptions = false 
) const

Access a sensitive detector by the class enum. Default is a nullptr and also in the case of Geant < 4.10.3 for world complete as requires multiple sensitive detector. It's safe to set a nullptr to the SD of a logical volume. If applyOptions is used, the correct SD will only be returned if required according to the options in BDSGlobalConstants for storing hits. This way only hits are generated that are required (cpu and memory efficient).

Definition at line 248 of file BDSSDManager.cc.

References apertureCompleteSD, apertureImpacts, energyDeposition, energyDepositionTunnel, energyDepositionVacuum, energyDepositionWorld, energyDepositionWorldContents, generateApertureImpacts, generateCollimatorHits, generateELossHits, generateELossTunnelHits, generateELossVacuumHits, generateELossWorldContents, samplerCylinder, samplerLink, samplerPlane, storeELossWorld, terminator, BDSTypeSafeEnum< def, inner >::underlying(), worldCompleteSD, and worldExit.

Referenced by BDSGeometryComponent::AttachSensitiveDetectors().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetLinkMinimumEK()

void BDSSDManager::SetLinkMinimumEK ( G4double  minimumEKIn)
inline

Definition at line 168 of file BDSSDManager.hh.

◆ SetLinkProtonsAndIonsOnly()

void BDSSDManager::SetLinkProtonsAndIonsOnly ( G4bool  protonsAndIonsOnlyIn)
inline

Definition at line 169 of file BDSSDManager.hh.

◆ SetLinkRegistry()

void BDSSDManager::SetLinkRegistry ( BDSLinkRegistry registry)

If samplerLink member exists, set the registry to look up links for that SD.

Definition at line 406 of file BDSSDManager.cc.

References samplerLink, and BDSSDSamplerLink::SetLinkRegistry().

Referenced by BDSLinkDetectorConstruction::BDSLinkDetectorConstruction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Terminator()

BDSSDTerminator * BDSSDManager::Terminator ( ) const
inline

SD for measuring turns around circular machine and terminating particles appropriately.

Definition at line 99 of file BDSSDManager.hh.

References terminator.

◆ ThinThing()

BDSSDThinThing * BDSSDManager::ThinThing ( ) const
inline

SD for generating primary hits for thin elements where discrete processes may not work regularly.

Definition at line 144 of file BDSSDManager.hh.

◆ WireComplete()

BDSMultiSensitiveDetectorOrdered * BDSSDManager::WireComplete ( ) const
inline

SD for wire scanner wires that is a composite of thin things + energy deposition full.

Definition at line 147 of file BDSSDManager.hh.

◆ WorldComplete() [1/2]

G4VSensitiveDetector * BDSSDManager::WorldComplete ( ) const
inline

SD for multiple SDs for world - energy loss and exit.

Definition at line 127 of file BDSSDManager.hh.

References worldCompleteSD.

◆ WorldComplete() [2/2]

G4VSensitiveDetector * BDSSDManager::WorldComplete ( ) const
inline

SD for world energy loss as in Geant earlier than 4.10.3 we can only have one SD for each logical volume.

Definition at line 132 of file BDSSDManager.hh.

References energyDepositionWorld.

◆ WorldExit()

BDSSDVolumeExit * BDSSDManager::WorldExit ( ) const
inline

SD for world exit hits.

Definition at line 120 of file BDSSDManager.hh.

References worldExit.

Field Documentation

◆ apertureCompleteSD

G4VSensitiveDetector* BDSSDManager::apertureCompleteSD
private

SD instance.

Definition at line 216 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and SensitiveDetector().

◆ apertureImpacts

BDSSDApertureImpacts* BDSSDManager::apertureImpacts
private

SD instance.

Definition at line 213 of file BDSSDManager.hh.

Referenced by ApertureImpacts(), BDSSDManager(), and SensitiveDetector().

◆ apertureImpactsMinimumKE

G4double BDSSDManager::apertureImpactsMinimumKE
private

Cache of global constant option.

Definition at line 251 of file BDSSDManager.hh.

Referenced by BDSSDManager().

◆ collimatorCompleteSD

BDSMultiSensitiveDetectorOrdered* BDSSDManager::collimatorCompleteSD
private

Definition at line 220 of file BDSSDManager.hh.

◆ collimatorHitsMinimumKE

G4double BDSSDManager::collimatorHitsMinimumKE
private

Cache of global constant option.

Definition at line 247 of file BDSSDManager.hh.

Referenced by BDSSDManager().

◆ collimatorSD

BDSSDCollimator* BDSSDManager::collimatorSD
private

Definition at line 219 of file BDSSDManager.hh.

◆ energyDeposition

BDSSDEnergyDeposition* BDSSDManager::energyDeposition
private

SD instance.

Definition at line 206 of file BDSSDManager.hh.

Referenced by BDSSDManager(), EnergyDeposition(), and SensitiveDetector().

◆ energyDepositionFull

BDSSDEnergyDeposition* BDSSDManager::energyDepositionFull
private

SD instance.

Definition at line 207 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and EnergyDepositionFull().

◆ energyDepositionTunnel

BDSSDEnergyDeposition* BDSSDManager::energyDepositionTunnel
private

SD instance.

Definition at line 209 of file BDSSDManager.hh.

Referenced by BDSSDManager(), EnergyDepositionTunnel(), and SensitiveDetector().

◆ energyDepositionVacuum

BDSSDEnergyDeposition* BDSSDManager::energyDepositionVacuum
private

SD instance.

Definition at line 208 of file BDSSDManager.hh.

Referenced by BDSSDManager(), EnergyDepositionVacuum(), and SensitiveDetector().

◆ energyDepositionWorld

BDSSDEnergyDepositionGlobal* BDSSDManager::energyDepositionWorld
private

SD instance.

Definition at line 210 of file BDSSDManager.hh.

Referenced by BDSSDManager(), EnergyDepositionWorld(), SensitiveDetector(), and WorldComplete().

◆ energyDepositionWorldContents

BDSSDEnergyDepositionGlobal* BDSSDManager::energyDepositionWorldContents
private

SD instance.

Definition at line 211 of file BDSSDManager.hh.

Referenced by BDSSDManager(), EnergyDepositionWorldContents(), and SensitiveDetector().

◆ extraSamplerCylindersWithFilters

std::map<G4int, BDSSDSamplerCylinder*> BDSSDManager::extraSamplerCylindersWithFilters
private

Definition at line 237 of file BDSSDManager.hh.

◆ extraSamplerCylinderWithFilterNamesComplete

std::vector<G4String> BDSSDManager::extraSamplerCylinderWithFilterNamesComplete
private

Definition at line 241 of file BDSSDManager.hh.

◆ extraSamplerFilters

std::map<G4int, BDSSDFilterPDGIDSet*> BDSSDManager::extraSamplerFilters
private

Definition at line 239 of file BDSSDManager.hh.

◆ extraSamplerSpheresWithFilters

std::map<G4int, BDSSDSamplerSphere*> BDSSDManager::extraSamplerSpheresWithFilters
private

Definition at line 238 of file BDSSDManager.hh.

◆ extraSamplerSphereWithFilterNamesComplete

std::vector<G4String> BDSSDManager::extraSamplerSphereWithFilterNamesComplete
private

Definition at line 242 of file BDSSDManager.hh.

◆ extraSamplersWithFilters

std::map<G4int, BDSSDSampler*> BDSSDManager::extraSamplersWithFilters
private

Definition at line 236 of file BDSSDManager.hh.

◆ extraSamplerWithFilterNamesComplete

std::vector<G4String> BDSSDManager::extraSamplerWithFilterNamesComplete
private

Definition at line 240 of file BDSSDManager.hh.

◆ filters

std::map<G4String, G4VSDFilter*> BDSSDManager::filters
private

Map of all filters used. This class owns a single instance of each.

Definition at line 225 of file BDSSDManager.hh.

Referenced by BDSSDManager().

◆ generateApertureImpacts

G4bool BDSSDManager::generateApertureImpacts
private

Cache of global constant option.

Definition at line 248 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and SensitiveDetector().

◆ generateCollimatorHits

G4bool BDSSDManager::generateCollimatorHits
private

Cache of global constant option.

Definition at line 258 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and SensitiveDetector().

◆ generateELossHits

G4bool BDSSDManager::generateELossHits
private

Cache of global constant option.

Definition at line 252 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and SensitiveDetector().

◆ generateELossTunnelHits

G4bool BDSSDManager::generateELossTunnelHits
private

Cache of global constant option.

Definition at line 254 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and SensitiveDetector().

◆ generateELossVacuumHits

G4bool BDSSDManager::generateELossVacuumHits
private

Cache of global constant option.

Definition at line 253 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and SensitiveDetector().

◆ generateELossWorldContents

G4bool BDSSDManager::generateELossWorldContents
private

Cache of global constant option.

Definition at line 255 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and SensitiveDetector().

◆ instance

BDSSDManager * BDSSDManager::instance = nullptr
staticprivate

Definition at line 198 of file BDSSDManager.hh.

◆ primitiveScorerNames

std::vector<G4String> BDSSDManager::primitiveScorerNames
private

Just the primitive scorer part of the name.

Definition at line 231 of file BDSSDManager.hh.

Referenced by PrimitiveScorerNames(), and RegisterPrimitiveScorerName().

◆ primitiveScorerNamesComplete

std::vector<G4String> BDSSDManager::primitiveScorerNamesComplete
private

Vector of complete (including mesh name) primitive scorer names.

Definition at line 228 of file BDSSDManager.hh.

Referenced by PrimitiveScorerNamesComplete(), and RegisterPrimitiveScorerName().

◆ primitiveScorerNameToUnit

std::map<G4String, G4double> BDSSDManager::primitiveScorerNameToUnit
private

Map of primitive scorer names to units.

Definition at line 234 of file BDSSDManager.hh.

Referenced by PrimitiveScorerUnits(), and RegisterPrimitiveScorerName().

◆ samplerCylinder

BDSSDSamplerCylinder* BDSSDManager::samplerCylinder
private

SD instance.

Definition at line 202 of file BDSSDManager.hh.

Referenced by BDSSDManager(), SamplerCylinder(), and SensitiveDetector().

◆ samplerLink

BDSSDSamplerLink* BDSSDManager::samplerLink
private

SD instance.

Definition at line 204 of file BDSSDManager.hh.

Referenced by BDSSDManager(), SamplerLink(), SensitiveDetector(), and SetLinkRegistry().

◆ samplerPlane

BDSSDSampler* BDSSDManager::samplerPlane
private

SD instance.

Definition at line 201 of file BDSSDManager.hh.

Referenced by BDSSDManager(), SamplerPlane(), and SensitiveDetector().

◆ samplerSphere

BDSSDSamplerSphere* BDSSDManager::samplerSphere
private

SD instance.

Definition at line 203 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and SamplerSphere().

◆ storeApertureImpactsAll

G4bool BDSSDManager::storeApertureImpactsAll
private

Cache of global constant option.

Definition at line 249 of file BDSSDManager.hh.

Referenced by BDSSDManager().

◆ storeApertureImpactsIons

G4bool BDSSDManager::storeApertureImpactsIons
private

Cache of global constant option.

Definition at line 250 of file BDSSDManager.hh.

Referenced by BDSSDManager().

◆ storeCollimatorHitsAll

G4bool BDSSDManager::storeCollimatorHitsAll
private

Cache of global constant option.

Definition at line 245 of file BDSSDManager.hh.

Referenced by BDSSDManager().

◆ storeCollimatorHitsIons

G4bool BDSSDManager::storeCollimatorHitsIons
private

Cache of global constant option.

Definition at line 246 of file BDSSDManager.hh.

Referenced by BDSSDManager().

◆ storeELossExtras

G4bool BDSSDManager::storeELossExtras
private

Cache of global constant option.

Definition at line 257 of file BDSSDManager.hh.

Referenced by BDSSDManager().

◆ storeELossWorld

G4bool BDSSDManager::storeELossWorld
private

Cache of global constant option.

Definition at line 256 of file BDSSDManager.hh.

Referenced by BDSSDManager(), and SensitiveDetector().

◆ terminator

BDSSDTerminator* BDSSDManager::terminator
private

SD instance.

Definition at line 205 of file BDSSDManager.hh.

Referenced by BDSSDManager(), SensitiveDetector(), and Terminator().

◆ thinThingSD

BDSSDThinThing* BDSSDManager::thinThingSD
private

Definition at line 221 of file BDSSDManager.hh.

◆ wireCompleteSD

BDSMultiSensitiveDetectorOrdered* BDSSDManager::wireCompleteSD
private

Definition at line 222 of file BDSSDManager.hh.

◆ worldCompleteSD

G4VSensitiveDetector* BDSSDManager::worldCompleteSD
private

SD instance.

Definition at line 215 of file BDSSDManager.hh.

Referenced by BDSSDManager(), SensitiveDetector(), and WorldComplete().

◆ worldExit

BDSSDVolumeExit* BDSSDManager::worldExit
private

SD instance.

Definition at line 212 of file BDSSDManager.hh.

Referenced by BDSSDManager(), SensitiveDetector(), and WorldExit().


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