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
Trigger
TrigT1
TrigT1NSWSimTools
src
PadTrigger.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigT1NSWSimTools/PadTrigger.h
"
6
7
#include "
TrigT1NSWSimTools/PadData.h
"
8
#include <iostream>
9
#include "
TrigT1NSWSimTools/tdr_compat_enum.h
"
10
namespace
NSWL1
{
11
12
uint16_t
PadTrigger::bctag
()
const
{
13
return
m_pads
.size() ? this->
firstPad
()->BC_Tag() : 0x0;
14
}
15
16
int
PadTrigger::sideId
()
const
{
17
return
m_pads
.size() ? this->
firstPad
()->sideId() : -1;
18
}
19
20
int
PadTrigger::sectorId
()
const
{
21
return
m_pads
.size() ? this->
firstPad
()->sectorId() : -1;
22
}
23
24
int
PadTrigger::triggerSectorNumber
()
const
{
25
return
m_pads
.size() ? this->
firstPad
()->triggerSectorNumber() : -1;
26
}
27
28
29
std::shared_ptr<PadData>
PadTrigger::firstPad
()
const
{
//returns the first non-null pad from inner wedge
30
if
(this->
m_pads
.at(0)->padNumber()!=
nullPadNumber
)
return
this->
m_pads
.at(0);
31
return
this->
m_pads
.at(1);
32
}
33
34
std::shared_ptr<PadData>
PadTrigger::firstPadInner
()
const
{
//returns the first non-null pad from inner wedge
35
return
this->
firstPad
();
36
}
37
38
std::shared_ptr<PadData>
PadTrigger::firstPadOuter
()
const
{
//returns the first non-null pad from outer wedge
39
if
(this->
m_pads
.at(4)->padNumber()!=
nullPadNumber
)
return
this->
m_pads
.at(4);
40
return
this->
m_pads
.at(5);
41
}
42
43
44
45
}
// NSWL1
46
47
tdr_compat_enum.h
PadData.h
NSWL1::PadTrigger::firstPadInner
std::shared_ptr< PadData > firstPadInner() const
Definition:
PadTrigger.cxx:34
NSWL1::PadTrigger::bctag
uint16_t bctag() const
Definition:
PadTrigger.cxx:12
NSWL1::PadTrigger::triggerSectorNumber
int triggerSectorNumber() const
! sectorId of the first pad in the trigger
Definition:
PadTrigger.cxx:24
NSWL1::PadTrigger::m_pads
std::vector< std::shared_ptr< PadData > > m_pads
Definition:
PadTrigger.h:54
NSWL1::PadTrigger::sectorId
int sectorId() const
! sideId of the first pad in the trigger
Definition:
PadTrigger.cxx:20
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:93
NSWL1::PadTrigger::firstPadOuter
std::shared_ptr< PadData > firstPadOuter() const
Definition:
PadTrigger.cxx:38
NSWL1::nullPadNumber
const int nullPadNumber
Definition:
tdr_compat_enum.h:21
NSWL1::PadTrigger::firstPad
std::shared_ptr< PadData > firstPad() const
Definition:
PadTrigger.cxx:29
PadTrigger.h
NSWL1::PadTrigger::sideId
int sideId() const
Definition:
PadTrigger.cxx:16
NSWL1
A trigger trigger candidate for a stgc sector.
Definition:
NSWL1Simulation.cxx:7
Generated on Wed May 7 2025 21:15:30 for ATLAS Offline Software by
1.8.18