ATLAS Offline Software
PixelIDDetDescrCnv.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_PIXELIDDETDESCRCNV_H
6 # define INDETMGRDETDESCRCNV_PIXELIDDETDESCRCNV_H
7 
9 
10 class PixelID;
11 
12 
21 
22 public:
23 
24  virtual long int repSvcType() const override;
25  virtual StatusCode initialize() override;
26  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override;
27 
28  // Storage type and class ID (used by CnvFactory)
29  static long storageType();
30  static const CLID& classID();
31 
32  PixelIDDetDescrCnv(ISvcLocator* svcloc);
33 
34 private:
37 
39  std::string m_inDetIDFileName;
40 
42  std::string m_inDetIdDictTag;
43 
45  std::string m_inDetIDTag;
46 
48  bool m_doChecks;
49 
50 };
51 
52 #endif // INDETMGRDETDESCRCNV_PIXELIDDETDESCRCNV_H
PixelIDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: PixelIDDetDescrCnv.h:48
PixelIDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: PixelIDDetDescrCnv.h:42
PixelIDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: PixelIDDetDescrCnv.h:39
PixelIDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Definition: PixelIDDetDescrCnv.cxx:36
PixelIDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: PixelIDDetDescrCnv.h:45
PixelIDDetDescrCnv::m_pixelId
PixelID * m_pixelId
The helper - only will create it once.
Definition: PixelIDDetDescrCnv.h:36
PixelIDDetDescrCnv
This class is a converter for the PixelID an IdHelper which is stored in the detector store.
Definition: PixelIDDetDescrCnv.h:20
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
PixelIDDetDescrCnv::repSvcType
virtual long int repSvcType() const override
Definition: PixelIDDetDescrCnv.cxx:19
DetDescrConverter.h
PixelIDDetDescrCnv::initialize
virtual StatusCode initialize() override
Definition: PixelIDDetDescrCnv.cxx:27
PixelIDDetDescrCnv::storageType
static long storageType()
Definition: PixelIDDetDescrCnv.cxx:120
PixelID
Definition: PixelID.h:67
PixelIDDetDescrCnv::PixelIDDetDescrCnv
PixelIDDetDescrCnv(ISvcLocator *svcloc)
Definition: PixelIDDetDescrCnv.cxx:132
PixelIDDetDescrCnv::classID
static const CLID & classID()
Definition: PixelIDDetDescrCnv.cxx:127