Declares the GSensitiveDetector class and module-level constants.
#include "G4VSensitiveDetector.hh"
#include <gemc/goptions/goptions.h>
#include <gemc/gdynamicDigitization/gdynamicdigitization.h>
#include <gemc/gbase/gbase.h>
#include <unordered_map>
Go to the source code of this file.
|
| class | GSensitiveDetector |
| | Thread-local sensitive detector bridging Geant4 steps to GEMC hits via digitization plugins. More...
|
|
| using | GHitsCollection = G4THitsCollection<GHit> |
| | Convenience alias for the Geant4 hits collection used by this module.
|
|
These error codes are used for logging and diagnostics within GSensitiveDetector.
|
| constexpr int | ERR_DYNAMICPLUGINNOTFOUND = 2001 |
| | Error code used when a required dynamic plugin-dependent resource is missing.
|
| constexpr int | ERR_HITNOTFOUNDINCOLLECTION = 2002 |
| | Error code used when a hit is expected to exist but cannot be found in the current hit collection.
|
| constexpr int | ERR_NOCOLLECTION = 2003 |
| | Error code used when the Geant4 hits collection is unexpectedly missing.
|
| constexpr const char * | GSENSITIVE_LOGGER = "gsd" |
| | Logger name used by this module.
|
◆ ERR_DYNAMICPLUGINNOTFOUND
| int ERR_DYNAMICPLUGINNOTFOUND = 2001 |
|
constexpr |
This module logs this code when it cannot retrieve a registered GTouchable for a Geant4 volume name.
Definition at line 33 of file gsd.h.
◆ ERR_HITNOTFOUNDINCOLLECTION
| int ERR_HITNOTFOUNDINCOLLECTION = 2002 |
|
constexpr |
Definition at line 38 of file gsd.h.
◆ ERR_NOCOLLECTION
| int ERR_NOCOLLECTION = 2003 |
|
constexpr |
Definition at line 43 of file gsd.h.
◆ GSENSITIVE_LOGGER
| const char* GSENSITIVE_LOGGER = "gsd" |
|
constexpr |
This string is passed to the logging system via the module options.
Definition at line 50 of file gsd.h.