ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCnv
CaloIdCnv
CaloIdCnv
CaloIDHelper_IDDetDescrCnv.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4
*/
28
29
30
#ifndef CALOIDCNV_CALOIDHELPER_IDDETDESCRCNV_H
31
#define CALOIDCNV_CALOIDHELPER_IDDETDESCRCNV_H
32
33
34
#include "
DetDescrCnvSvc/DetDescrConverter.h
"
35
36
37
class
IdHelper
;
38
39
40
namespace
CaloIdCnv
{
41
42
52
class
CaloIDHelper_IDDetDescrCnv
53
:
public
DetDescrConverter
54
{
55
public
:
61
virtual
StatusCode
createObj
(IOpaqueAddress* pAddr, DataObject*& pObj);
62
63
67
virtual
long
int
repSvcType
()
const
;
68
69
75
CaloIDHelper_IDDetDescrCnv
(
const
CLID
& clid, ISvcLocator* svcloc);
76
77
84
virtual
StatusCode
createHelper
(
const
std::string& helperKey,
85
IdHelper
* & idhelper,
86
DataObject*& pObj) = 0;
87
};
88
89
99
template
<
class
T>
100
StatusCode
make_CaloIDHelper
(ISvcLocator* svcloc,
101
const
std::string& helperKey,
102
T* & idhelper);
103
104
113
template
<
class
T>
114
class
CaloIDHelper_IDDetDescrCnv_T
115
:
public
CaloIDHelper_IDDetDescrCnv
116
{
117
118
public
:
123
static
CLID
classID
();
124
125
130
CaloIDHelper_IDDetDescrCnv_T
(ISvcLocator* svcloc);
131
132
139
virtual
StatusCode
createHelper
(
const
std::string& helperKey,
140
IdHelper
* & idhelper,
141
DataObject*& pObj);
142
};
143
144
145
}
// namespace CaloIdCnv
146
147
148
#include "
CaloIdCnv/CaloIDHelper_IDDetDescrCnv.icc
"
149
150
151
#endif
// not CALOIDCNV_CALOIDHELPER_IDDETDESCRCNV_H
CaloIDHelper_IDDetDescrCnv.icc
DetDescrConverter.h
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
CaloIdCnv::CaloIDHelper_IDDetDescrCnv_T::CaloIDHelper_IDDetDescrCnv_T
CaloIDHelper_IDDetDescrCnv_T(ISvcLocator *svcloc)
Constructor.
CaloIdCnv::CaloIDHelper_IDDetDescrCnv_T::classID
static CLID classID()
Return the CLID of the class we create.
CaloIdCnv::CaloIDHelper_IDDetDescrCnv_T::createHelper
virtual StatusCode createHelper(const std::string &helperKey, IdHelper *&idhelper, DataObject *&pObj)
Create the helper object.
CaloIdCnv::CaloIDHelper_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Called by the converter infrastructure to create an object.
Definition
CaloIDHelper_IDDetDescrCnv.cxx:31
CaloIdCnv::CaloIDHelper_IDDetDescrCnv::createHelper
virtual StatusCode createHelper(const std::string &helperKey, IdHelper *&idhelper, DataObject *&pObj)=0
Create the helper object.
CaloIdCnv::CaloIDHelper_IDDetDescrCnv::repSvcType
virtual long int repSvcType() const
Return the service type.
Definition
CaloIDHelper_IDDetDescrCnv.cxx:78
CaloIdCnv::CaloIDHelper_IDDetDescrCnv::CaloIDHelper_IDDetDescrCnv
CaloIDHelper_IDDetDescrCnv(const CLID &clid, ISvcLocator *svcloc)
Constructor.
Definition
CaloIDHelper_IDDetDescrCnv.cxx:89
DetDescrConverter::DetDescrConverter
DetDescrConverter(const CLID &myCLID, ISvcLocator *svcloc, const char *name=nullptr)
Definition
DetDescrConverter.cxx:34
IdHelper
This is an abstract base class for helper classes that know how to convert Identifier <-> IdentifierH...
Definition
IdHelper.h:24
CaloIdCnv
Definition
CaloIDHelper_IDDetDescrCnv.h:40
CaloIdCnv::make_CaloIDHelper
StatusCode make_CaloIDHelper(ISvcLocator *svcloc, const std::string &helperKey, T *&idhelper)
Helper function to actually create a new helper.
Generated on
for ATLAS Offline Software by
1.17.0