ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloEvent
TrigT1CaloEvent
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
//***************************************************************************
5
// CMMJetHits.h - description
6
// -------------------
7
// begin : 25 05 2006
8
// email : Alan.Watson@cern.ch
9
// ***************************************************************************/
10
11
12
#ifndef CMMJetHits_H
13
#define CMMJetHits_H
14
15
#include "
AthenaKernel/CLASS_DEF.h
"
16
17
18
#ifndef TRIGGERSPACE
19
#include "
TrigT1Interfaces/Coordinate.h
"
20
#else
21
#include "
Coordinate.h
"
22
#endif
23
namespace
LVL1
{
24
30
31
class
CMMJetHits
{
32
public
:
33
34
enum
DataIDs
{
REMOTE_MAIN
= 16,
LOCAL_MAIN
,
TOTAL_MAIN
,
35
REMOTE_FORWARD
,
LOCAL_FORWARD
,
TOTAL_FORWARD
,
36
ET_MAP
,
MAXID
};
37
39
CMMJetHits
() =
default
;
40
CMMJetHits
(
int
crate
,
int
dataID
);
41
CMMJetHits
(
int
crate
,
int
dataID
,
42
const
std::vector<unsigned int>& hits,
43
const
std::vector<int>& errors,
int
peak
);
44
45
48
void
setPeak
(
int
peak
);
50
void
addHits
(
const
std::vector<unsigned int>& hits,
51
const
std::vector<int>& errors);
52
54
int
crate
()
const
;
55
int
dataID
()
const
;
56
unsigned
int
Hits
()
const
;
57
int
Error
()
const
;
59
const
std::vector<unsigned int>&
HitsVec
()
const
;
60
const
std::vector<int>&
ErrorVec
()
const
;
61
int
peak
()
const
;
62
64
private
:
65
int
m_crate
{};
66
int
m_dataID
{};
67
int
m_peak
{};
68
std::vector<unsigned int>
m_hits
{0};
69
std::vector<int>
m_errors
{0};
70
71
};
72
}
// end of namespace
73
74
#ifndef CMMJetHits_ClassDEF_H
75
#include "
TrigT1CaloEvent/CMMJetHits_ClassDEF.h
"
76
#endif
77
78
#endif
CMMJetHits_ClassDEF.h
CLASS_DEF.h
macros to associate a CLID to a type
Coordinate.h
Coordinate.h
Coordinate policies.
LVL1::CMMJetHits::setPeak
void setPeak(int peak)
In multi-slice readout, need to specify which slice corresponds to the triggered bunch-crossing.
Definition
CMMJetHits.cxx:85
LVL1::CMMJetHits::ErrorVec
const std::vector< int > & ErrorVec() const
returns errors
Definition
CMMJetHits.cxx:73
LVL1::CMMJetHits::m_dataID
int m_dataID
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:66
LVL1::CMMJetHits::CMMJetHits
CMMJetHits()=default
Constructors.
LVL1::CMMJetHits::dataID
int dataID() const
returns data ID of data
Definition
CMMJetHits.cxx:53
LVL1::CMMJetHits::m_peak
int m_peak
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:67
LVL1::CMMJetHits::m_crate
int m_crate
Internal data.
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:65
LVL1::CMMJetHits::addHits
void addHits(const std::vector< unsigned int > &hits, const std::vector< int > &errors)
Add hits to existing object.
Definition
CMMJetHits.cxx:78
LVL1::CMMJetHits::m_errors
std::vector< int > m_errors
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:69
LVL1::CMMJetHits::crate
int crate() const
Data accessors.
Definition
CMMJetHits.cxx:48
LVL1::CMMJetHits::Error
int Error() const
returns error for peak sample
Definition
CMMJetHits.cxx:63
LVL1::CMMJetHits::Hits
unsigned int Hits() const
returns hits for peak sample
Definition
CMMJetHits.cxx:58
LVL1::CMMJetHits::peak
int peak() const
returns peak slice number
Definition
CMMJetHits.cxx:90
LVL1::CMMJetHits::HitsVec
const std::vector< unsigned int > & HitsVec() const
Multi-slice accessors.
Definition
CMMJetHits.cxx:68
LVL1::CMMJetHits::DataIDs
DataIDs
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:34
LVL1::CMMJetHits::MAXID
@ MAXID
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:36
LVL1::CMMJetHits::TOTAL_MAIN
@ TOTAL_MAIN
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:34
LVL1::CMMJetHits::ET_MAP
@ ET_MAP
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:36
LVL1::CMMJetHits::REMOTE_MAIN
@ REMOTE_MAIN
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:34
LVL1::CMMJetHits::LOCAL_FORWARD
@ LOCAL_FORWARD
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:35
LVL1::CMMJetHits::TOTAL_FORWARD
@ TOTAL_FORWARD
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:35
LVL1::CMMJetHits::LOCAL_MAIN
@ LOCAL_MAIN
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:34
LVL1::CMMJetHits::REMOTE_FORWARD
@ REMOTE_FORWARD
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:35
LVL1::CMMJetHits::m_hits
std::vector< unsigned int > m_hits
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:68
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
Generated on
for ATLAS Offline Software by
1.17.0