ATLAS Offline Software
SCT_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 INDETMGRDETDESCRCNV_SCT_IDDETDESCRCNV_H
6 # define INDETMGRDETDESCRCNV_SCT_IDDETDESCRCNV_H
7 
9 
10 class SCT_ID;
11 
20 
21 public:
22  virtual long int repSvcType() const override;
23  virtual StatusCode initialize() override;
24  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override;
25 
26  // Storage type and class ID (used by CnvFactory)
27  static long storageType();
28  static const CLID& classID();
29 
30  SCT_IDDetDescrCnv(ISvcLocator* svcloc);
31 
32 private:
35 
37  std::string m_inDetIDFileName;
38 
40  std::string m_inDetIdDictTag;
41 
43  std::string m_inDetIDTag;
44 
46  bool m_doChecks;
47 
48 };
49 
50 #endif // INDETMGRDETDESCRCNV_SCT_IDDETDESCRCNV_H
SCT_IDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: SCT_IDDetDescrCnv.h:40
SCT_IDDetDescrCnv::storageType
static long storageType()
Definition: SCT_IDDetDescrCnv.cxx:120
SCT_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Definition: SCT_IDDetDescrCnv.cxx:37
SCT_IDDetDescrCnv
This class is a converter for the SCT_ID an IdHelper which is stored in the detector store.
Definition: SCT_IDDetDescrCnv.h:19
SCT_IDDetDescrCnv::SCT_IDDetDescrCnv
SCT_IDDetDescrCnv(ISvcLocator *svcloc)
Definition: SCT_IDDetDescrCnv.cxx:132
SCT_IDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: SCT_IDDetDescrCnv.h:37
DetDescrConverter
Definition: DetDescrConverter.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_IDDetDescrCnv::repSvcType
virtual long int repSvcType() const override
Definition: SCT_IDDetDescrCnv.cxx:19
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
SCT_IDDetDescrCnv::m_sctId
SCT_ID * m_sctId
The helper - only will create it once.
Definition: SCT_IDDetDescrCnv.h:34
SCT_ID
Definition: SCT_ID.h:68
DetDescrConverter.h
SCT_IDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: SCT_IDDetDescrCnv.h:43
SCT_IDDetDescrCnv::initialize
virtual StatusCode initialize() override
Definition: SCT_IDDetDescrCnv.cxx:27
SCT_IDDetDescrCnv::classID
static const CLID & classID()
Definition: SCT_IDDetDescrCnv.cxx:127
SCT_IDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: SCT_IDDetDescrCnv.h:46