ATLAS Offline Software
Loading...
Searching...
No Matches
PLR_ID.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef INDETIDENTIFIER_PLR_ID_H
6#define INDETIDENTIFIER_PLR_ID_H
11
13
20
21class PLR_ID final: public PixelID
22{
23public:
24 PLR_ID(const std::string & name = "PLR_ID", const std::string & group = "pixel");
29
31 virtual int initialize_from_dictionary(const IdDictMgr& dict_mgr) override;
32
35
36private:
38
41
42};
43
44// using the macros below we can assign an identifier (and a version) (clid PLR_ID returned: 131939624 PLR_ID)
45// This is required and checked at compile time when you try to record/retrieve
46// See here: https://gitlab.cern.ch/atlas/athena/-/blob/master/DetectorDescription/DetDescrCnvSvc/src/DetDescrCnvSvc.cxx#L165
47CLASS_DEF(PLR_ID, 131939624, 1)
48
49#endif // INDETIDENTIFIER_PLR_ID_H
#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:22
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:33
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:34
IdDictFieldImplementation m_plr_impl
Definition PLR_ID.h:40
AtlasDetectorID::HelperType helper() const override final
This is an PLR_ID helper.
Definition PLR_ID.h:26
IdDictFieldImplementation m_lumi_impl
Definition PLR_ID.h:39
int initLevelsFromDict()
Definition PLR_ID.cxx:183
PixelID(const std::string &name="PixelID", const std::string &group="pixel")
Definition PixelID.cxx:25
Identifier::size_type size_type
Definition PixelID.h:73