ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD_IDDetDescrCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
9
11
12#include <memory>
13#include <string>
14
15class IOpaqueAddress;
16class DataObject;
17class ISvcLocator;
18
25
27
28public:
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 const CLID& classID();
37
38 HGTD_IDDetDescrCnv(ISvcLocator* svcloc);
39
40private:
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
55
56};
57
58
59#endif // HGTD_IDCNV_HGTD_IDDETDESCRCNV_H
uint32_t CLID
The Class ID type.
DetDescrConverter(const CLID &myCLID, ISvcLocator *svcloc, const char *name=nullptr)
std::string m_inDetIDFileName
File to be read for InDet ids.
virtual long int repSvcType() const override final
static const CLID & classID()
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
virtual StatusCode initialize() override final
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override final
std::string m_inDetIDTag
Internal InDet id tag.
HGTD_IDDetDescrCnv(ISvcLocator *svcloc)
bool m_doChecks
Whether or not.
std::unique_ptr< HGTD_ID > m_hgtdId
The helper - only will create it once.