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
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
InnerDetector
InDetCalibAlgs
PixelCalibAlgs
ChargeCalibration
common
PixelMapping.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
// PixelMapping.h
5
// PixelMapping
6
//
7
// Created by sroe on 06/12/2022.
8
//
9
10
#ifndef PixelMapping_h
11
#define PixelMapping_h
12
13
#include <string>
14
#include <unordered_map>
15
#include <array>
16
17
namespace
pix
{
18
class
PixelMapping
{
19
public
:
20
PixelMapping
(
const
std::string & csvFilename);
21
//rewrite the function but dont change the signature too much
22
void
23
mapping
(
const
std::string & geographicalID,
int
*hashID,
int
*
bec
,
int
*
layer
,
int
*
phimod
,
int
*
etamod
)
const
;
24
25
int
getID
(
const
std::string & geographicalID)
const
;
26
27
bool
28
contains
(
const
std::string & geographicalID)
const
;
29
int
nModules
()
const
;
30
31
private
:
32
typedef
std::array<int,5>
Coordinates
;
33
std::unordered_map<std::string,Coordinates >
m_internalMap
;
34
};
35
36
}
//end of ibl namespace
37
38
39
#endif
/* pixelMapping_h */
ParticleGun_SamplingFraction.bec
int bec
Definition:
ParticleGun_SamplingFraction.py:89
pix::PixelMapping::getID
int getID(const std::string &geographicalID) const
Definition:
PixelMapping.cxx:86
pix::PixelMapping::nModules
int nModules() const
Definition:
PixelMapping.cxx:102
CaloSwCorrections.etamod
def etamod(flags, cells_name, *args, **kw)
Definition:
CaloSwCorrections.py:206
CaloSwCorrections.phimod
def phimod(flags, cells_name, *args, **kw)
Definition:
CaloSwCorrections.py:203
pix::PixelMapping::PixelMapping
PixelMapping(const std::string &csvFilename)
Definition:
PixelMapping.cxx:18
TRT::Hit::layer
@ layer
Definition:
HitInfo.h:79
pix::PixelMapping
Definition:
PixelMapping.h:18
pix::PixelMapping::mapping
void mapping(const std::string &geographicalID, int *hashID, int *bec, int *layer, int *phimod, int *etamod) const
Definition:
PixelMapping.cxx:70
pix::PixelMapping::m_internalMap
std::unordered_map< std::string, Coordinates > m_internalMap
Definition:
PixelMapping.h:33
pix
Definition:
PixelMapping.cxx:16
pix::PixelMapping::contains
bool contains(const std::string &geographicalID) const
Definition:
PixelMapping.cxx:97
pix::PixelMapping::Coordinates
std::array< int, 5 > Coordinates
Definition:
PixelMapping.h:32
Generated on Sat Mar 29 2025 21:16:34 for ATLAS Offline Software by
1.8.18