DetectorRegistry
DetectorRegistry
Section titled “DetectorRegistry”#include <xalgospp/detector/detector.hh>class DetectorRegistryDefined in src/lib/xalgospp/detector/detector.hh:94
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
register_detector |
function |
Declared here |
get_detector |
function |
Declared here |
has_detector |
function |
Declared here |
DetectorRegistry |
function |
Declared here |
DetectorRegistry |
function |
Declared here |
create_registry |
function |
Declared here |
hash_str |
function |
Declared here |
m_num_detectors |
variable |
Declared here |
m_entries |
variable |
Declared here |
DetectorRegistry |
function |
Declared here |
get_detector_internal |
function |
Declared here |
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
XALGOS_HD void |
register_detector inline |
|
XALGOS_HD const DetectorDescriptor * |
get_detector const inline |
|
XALGOS_HD bool |
has_detector const inline |
|
DetectorRegistry |
Deleted constructor. | |
DetectorRegistry |
Deleted constructor. |
register_detector
Section titled “register_detector”inline
inline XALGOS_HD void register_detector(const char * name, const DetectorDescriptor & desc)Defined in src/lib/xalgospp/detector/detector.hh:112
get_detector
Section titled “get_detector”const inline
inline XALGOS_HD const DetectorDescriptor * get_detector(const char * name) constDefined in src/lib/xalgospp/detector/detector.hh:123
has_detector
Section titled “has_detector”const inline
inline XALGOS_HD bool has_detector(const char * name) constDefined in src/lib/xalgospp/detector/detector.hh:130
DetectorRegistry
Section titled “DetectorRegistry”DetectorRegistry(const DetectorRegistry &) = deleteDefined in src/lib/xalgospp/detector/detector.hh:140
Deleted constructor.
DetectorRegistry
Section titled “DetectorRegistry”DetectorRegistry(DetectorRegistry &&) = deleteDefined in src/lib/xalgospp/detector/detector.hh:141
Deleted constructor.
Public Static Methods
Section titled “Public Static Methods”| Return | Name | Description |
|---|---|---|
XALGOS_HDDetectorRegistry & |
create_registry static inline |
|
XALGOS_HD std::uint64_t |
hash_str static inline |
create_registry
Section titled “create_registry”static inline
static inline XALGOS_HDDetectorRegistry & create_registry()Defined in src/lib/xalgospp/detector/detector.hh:96
hash_str
Section titled “hash_str”static inline
static inline XALGOS_HD std::uint64_t hash_str(const char * str)Defined in src/lib/xalgospp/detector/detector.hh:101
Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
std::uint16_t |
m_num_detectors |
|
DetectorEntry |
m_entries |
m_num_detectors
Section titled “m_num_detectors”std::uint16_t m_num_detectorsDefined in src/lib/xalgospp/detector/detector.hh:159
m_entries
Section titled “m_entries”DetectorEntry m_entriesDefined in src/lib/xalgospp/detector/detector.hh:160
Private Methods
Section titled “Private Methods”| Return | Name | Description |
|---|---|---|
DetectorRegistry |
Defaulted constructor. | |
XALGOS_HD const DetectorDescriptor * |
get_detector_internal const inline |
DetectorRegistry
Section titled “DetectorRegistry”DetectorRegistry() = defaultDefined in src/lib/xalgospp/detector/detector.hh:146
Defaulted constructor.
get_detector_internal
Section titled “get_detector_internal”const inline
inline XALGOS_HD const DetectorDescriptor * get_detector_internal(std::uint64_t det_hash) constDefined in src/lib/xalgospp/detector/detector.hh:149