ATLAS Offline Software
PLR_IDDetDescrCnv.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 /***************************************************************************
6  InDet DetDescrCnv package
7  -----------------------------------------
8  ***************************************************************************/
9 
10 #ifndef INDETMGRDETDESCRCNV_PLR_IDDETDESCRCNV_H
11 #define INDETMGRDETDESCRCNV_PLR_IDDETDESCRCNV_H
12 
14 
15 class PLR_ID;
16 
25 {
26 
27 public:
28 
29  virtual long int repSvcType() const override;
30  virtual StatusCode initialize() override;
31  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override;
32 
33  // Storage type and class ID (used by CnvFactory)
34  static long storageType();
35  static const CLID& classID();
36 
37  PLR_IDDetDescrCnv(ISvcLocator* svcloc);
38 
39 private:
42 
44  std::string m_inDetIDFileName;
45 
47  std::string m_inDetIdDictTag;
48 
50  std::string m_inDetIDTag;
51 
53  bool m_doChecks{};
54 
55 };
56 
57 #endif // INDETMGRDETDESCRCNV_PLR_IDDETDESCRCNV_H
PLR_IDDetDescrCnv::m_plrId
PLR_ID * m_plrId
The helper - only will create it once.
Definition: PLR_IDDetDescrCnv.h:41
PLR_IDDetDescrCnv
This class is a converter for the PLR_ID an IdHelper which is stored in the detector store.
Definition: PLR_IDDetDescrCnv.h:25
PLR_ID
This is an Identifier helper class for the PLR subdetector. This class inherits from PixelID.
Definition: PLR_ID.h:24
PLR_IDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: PLR_IDDetDescrCnv.h:44
PLR_IDDetDescrCnv::storageType
static long storageType()
Definition: PLR_IDDetDescrCnv.cxx:125
PLR_IDDetDescrCnv::initialize
virtual StatusCode initialize() override
Definition: PLR_IDDetDescrCnv.cxx:37
PLR_IDDetDescrCnv::PLR_IDDetDescrCnv
PLR_IDDetDescrCnv(ISvcLocator *svcloc)
Definition: PLR_IDDetDescrCnv.cxx:22
DetDescrConverter
Definition: DetDescrConverter.h:25
PLR_IDDetDescrCnv::classID
static const CLID & classID()
Definition: PLR_IDDetDescrCnv.cxx:132
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PLR_IDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: PLR_IDDetDescrCnv.h:50
PLR_IDDetDescrCnv::repSvcType
virtual long int repSvcType() const override
Definition: PLR_IDDetDescrCnv.cxx:29
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
DetDescrConverter.h
PLR_IDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: PLR_IDDetDescrCnv.h:47
PLR_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Definition: PLR_IDDetDescrCnv.cxx:46
PLR_IDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: PLR_IDDetDescrCnv.h:53