ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
HighGranularityTimingDetector
HGTD_DetDescrCnv
HGTD_IdCnv
src
HGTD_IDDetDescrCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 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
#include "
DetDescrCnvSvc/DetDescrConverter.h
"
9
10
#include "
HGTD_Identifier/HGTD_ID.h
"
11
12
#include <memory>
13
#include <string>
14
15
class
IOpaqueAddress;
16
class
DataObject;
17
class
ISvcLocator;
18
25
26
class
HGTD_IDDetDescrCnv
:
public
DetDescrConverter
{
27
28
public
:
29
30
virtual
long
int
repSvcType
()
const
override
final
;
31
virtual
StatusCode
initialize
()
override
final
;
32
virtual
StatusCode
createObj
(IOpaqueAddress* pAddr, DataObject*& pObj)
override
final
;
33
34
// Storage type and class ID (used by CnvFactory)
35
static
long
storageType
();
36
static
CLID
classID
();
37
38
HGTD_IDDetDescrCnv
(ISvcLocator* svcloc);
39
40
private
:
42
std::unique_ptr<HGTD_ID>
m_hgtdId
;
43
45
std::string
m_inDetIDFileName
;
46
48
std::string
m_inDetIdDictTag
;
49
51
std::string
m_inDetIDTag
;
52
54
bool
m_doChecks
;
55
56
};
57
58
59
#endif
// HGTD_IDCNV_HGTD_IDDETDESCRCNV_H
DetDescrConverter.h
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
HGTD_ID.h
DetDescrConverter::DetDescrConverter
DetDescrConverter(const CLID &myCLID, ISvcLocator *svcloc, const char *name=nullptr)
Definition
DetDescrConverter.cxx:34
HGTD_IDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition
HGTD_IDDetDescrCnv.h:45
HGTD_IDDetDescrCnv::classID
static CLID classID()
Definition
HGTD_IDDetDescrCnv.cxx:133
HGTD_IDDetDescrCnv::storageType
static long storageType()
Definition
HGTD_IDDetDescrCnv.cxx:126
HGTD_IDDetDescrCnv::repSvcType
virtual long int repSvcType() const override final
Definition
HGTD_IDDetDescrCnv.cxx:21
HGTD_IDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition
HGTD_IDDetDescrCnv.h:48
HGTD_IDDetDescrCnv::initialize
virtual StatusCode initialize() override final
Definition
HGTD_IDDetDescrCnv.cxx:29
HGTD_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override final
Definition
HGTD_IDDetDescrCnv.cxx:40
HGTD_IDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition
HGTD_IDDetDescrCnv.h:51
HGTD_IDDetDescrCnv::HGTD_IDDetDescrCnv
HGTD_IDDetDescrCnv(ISvcLocator *svcloc)
Definition
HGTD_IDDetDescrCnv.cxx:138
HGTD_IDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition
HGTD_IDDetDescrCnv.h:54
HGTD_IDDetDescrCnv::m_hgtdId
std::unique_ptr< HGTD_ID > m_hgtdId
The helper - only will create it once.
Definition
HGTD_IDDetDescrCnv.h:42
Generated on
for ATLAS Offline Software by
1.17.0