ATLAS Offline Software
PLR_ID.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef INDETIDENTIFIER_PLR_ID_H
6 #define INDETIDENTIFIER_PLR_ID_H
7 
15 
23 class PLR_ID final: public PixelID
24 {
25 public:
26  PLR_ID();
30  }
31 
33  virtual int initialize_from_dictionary(const IdDictMgr& dict_mgr) override;
34 
37 
38 private:
39  int initLevelsFromDict();
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
49 CLASS_DEF(PLR_ID, 131939624, 1)
50 
51 #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:42
PLR_ID
This is an Identifier helper class for the PLR subdetector. This class inherits from PixelID.
Definition: PLR_ID.h:24
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: IdDictDefs.h:32
PLR_ID::helper
AtlasDetectorID::HelperType helper() const override final
This is an PLR_ID helper.
Definition: PLR_ID.h:28
PLR_ID::m_PLR_INDEX
size_type m_PLR_INDEX
Definition: PLR_ID.h:36
PLR_ID::m_lumi_impl
IdDictFieldImplementation m_lumi_impl
Definition: PLR_ID.h:41
PLR_ID::initLevelsFromDict
int initLevelsFromDict()
Definition: PLR_ID.cxx:257
PLR_ID::PLR_ID
PLR_ID()
Definition: PLR_ID.cxx:21
PLR_ID::m_LUMI_INDEX
size_type m_LUMI_INDEX
Definition: PLR_ID.h:35
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