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
TrigT1CaloEvent
src
CPMHits.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
/***************************************************************************
5
CPMHits.cpp - description
6
-------------------
7
begin : 25 05 2006
8
email : Alan.Watson@cern.ch
9
***************************************************************************/
10
11
12
13
14
#ifndef TRIGGERSPACE
15
#include "
TrigT1CaloEvent/CPMHits.h
"
16
#else
17
#include "
CPMHits.h
"
18
#endif
19
20
namespace
LVL1
{
21
22
23
25
LVL1::CPMHits::CPMHits::CPMHits
(
int
crate,
int
module
):
26
m_crate(crate),
27
m_module(
module
)
28
{
29
}
30
32
LVL1::CPMHits::CPMHits::CPMHits
(
int
crate,
int
module
,
33
const
std::vector<unsigned int>& EMTauHits0,
34
const
std::vector<unsigned int>& EMTauHits1,
int
peak):
35
m_crate(crate),
36
m_module(
module
),
37
m_peak(peak),
38
m_Hits0(EMTauHits0),
39
m_Hits1(EMTauHits1)
40
{
41
}
42
43
45
int
LVL1::CPMHits::crate
()
const
{
46
return
m_crate;
47
}
48
50
int
LVL1::CPMHits::module
()
const
{
51
return
m_module;
52
}
53
55
unsigned
int
LVL1::CPMHits::HitWord0
()
const
{
56
return
m_Hits0[m_peak];
57
}
58
unsigned
int
LVL1::CPMHits::HitWord1
()
const
{
59
return
m_Hits1[m_peak];
60
}
61
63
const
std::vector<unsigned int>&
LVL1::CPMHits::HitsVec0
()
const
{
64
return
m_Hits0;
65
}
66
const
std::vector<unsigned int>&
LVL1::CPMHits::HitsVec1
()
const
{
67
return
m_Hits1;
68
}
69
71
void
LVL1::CPMHits::addHits
(
const
std::vector<unsigned int>& hits0,
72
const
std::vector<unsigned int>& hits1) {
73
m_Hits0 = hits0;
74
m_Hits1 = hits1;
75
}
76
78
void
LVL1::CPMHits::setPeak
(
int
peak) {
79
m_peak = peak;
80
}
81
83
int
LVL1::CPMHits::peak
()
const
{
84
return
m_peak;
85
}
86
87
}
// end of namespace bracket
CPMHits.h
LVL1::CPMHits::HitsVec0
const std::vector< unsigned int > & HitsVec0() const
Multi-slice accessors.
Definition:
CPMHits.cxx:68
LVL1::CPMHits::addHits
void addHits(const std::vector< unsigned int > &hits0, const std::vector< unsigned int > &hits1)
Add hits to existing object.
Definition:
CPMHits.cxx:76
LVL1::CPMHits::setPeak
void setPeak(int peak)
In multi-slice readout, need to specify which is peak slice.
Definition:
CPMHits.cxx:83
LVL1::CPMHits::HitWord1
unsigned int HitWord1() const
Definition:
CPMHits.cxx:63
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition:
ICMMCPHitsCnvTool.h:18
LVL1::CPMHits::HitWord0
unsigned int HitWord0() const
returns hits for peak sample
Definition:
CPMHits.cxx:60
python.PyAthena.module
module
Definition:
PyAthena.py:131
xAOD::CPMHits
CPMHits_v1 CPMHits
Define the latest version of the CPMHits class.
Definition:
Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CPMHits.h:14
LVL1::CPMHits::crate
int crate() const
Data accessors.
Definition:
CPMHits.cxx:50
LVL1::CPMHits::peak
int peak() const
returns peak slice number
Definition:
CPMHits.cxx:88
LVL1::CPMHits::module
int module() const
returns module number
Definition:
CPMHits.cxx:55
LVL1::CPMHits::HitsVec1
const std::vector< unsigned int > & HitsVec1() const
Definition:
CPMHits.cxx:71
Generated on Sun Mar 30 2025 21:08:56 for ATLAS Offline Software by
1.8.18