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
Trigger
TrigT1
L1Topo
L1TopoAlgorithms
Root
jXENoSort.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
// jXENoSort.cxx
5
6
#include "
L1TopoAlgorithms/jXENoSort.h
"
7
#include "
L1TopoCommon/Exception.h
"
8
#include "
L1TopoEvent/TOBArray.h
"
9
#include "
L1TopoEvent/jXETOBArray.h
"
10
#include "
L1TopoEvent/GenericTOB.h
"
11
#include <algorithm>
12
13
REGISTER_ALG_TCS
(jXENoSort)
14
15
16
// constructor
17
TCS
::
jXENoSort
::
jXENoSort
(
const
std::
string
&
name
) :
SortingAlg
(
name
) {
18
19
defineParameter(
"InputWidth"
, 2 );
// for FW
20
defineParameter(
"OutputWidth"
, 2 );
// for FW
21
defineParameter(
"NumRegisters"
, 2);
// for FW
22
23
}
24
25
// destructor
26
TCS::jXENoSort::~jXENoSort
() {}
27
28
TCS::StatusCode
29
TCS::jXENoSort::initialize
() {
30
return
TCS::StatusCode::SUCCESS
;
31
}
32
33
TCS::StatusCode
34
TCS::jXENoSort::sort
(
const
InputTOBArray
& input,
TOBArray
& output) {
35
36
if
(input.size()!=1) {
37
TCS_EXCEPTION
(
"jXE sort alg expects exactly single jXE TOB, got "
<< input.size());
38
}
39
40
const
jXETOBArray
& jxes =
dynamic_cast<
const
jXETOBArray
&
>
(input);
41
42
for
(
jXETOBArray::const_iterator
jxe = jxes.
begin
(); jxe!= jxes.
end
(); ++jxe ) {
43
output.push_back(
GenericTOB
(**jxe) );
44
}
45
46
return
TCS::StatusCode::SUCCESS
;
47
48
}
jXENoSort.h
TCS::StatusCode::SUCCESS
@ SUCCESS
Definition:
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:17
TCS::jXENoSort::initialize
virtual StatusCode initialize()
Definition:
jXENoSort.cxx:29
jXETOBArray.h
TCS::DataArrayImpl< jXETOB >::const_iterator
data_t::const_iterator const_iterator
Definition:
DataArrayImpl.h:18
TCS::jXENoSort::sort
virtual TCS::StatusCode sort(const InputTOBArray &input, TOBArray &output)
Definition:
jXENoSort.cxx:34
const
bool const RAWDATA *ch2 const
Definition:
LArRodBlockPhysicsV0.cxx:560
TCS::DataArrayImpl::end
iterator end()
Definition:
DataArrayImpl.h:43
TCS::jXENoSort::~jXENoSort
virtual ~jXENoSort()
Definition:
jXENoSort.cxx:26
TCS::InputTOBArray
Definition:
InputTOBArray.h:15
TCS::jXETOBArray
Definition:
L1Topo/L1TopoEvent/L1TopoEvent/jXETOBArray.h:14
TOBArray.h
TCS_EXCEPTION
#define TCS_EXCEPTION(MSG)
Definition:
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h:14
TCS::TOBArray
Definition:
TOBArray.h:24
TCS::GenericTOB
Definition:
GenericTOB.h:35
REGISTER_ALG_TCS
#define REGISTER_ALG_TCS(CLASS)
Definition:
AlgFactory.h:62
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
TCS::SortingAlg
Definition:
SortingAlg.h:18
GenericTOB.h
TCS::DataArrayImpl::begin
iterator begin()
Definition:
DataArrayImpl.h:40
TCS
Definition:
Global/GlobalSimulation/src/IO/Decision.h:18
Exception.h
TCS::StatusCode
Definition:
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:15
TCS::jXENoSort
Definition:
jXENoSort.h:18
Generated on Mon May 5 2025 21:12:34 for ATLAS Offline Software by
1.8.18