ATLAS Offline Software
Loading...
Searching...
No Matches
PLR_ID.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef INDETIDENTIFIER_PLR_ID_H
6#define INDETIDENTIFIER_PLR_ID_H
11
15
22
23class PLR_ID final: public PixelID
24{
25public:
26 PLR_ID(const std::string & name = "PLR_ID", const std::string & group = "pixel");
31
33 virtual int initialize_from_dictionary(const IdDictMgr& dict_mgr) override;
34
37
38private:
40
43
44};
45
46// using the macros below we can assign an identifier (and a version) (clid PLR_ID returned: 131939624 PLR_ID)
47// This is required and checked at compile time when you try to record/retrieve
48// See here: https://gitlab.cern.ch/atlas/athena/-/blob/master/DetectorDescription/DetDescrCnvSvc/src/DetDescrCnvSvc.cxx#L165
49CLASS_DEF(PLR_ID, 131939624, 1)
51
52#endif // INDETIDENTIFIER_PLR_ID_H
Provide an interface for finding inheritance information at run time.
#define SG_BASES(D,...)
Declare the base classes from which D derives.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This is an Identifier helper class for the Pixel subdetector.
HelperType
enum class for eventual final derived types of this class
const std::string & group() const
Group name for this helper.
IdDictFieldImplementation is used to capture the specification of a single field of an Identifier.
This is a Identifier helper class for the PLR subdetector.
Definition PLR_ID.h:24
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
Definition PLR_ID.cxx:35
size_type m_LUMI_INDEX
Definition PLR_ID.h:35
PLR_ID(const std::string &name="PLR_ID", const std::string &group="pixel")
Definition PLR_ID.cxx:24
size_type m_PLR_INDEX
Definition PLR_ID.h:36
IdDictFieldImplementation m_plr_impl
Definition PLR_ID.h:42
AtlasDetectorID::HelperType helper() const override final
This is an PLR_ID helper.
Definition PLR_ID.h:28
IdDictFieldImplementation m_lumi_impl
Definition PLR_ID.h:41
int initLevelsFromDict()
Definition PLR_ID.cxx:183
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:69
PixelID(const std::string &name="PixelID", const std::string &group="pixel")
Definition PixelID.cxx:25
Identifier::size_type size_type
Definition PixelID.h:73