ATLAS Offline Software
HGTD_IDDetDescrCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 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 
8 //<<<<<< INCLUDES >>>>>>
9 
12 
14 
23 
24 public:
25 
26  virtual long int repSvcType() const override final;
27  virtual StatusCode initialize() override final;
28  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override final;
29 
30  // Storage type and class ID (used by CnvFactory)
31  static long storageType();
32  static const CLID& classID();
33 
34  HGTD_IDDetDescrCnv(ISvcLocator* svcloc);
35 
36 private:
38  std::unique_ptr<HGTD_ID> m_hgtdId;
39 
41  std::string m_inDetIDFileName;
42 
44  std::string m_inDetIdDictTag;
45 
47  std::string m_inDetIDTag;
48 
50  bool m_doChecks;
51 
52 };
53 
54 
55 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
56 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
57 
58 #endif // HGTD_IDCNV_HGTD_IDDETDESCRCNV_H
HGTD_IDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: HGTD_IDDetDescrCnv.h:47
HGTD_IDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: HGTD_IDDetDescrCnv.h:44
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:160
HGTD_IDDetDescrCnv::classID
static const CLID & classID()
Definition: HGTD_IDDetDescrCnv.cxx:167
HGTD_IDDetDescrCnv::initialize
virtual StatusCode initialize() override final
Definition: HGTD_IDDetDescrCnv.cxx:27
DetDescrConverter
Definition: DetDescrConverter.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
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:38
AthMessaging.h
HGTD_IDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: HGTD_IDDetDescrCnv.h:41
HGTD_IDDetDescrCnv::HGTD_IDDetDescrCnv
HGTD_IDDetDescrCnv(ISvcLocator *svcloc)
Definition: HGTD_IDDetDescrCnv.cxx:172
HGTD_IDDetDescrCnv
This class is a converter for the HGTD_ID an IdHelper which is stored in the detector store.
Definition: HGTD_IDDetDescrCnv.h:22
HGTD_IDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: HGTD_IDDetDescrCnv.h:50