ATLAS Offline Software
TRT_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_TRT_IDDETDESCRCNV_H
6 # define INDETMGRDETDESCRCNV_TRT_IDDETDESCRCNV_H
7 
9 
10 class TRT_ID;
11 
20 
21 public:
22 
23  virtual long int repSvcType() const override;
24  virtual StatusCode initialize() override;
25  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override;
26 
27  // Storage type and class ID (used by CnvFactory)
28  static long storageType();
29  static const CLID& classID();
30 
31  TRT_IDDetDescrCnv(ISvcLocator* svcloc);
32 
33 private:
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 #endif // INDETMGRDETDESCRCNV_TRT_IDDETDESCRCNV_H
TRT_IDDetDescrCnv::m_trtId
TRT_ID * m_trtId
The helper - only will create it once.
Definition: TRT_IDDetDescrCnv.h:35
TRT_IDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: TRT_IDDetDescrCnv.h:38
TRT_IDDetDescrCnv::initialize
virtual StatusCode initialize() override
Definition: TRT_IDDetDescrCnv.cxx:27
TRT_IDDetDescrCnv::storageType
static long storageType()
Definition: TRT_IDDetDescrCnv.cxx:121
TRT_IDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: TRT_IDDetDescrCnv.h:44
DetDescrConverter
Definition: DetDescrConverter.h:25
TRT_IDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: TRT_IDDetDescrCnv.h:41
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
TRT_IDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: TRT_IDDetDescrCnv.h:47
TRT_ID
Definition: TRT_ID.h:84
TRT_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Definition: TRT_IDDetDescrCnv.cxx:36
DetDescrConverter.h
TRT_IDDetDescrCnv
This class is a converter for the TRT_ID an IdHelper which is stored in the detector store.
Definition: TRT_IDDetDescrCnv.h:19
TRT_IDDetDescrCnv::TRT_IDDetDescrCnv
TRT_IDDetDescrCnv(ISvcLocator *svcloc)
Definition: TRT_IDDetDescrCnv.cxx:133
TRT_IDDetDescrCnv::repSvcType
virtual long int repSvcType() const override
Definition: TRT_IDDetDescrCnv.cxx:19
TRT_IDDetDescrCnv::classID
static const CLID & classID()
Definition: TRT_IDDetDescrCnv.cxx:128