ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcIdentifier
ZdcIdentifier
ZdcHardwareID.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 ZdcHARDWAREID_H
6
#define ZdcHARDWAREID_H
7
8
#include "
AtlasDetDescr/AtlasDetectorID.h
"
9
#include "
Identifier/HWIdentifier.h
"
10
#include "
AthenaKernel/CLASS_DEF.h
"
11
12
// based on the Tile calo identifier class
13
14
class
ZdcHardwareID
:
public
AtlasDetectorID
{
15
16
public
:
17
18
typedef
Identifier::size_type
size_type
;
19
20
21
// default constructor
22
ZdcHardwareID
();
23
24
// default destructor
25
virtual
~ZdcHardwareID
();
26
27
static
int
ppm
(
const
HWIdentifier
& hwid) ;
28
static
int
channel
(
const
HWIdentifier
& hwid) ;
29
static
HWIdentifier
ppm_id
(
int
ppm
) ;
// {return HWIdentifier(0);}
30
static
HWIdentifier
channel_id
(
int
ppm
,
int
channel
) ;
// {return HWIdentifier(0);}
31
32
private
:
33
34
};
35
36
CLASS_DEF
(
ZdcHardwareID
, 179020 , 1 )
37
38
#endif
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
HWIdentifier.h
AtlasDetectorID::AtlasDetectorID
AtlasDetectorID(const std::string &name, const std::string &group)
Definition
AtlasDetectorID.cxx:31
HWIdentifier
Definition
HWIdentifier.h:13
ZdcHardwareID
Definition
ZdcHardwareID.h:14
ZdcHardwareID::channel
static int channel(const HWIdentifier &hwid)
Definition
ZdcHardwareID.cxx:24
ZdcHardwareID::~ZdcHardwareID
virtual ~ZdcHardwareID()
Definition
ZdcHardwareID.cxx:15
ZdcHardwareID::size_type
Identifier::size_type size_type
Definition
ZdcHardwareID.h:18
ZdcHardwareID::ppm
static int ppm(const HWIdentifier &hwid)
Definition
ZdcHardwareID.cxx:19
ZdcHardwareID::channel_id
static HWIdentifier channel_id(int ppm, int channel)
Definition
ZdcHardwareID.cxx:34
ZdcHardwareID::ppm_id
static HWIdentifier ppm_id(int ppm)
Definition
ZdcHardwareID.cxx:29
ZdcHardwareID::ZdcHardwareID
ZdcHardwareID()
Definition
ZdcHardwareID.cxx:10
Generated on
for ATLAS Offline Software by
1.17.0