ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonIdCnv
src
T_Muon_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 MUONCNV_T_MUON_IDDETDESCRCNV_H
6
#define MUONCNV_T_MUON_IDDETDESCRCNV_H
7
8
#include "GaudiKernel/IOpaqueAddress.h"
9
#include "GaudiKernel/ISvcLocator.h"
10
#include "GaudiKernel/StatusCode.h"
11
12
#include "
AthenaKernel/ClassID_traits.h
"
13
#include "
DetDescrCnvSvc/DetDescrAddress.h
"
14
#include "
DetDescrCnvSvc/DetDescrConverter.h
"
15
16
22
template
<
class
IDHELPER>
23
class
T_Muon_IDDetDescrCnv
:
public
DetDescrConverter
{
24
25
public
:
26
T_Muon_IDDetDescrCnv
(ISvcLocator* svcloc,
const
char
* name);
27
28
virtual
StatusCode
initialize
()
override
;
29
virtual
StatusCode
createObj
(IOpaqueAddress* pAddr, DataObject*& pObj)
override
;
30
virtual
long
int
repSvcType
()
const override
{
return
storageType
(); }
31
32
// Storage type and class ID (used by CnvFactory)
33
static
long
storageType
() {
return
DetDescr_StorageType
; }
34
static
CLID
classID
() {
return
ClassID_traits<IDHELPER>::ID
(); }
35
};
36
37
#include "
T_Muon_IDDetDescrCnv.icc
"
38
39
#endif
ClassID_traits.h
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
DetDescrAddress.h
DetDescr_StorageType
const long DetDescr_StorageType
Definition
DetDescrCnvSvc.cxx:20
DetDescrConverter.h
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
T_Muon_IDDetDescrCnv.icc
DetDescrConverter::DetDescrConverter
DetDescrConverter(const CLID &myCLID, ISvcLocator *svcloc, const char *name=nullptr)
Definition
DetDescrConverter.cxx:34
T_Muon_IDDetDescrCnv::T_Muon_IDDetDescrCnv
T_Muon_IDDetDescrCnv(ISvcLocator *svcloc, const char *name)
T_Muon_IDDetDescrCnv::initialize
virtual StatusCode initialize() override
T_Muon_IDDetDescrCnv::storageType
static long storageType()
Definition
T_Muon_IDDetDescrCnv.h:33
T_Muon_IDDetDescrCnv::repSvcType
virtual long int repSvcType() const override
Definition
T_Muon_IDDetDescrCnv.h:30
T_Muon_IDDetDescrCnv::classID
static CLID classID()
Definition
T_Muon_IDDetDescrCnv.h:34
T_Muon_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
ClassID_traits::ID
static constexpr CLID ID()
Definition
Control/AthenaKernel/AthenaKernel/ClassID_traits.h:44
Generated on
for ATLAS Offline Software by
1.17.0