ATLAS Offline Software
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
7 
13 
21 class PLR_ID final: public PixelID
22 {
23 public:
24  PLR_ID();
28  }
29 
31  virtual int initialize_from_dictionary(const IdDictMgr& dict_mgr) override;
32 
35 
36 private:
37  int initLevelsFromDict();
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
47 CLASS_DEF(PLR_ID, 131939624, 1)
48 
49 #endif // INDETIDENTIFIER_PLR_ID_H
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
PLR_ID::m_plr_impl
IdDictFieldImplementation m_plr_impl
Definition: PLR_ID.h:40
PLR_ID
This is a Identifier helper class for the PLR subdetector. This class inherits from PixelID.
Definition: PLR_ID.h:22
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AtlasDetectorID::HelperType
HelperType
enum class for eventual final derived types of this class
Definition: AtlasDetectorID.h:60
AtlasDetectorID::HelperType::PLR
@ PLR
PLR_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
Definition: PLR_ID.cxx:34
AtlasDetectorID::size_type
Identifier::size_type size_type
Definition: AtlasDetectorID.h:384
IdDictMgr
Definition: IdDictMgr.h:14
PLR_ID::helper
AtlasDetectorID::HelperType helper() const override final
This is an PLR_ID helper.
Definition: PLR_ID.h:26
PLR_ID::m_PLR_INDEX
size_type m_PLR_INDEX
Definition: PLR_ID.h:34
PLR_ID::m_lumi_impl
IdDictFieldImplementation m_lumi_impl
Definition: PLR_ID.h:39
PLR_ID::initLevelsFromDict
int initLevelsFromDict()
Definition: PLR_ID.cxx:214
PLR_ID::PLR_ID
PLR_ID()
Definition: PLR_ID.cxx:23
PLR_ID::m_LUMI_INDEX
size_type m_LUMI_INDEX
Definition: PLR_ID.h:33
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
IdDictFieldImplementation
IdDictFieldImplementation is used to capture the specification of a single field of an Identifier.
Definition: IdDictFieldImplementation.h:58
PixelID
Definition: PixelID.h:67