ATLAS Offline Software
DetectorDescription
Identifier
Identifier
HWIdentifier.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//<doc><file> $Id: HWIdentifier.h,v 1.3 2004-02-24 13:52:15 schaffer Exp $
6
//<version> $Name: not supported by cvs2svn $
7
8
#ifndef IDENTIFIER_HWIDENTIFIER_H
9
# define IDENTIFIER_HWIDENTIFIER_H
10
11
#include "Identifier/Identifier.h"
12
13
class
HWIdentifier
:
public
Identifier
{
14
15
public
:
16
18
HWIdentifier
() =
default
;
19
21
explicit
HWIdentifier
(
value_type
value
);
22
24
explicit
HWIdentifier
(
const
Identifier
&
old
);
25
27
explicit
HWIdentifier
(
Identifier32::value_type
value
);
28
explicit
HWIdentifier
(
int
value
);
29
};
30
31
32
// Define a hash functional
33
34
namespace
std {
35
template
<>
36
struct
hash
<
HWIdentifier
>
37
{
38
size_t
operator()
(
const
HWIdentifier
&
id
)
const
39
{
40
return
static_cast<
size_t
>
(
id
.get_compact());
41
}
42
};
43
}
44
45
inline
HWIdentifier::HWIdentifier
(
value_type
value
)
46
:
Identifier
::
Identifier
(
value
)
47
{}
48
49
inline
HWIdentifier::HWIdentifier
(
const
Identifier
&
old
)
50
:
Identifier
::
Identifier
(
old
)
51
{}
52
53
inline
HWIdentifier::HWIdentifier
(
Identifier32::value_type
value
)
54
:
Identifier
::
Identifier
(
value
)
55
{}
56
57
inline
HWIdentifier::HWIdentifier
(
int
value
)
58
:
Identifier
::
Identifier
(
value
)
59
{}
60
61
#endif // IDENTIFIER_HWIDENTIFIER_H
athena.value
value
Definition:
athena.py:124
HWIdentifier
Definition:
HWIdentifier.h:13
std::hash< HWIdentifier >::operator()
size_t operator()(const HWIdentifier &id) const
Definition:
HWIdentifier.h:38
HWIdentifier::HWIdentifier
HWIdentifier()=default
Default constructor.
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:109
CSV_InDetExporter.old
old
Definition:
CSV_InDetExporter.py:145
value_type
Definition:
EDM_MasterSearch.h:11
Identifier32::value_type
unsigned int value_type
Definition:
Identifier32.h:28
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Sun Dec 22 2024 21:11:20 for ATLAS Offline Software by
1.8.18