Declares the GSensitiveDetector class and module-level constants.
More...
#include "G4VSensitiveDetector.hh"
#include "goptions.h"
#include "gdynamicdigitization.h"
#include "gbase.h"
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
| constexpr 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 30 of file gsd.h.
◆ ERR_HITNOTFOUNDINCOLLECTION
| constexpr int ERR_HITNOTFOUNDINCOLLECTION = 2002 |
|
constexpr |
Definition at line 35 of file gsd.h.
◆ ERR_NOCOLLECTION
| constexpr int ERR_NOCOLLECTION = 2003 |
|
constexpr |
Definition at line 40 of file gsd.h.
◆ GSENSITIVE_LOGGER
| constexpr const char* GSENSITIVE_LOGGER = "gsd" |
|
constexpr |
This string is passed to the logging system via the module options.
Definition at line 47 of file gsd.h.