Skip to content

DetectorRegistry

#include <xalgospp/detector/detector.hh>
class DetectorRegistry

Defined in src/lib/xalgospp/detector/detector.hh:94

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
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.

inline

inline XALGOS_HD void register_detector(const char * name, const DetectorDescriptor & desc)

Defined in src/lib/xalgospp/detector/detector.hh:112


const inline

inline XALGOS_HD const DetectorDescriptor * get_detector(const char * name) const

Defined in src/lib/xalgospp/detector/detector.hh:123


const inline

inline XALGOS_HD bool has_detector(const char * name) const

Defined in src/lib/xalgospp/detector/detector.hh:130


DetectorRegistry(const DetectorRegistry &) = delete

Defined in src/lib/xalgospp/detector/detector.hh:140

Deleted constructor.


DetectorRegistry(DetectorRegistry &&) = delete

Defined in src/lib/xalgospp/detector/detector.hh:141

Deleted constructor.

Return Name Description
XALGOS_HDDetectorRegistry & create_registry static inline
XALGOS_HD std::uint64_t hash_str static inline

static inline

static inline XALGOS_HDDetectorRegistry & create_registry()

Defined in src/lib/xalgospp/detector/detector.hh:96


static inline

static inline XALGOS_HD std::uint64_t hash_str(const char * str)

Defined in src/lib/xalgospp/detector/detector.hh:101

Return Name Description
std::uint16_t m_num_detectors
DetectorEntry m_entries

std::uint16_t m_num_detectors

Defined in src/lib/xalgospp/detector/detector.hh:159


DetectorEntry m_entries

Defined in src/lib/xalgospp/detector/detector.hh:160

Return Name Description
DetectorRegistry Defaulted constructor.
XALGOS_HD const DetectorDescriptor * get_detector_internal const inline

DetectorRegistry() = default

Defined in src/lib/xalgospp/detector/detector.hh:146

Defaulted constructor.


const inline

inline XALGOS_HD const DetectorDescriptor * get_detector_internal(std::uint64_t det_hash) const

Defined in src/lib/xalgospp/detector/detector.hh:149