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
LArCalorimeter
LArRawUtils
src
LArRawOrdering.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawUtils/LArRawOrdering.h
"
6
#include "
LArRecConditions/LArRoIMap.h
"
7
8
9
LArRawOrdering::LArRawOrdering
(
const
LArRoIMap
*
m
): m_roiMap(
m
)
10
{ }
11
12
13
LArRawOrdering::LArRawOrdering
( ): m_roiMap(nullptr)
14
{ }
15
void
LArRawOrdering::setMap
(
const
LArRoIMap
* map )
16
{
m_roiMap
= map; }
17
18
bool
19
LArRawOrdering::operator ()
20
(
const
LArRawChannel
* ch1,
const
LArRawChannel
* ch2)
21
{
22
23
LArRoIMap::TT_ID
rId1 = m_roiMap->
trigTowerID
(ch1->
channelID
() );
24
LArRoIMap::TT_ID
rId2 = m_roiMap->trigTowerID(ch2->channelID() );
25
26
// order in eta first
27
if
(rId1 == rId2) {
28
unsigned
int
id1 = ch1->
channelID
().
get_identifier32
().
get_compact
();
29
unsigned
int
id2
= ch2->channelID().
get_identifier32
().
get_compact
();
30
31
return
id1<
id2
;
// compare the channel ID.
32
}
33
return
rId1< rId2;
34
35
}
LArRawOrdering::LArRawOrdering
LArRawOrdering()
Definition:
LArRawOrdering.cxx:13
LArRawChannel::channelID
HWIdentifier channelID() const
Definition:
LArRawChannel.h:158
LArRawOrdering::m_roiMap
const LArRoIMap * m_roiMap
Definition:
LArRawOrdering.h:28
Identifier::get_identifier32
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
LArRawOrdering::setMap
void setMap(const LArRoIMap *map)
Definition:
LArRawOrdering.cxx:15
LArRawOrdering.h
LArRoIMap.h
Mapping between calorimeter trigger id to offline/online Identifier.
Identifier32::get_compact
value_type get_compact() const
Get the compact id.
Definition:
Identifier32.h:44
id2
HWIdentifier id2
Definition:
LArRodBlockPhysicsV0.cxx:562
LArRawChannel
Liquid Argon ROD output object base class.
Definition:
LArRawChannel.h:40
LArRoIMap::TT_ID
unsigned int TT_ID
Definition:
LArRoIMap.h:34
LArRoIMap
Mapping between calorimeter trigger id to offline/online Identifier.
Definition:
LArRoIMap.h:31
LArRoIMap::trigTowerID
TT_ID trigTowerID(const Identifier &channel_id) const
Translate offline channel identifier to trigger tower ID.
Definition:
LArRoIMap.cxx:32
python.SystemOfUnits.m
float m
Definition:
SystemOfUnits.py:105
Generated on Mon May 12 2025 21:13:10 for ATLAS Offline Software by
1.8.18