ATLAS Offline Software
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 
28  explicit HWIdentifier(int value);
29 };
30 
31 
32 // Define a hash functional
33 
34 namespace std {
35 template<>
37 {
38  size_t operator()(const HWIdentifier& id) const
39  {
40  return static_cast<size_t>(id.get_compact());
41  }
42 };
43 }
44 
47 {}
48 
51 {}
52 
55 {}
56 
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