ATLAS Offline Software
HGTD_IDDetDescrCnv.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 HGTD_IDCNV_HGTD_IDDETDESCRCNV_H
6 # define HGTD_IDCNV_HGTD_IDDETDESCRCNV_H
7 
9 
11 
20 
21 public:
22 
23  virtual long int repSvcType() const override final;
24  virtual StatusCode initialize() override final;
25  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override final;
26 
27  // Storage type and class ID (used by CnvFactory)
28  static long storageType();
29  static const CLID& classID();
30 
31  HGTD_IDDetDescrCnv(ISvcLocator* svcloc);
32 
33 private:
35  std::unique_ptr<HGTD_ID> m_hgtdId;
36 
38  std::string m_inDetIDFileName;
39 
41  std::string m_inDetIdDictTag;
42 
44  std::string m_inDetIDTag;
45 
47  bool m_doChecks;
48 
49 };
50 
51 
52 #endif // HGTD_IDCNV_HGTD_IDDETDESCRCNV_H
HGTD_IDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: HGTD_IDDetDescrCnv.h:44
HGTD_IDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: HGTD_IDDetDescrCnv.h:41
HGTD_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override final
Definition: HGTD_IDDetDescrCnv.cxx:38
HGTD_IDDetDescrCnv::storageType
static long storageType()
Definition: HGTD_IDDetDescrCnv.cxx:126
HGTD_IDDetDescrCnv::classID
static const CLID & classID()
Definition: HGTD_IDDetDescrCnv.cxx:133
HGTD_IDDetDescrCnv::initialize
virtual StatusCode initialize() override final
Definition: HGTD_IDDetDescrCnv.cxx:27
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:19
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:35
HGTD_IDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: HGTD_IDDetDescrCnv.h:38
HGTD_IDDetDescrCnv::HGTD_IDDetDescrCnv
HGTD_IDDetDescrCnv(ISvcLocator *svcloc)
Definition: HGTD_IDDetDescrCnv.cxx:138
HGTD_IDDetDescrCnv
This class is a converter for the HGTD_ID an IdHelper which is stored in the detector store.
Definition: HGTD_IDDetDescrCnv.h:19
HGTD_IDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: HGTD_IDDetDescrCnv.h:47