ATLAS Offline Software
Trigger
TrigT1
TrigT1CaloEvent
src
JEMHits.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
/***************************************************************************
5
JEMHits.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/JEMHits.h
"
16
#else
17
#include "
JEMHits.h
"
18
#endif
19
20
namespace
LVL1
{
21
22
JEMHits::JEMHits
():
23
m_crate(0),
24
m_module(0),
25
m_peak(0),
26
m_JetHits(1)
27
{
28
}
29
30
JEMHits::~JEMHits
(){
31
}
32
34
LVL1::JEMHits::JEMHits::JEMHits
(
int
crate,
int
module
):
35
m_crate(crate),
36
m_module(
module
),
37
m_peak(0),
38
m_JetHits(1)
39
{
40
}
41
43
LVL1::JEMHits::JEMHits::JEMHits
(
int
crate,
int
module
,
44
const
std::vector<unsigned int>& JetHits,
45
int
peak):
46
m_crate(crate),
47
m_module(
module
),
48
m_peak(peak),
49
m_JetHits(JetHits)
50
{
51
}
52
53
55
int
LVL1::JEMHits::crate
()
const
{
56
return
m_crate;
57
}
58
60
int
LVL1::JEMHits::module
()
const
{
61
return
m_module;
62
}
63
65
unsigned
int
LVL1::JEMHits::JetHits
()
const
{
66
return
m_JetHits[m_peak];
67
}
68
70
const
std::vector<unsigned int>&
LVL1::JEMHits::JetHitsVec
()
const
{
71
return
m_JetHits;
72
}
73
75
bool
LVL1::JEMHits::forward
()
const
{
76
return
( ((m_module%8) == 0) || ((m_module%8) == 7) );
77
}
78
80
void
LVL1::JEMHits::addJetHits
(
const
std::vector<unsigned int>&
hits
) {
81
m_JetHits =
hits
;
82
}
83
85
void
LVL1::JEMHits::setPeak
(
int
peak) {
86
m_peak = peak;
87
}
88
90
int
LVL1::JEMHits::peak
()
const
{
91
return
m_peak;
92
}
93
94
}
// end of namespace bracket
LVL1::JEMHits::JEMHits
JEMHits()
Definition:
JEMHits.cxx:27
LVL1::JEMHits::crate
int crate() const
returns crate number
Definition:
JEMHits.cxx:60
TRTCalib_Extractor.hits
hits
Definition:
TRTCalib_Extractor.py:35
xAOD::JEMHits
JEMHits_v1 JEMHits
Define the latest version of the JEMHits class.
Definition:
Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/JEMHits.h:14
LVL1::JEMHits::setPeak
void setPeak(int peak)
Specify peak slice
Definition:
JEMHits.cxx:90
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition:
ICMMCPHitsCnvTool.h:18
python.PyAthena.module
module
Definition:
PyAthena.py:131
LVL1::JEMHits::JetHitsVec
const std::vector< unsigned int > & JetHitsVec() const
returns jet hits
Definition:
JEMHits.cxx:75
LVL1::JEMHits::addJetHits
void addJetHits(const std::vector< unsigned int > &hits)
Set Jet hits.
Definition:
JEMHits.cxx:85
LVL1::JEMHits::peak
int peak() const
returns peak slice number
Definition:
JEMHits.cxx:95
LVL1::JEMHits::module
int module() const
returns module number
Definition:
JEMHits.cxx:65
LVL1::JEMHits::forward
bool forward() const
Central or FCAL JEM?
Definition:
JEMHits.cxx:80
JEMHits.h
LVL1::JEMHits::JetHits
unsigned int JetHits() const
returns jet hits for peak sample
Definition:
JEMHits.cxx:70
LVL1::JEMHits::~JEMHits
virtual ~JEMHits()
Definition:
JEMHits.cxx:35
Generated on Sun Dec 22 2024 21:12:12 for ATLAS Offline Software by
1.8.18