ATLAS Offline Software
ZdcIDDetDescrCnv.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 FORWARDIDCNV_ZDCIDDETDESCRCNV_H
6 # define FORWARDIDCNV_ZDCIDDETDESCRCNV_H
7 
9 
10 class ZdcID;
11 
19 
20 public:
21 
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  ZdcIDDetDescrCnv(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 // FORWARDIDCNV_ZDCIDDETDESCRCNV_H
ZdcIDDetDescrCnv::initialize
virtual StatusCode initialize() override
Definition: ZdcIDDetDescrCnv.cxx:32
ZdcIDDetDescrCnv::classID
static const CLID & classID()
Definition: ZdcIDDetDescrCnv.cxx:132
ZdcIDDetDescrCnv::m_zdcId
ZdcID * m_zdcId
The helper - only will create it once.
Definition: ZdcIDDetDescrCnv.h:34
ZdcIDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: ZdcIDDetDescrCnv.h:43
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
ZdcIDDetDescrCnv::repSvcType
virtual long int repSvcType() const override
Definition: ZdcIDDetDescrCnv.cxx:24
ZdcIDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Definition: ZdcIDDetDescrCnv.cxx:41
ZdcIDDetDescrCnv
This class is a converter for the ZdcID an IdHelper which is stored in the detector store.
Definition: ZdcIDDetDescrCnv.h:18
ZdcIDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: ZdcIDDetDescrCnv.h:40
ZdcIDDetDescrCnv::storageType
static long storageType()
Definition: ZdcIDDetDescrCnv.cxx:125
DetDescrConverter.h
ZdcIDDetDescrCnv::ZdcIDDetDescrCnv
ZdcIDDetDescrCnv(ISvcLocator *svcloc)
Definition: ZdcIDDetDescrCnv.cxx:137
ZdcIDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: ZdcIDDetDescrCnv.h:46
ZdcIDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: ZdcIDDetDescrCnv.h:37
ZdcID
Definition: ZdcID.h:25