ATLAS Offline Software
HGTD_IDDetDescrCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef HGTD_IDCNV_HGTD_IDDETDESCRCNV_H
6 # define HGTD_IDCNV_HGTD_IDDETDESCRCNV_H
7 
9 
11 
12 #include <memory>
13 #include <string>
14 
15 class IOpaqueAddress;
16 class DataObject;
17 class ISvcLocator;
18 
27 
28 public:
29 
30  virtual long int repSvcType() const override final;
31  virtual StatusCode initialize() override final;
32  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override final;
33 
34  // Storage type and class ID (used by CnvFactory)
35  static long storageType();
36  static const CLID& classID();
37 
38  HGTD_IDDetDescrCnv(ISvcLocator* svcloc);
39 
40 private:
42  std::unique_ptr<HGTD_ID> m_hgtdId;
43 
45  std::string m_inDetIDFileName;
46 
48  std::string m_inDetIdDictTag;
49 
51  std::string m_inDetIDTag;
52 
54  bool m_doChecks;
55 
56 };
57 
58 
59 #endif // HGTD_IDCNV_HGTD_IDDETDESCRCNV_H
HGTD_IDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: HGTD_IDDetDescrCnv.h:51
HGTD_IDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: HGTD_IDDetDescrCnv.h:48
HGTD_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override final
Definition: HGTD_IDDetDescrCnv.cxx:40
HGTD_IDDetDescrCnv::storageType
static long storageType()
Definition: HGTD_IDDetDescrCnv.cxx:128
HGTD_IDDetDescrCnv::classID
static const CLID & classID()
Definition: HGTD_IDDetDescrCnv.cxx:135
HGTD_IDDetDescrCnv::initialize
virtual StatusCode initialize() override final
Definition: HGTD_IDDetDescrCnv.cxx:29
DetDescrConverter
Definition: DetDescrConverter.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
HGTD_IDDetDescrCnv::repSvcType
virtual long int repSvcType() const override final
Definition: HGTD_IDDetDescrCnv.cxx:21
HGTD_ID.h
DetDescrConverter.h
HGTD_IDDetDescrCnv::m_hgtdId
std::unique_ptr< HGTD_ID > m_hgtdId
The helper - only will create it once.
Definition: HGTD_IDDetDescrCnv.h:42
HGTD_IDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: HGTD_IDDetDescrCnv.h:45
HGTD_IDDetDescrCnv::HGTD_IDDetDescrCnv
HGTD_IDDetDescrCnv(ISvcLocator *svcloc)
Definition: HGTD_IDDetDescrCnv.cxx:140
HGTD_IDDetDescrCnv
This class is a converter for the HGTD_ID an IdHelper which is stored in the detector store.
Definition: HGTD_IDDetDescrCnv.h:26
HGTD_IDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: HGTD_IDDetDescrCnv.h:54