Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
MuonSpectrometer
MuonRDO
MuonRDO
MdtCsmIdHash.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONDIGITCONATINER_MDTCSMIDHASH_H
6
#define MUONDIGITCONATINER_MDTCSMIDHASH_H
7
8
9
#include "
MuonIdHelpers/MdtIdHelper.h
"
10
#include <map>
11
17
class
MdtCsmIdHash
{
18
19
public
:
20
21
typedef
Identifier
ID
;
22
23
MdtCsmIdHash
();
24
virtual
~MdtCsmIdHash
() { };
25
26
28
int
operator()
(
const
ID
&
id
)
const
;
29
31
int
max
()
const
;
32
34
ID
identifier
(
int
i
)
const
;
35
37
static
int
offset
() ;
38
39
private
:
41
int
m_size
;
// total number of IDs
42
45
std::map<Identifier,int>
m_lookup
;
46
49
std::vector<ID>
m_int2id
;
50
51
};
52
53
#endif
54
MdtCsmIdHash::MdtCsmIdHash
MdtCsmIdHash()
Definition:
MdtCsmIdHash.cxx:21
ID
std::vector< Identifier > ID
Definition:
CalibHitIDCheck.h:24
MdtCsmIdHash::m_size
int m_size
total number of IDs
Definition:
MdtCsmIdHash.h:41
MdtCsmIdHash::~MdtCsmIdHash
virtual ~MdtCsmIdHash()
Definition:
MdtCsmIdHash.h:24
MdtCsmIdHash::m_int2id
std::vector< ID > m_int2id
reverse lookup
Definition:
MdtCsmIdHash.h:49
MdtCsmIdHash::ID
Identifier ID
Definition:
MdtCsmIdHash.h:21
MdtCsmIdHash
Hash function for Mdt module Identifier to be used in MdtDigitContainer (IdentifiableContainer)
Definition:
MdtCsmIdHash.h:17
lumiFormat.i
int i
Definition:
lumiFormat.py:85
MdtIdHelper.h
MdtCsmIdHash::max
int max() const
return maximum number of IDs
Definition:
MdtCsmIdHash.cxx:78
MdtCsmIdHash::offset
static int offset()
return offset
Definition:
MdtCsmIdHash.cxx:84
MdtCsmIdHash::operator()
int operator()(const ID &id) const
Convert ID to int.
Definition:
MdtCsmIdHash.cxx:66
MdtCsmIdHash::m_lookup
std::map< Identifier, int > m_lookup
lookup table
Definition:
MdtCsmIdHash.h:45
MdtCsmIdHash::identifier
ID identifier(int i) const
reverse conversion
Definition:
MdtCsmIdHash.cxx:54
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Wed May 7 2025 21:13:40 for ATLAS Offline Software by
1.8.18