ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloEvent
TrigT1CaloEvent
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.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
// CMMEtSums.h - description
6
// -------------------
7
// begin : 25 05 2006
8
// email : Alan.Watson@cern.ch
9
//***************************************************************************/
10
11
//* *
12
//* *
13
//***************************************************************************/
14
15
#ifndef CMMEtSums_H
16
#define CMMEtSums_H
17
18
#include "
AthenaKernel/CLASS_DEF.h
"
19
20
21
#ifndef TRIGGERSPACE
22
#include "
TrigT1Interfaces/Coordinate.h
"
23
#else
24
#include "
Coordinate.h
"
25
#endif
26
namespace
LVL1
{
27
31
32
class
CMMEtSums
{
33
public
:
34
35
enum
DataIDs
{
REMOTE
= 16,
LOCAL
,
TOTAL
,
36
MISSING_ET_MAP
,
SUM_ET_MAP
,
MISSING_ET_SIG_MAP
,
MAXID
};
37
39
CMMEtSums
() =
default
;
40
CMMEtSums
(
int
crate
,
int
dataID
);
41
CMMEtSums
(
int
crate
,
int
dataID
,
42
const
std::vector<unsigned int>&
Et
,
43
const
std::vector<unsigned int>&
Ex
,
44
const
std::vector<unsigned int>&
Ey
,
45
const
std::vector<int>&
EtError
,
46
const
std::vector<int>&
ExError
,
47
const
std::vector<int>&
EyError
,
48
int
peak
);
49
50
52
void
setPeak
(
int
peak
);
54
void
addEt
(
const
std::vector<unsigned int>&
Et
,
55
const
std::vector<int>&
EtError
);
56
void
addEx
(
const
std::vector<unsigned int>&
Ex
,
57
const
std::vector<int>&
ExError
);
58
void
addEy
(
const
std::vector<unsigned int>&
Ey
,
59
const
std::vector<int>&
EyError
);
60
62
int
crate
()
const
;
63
int
dataID
()
const
;
65
unsigned
int
Et
()
const
;
66
unsigned
int
Ex
()
const
;
67
unsigned
int
Ey
()
const
;
68
int
EtError
()
const
;
69
int
ExError
()
const
;
70
int
EyError
()
const
;
72
const
std::vector<unsigned int>&
EtVec
()
const
;
73
const
std::vector<unsigned int>&
ExVec
()
const
;
74
const
std::vector<unsigned int>&
EyVec
()
const
;
75
const
std::vector<int>&
EtErrorVec
()
const
;
76
const
std::vector<int>&
ExErrorVec
()
const
;
77
const
std::vector<int>&
EyErrorVec
()
const
;
78
int
peak
()
const
;
79
81
private
:
82
int
m_crate
{};
83
int
m_dataID
{};
84
int
m_peak
{};
85
std::vector <unsigned int>
m_Et
{0};
86
std::vector <unsigned int>
m_Ex
{0};
87
std::vector <unsigned int>
m_Ey
{0};
88
std::vector <int>
m_EtError
{0};
89
std::vector <int>
m_ExError
{0};
90
std::vector <int>
m_EyError
{0};
91
92
};
93
}
// end of namespace
94
95
#ifndef CMMEtSums_ClassDEF_H
96
#include "
TrigT1CaloEvent/CMMEtSums_ClassDEF.h
"
97
#endif
98
99
#endif
100
101
CMMEtSums_ClassDEF.h
CLASS_DEF.h
macros to associate a CLID to a type
Coordinate.h
Coordinate.h
Coordinate policies.
LVL1::CMMEtSums::Ex
unsigned int Ex() const
returns module Ex sum for peak sample
Definition
CMMEtSums.cxx:69
LVL1::CMMEtSums::peak
int peak() const
returns peak slice number
Definition
CMMEtSums.cxx:150
LVL1::CMMEtSums::EtErrorVec
const std::vector< int > & EtErrorVec() const
returns module ET errors
Definition
CMMEtSums.cxx:109
LVL1::CMMEtSums::m_EyError
std::vector< int > m_EyError
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:90
LVL1::CMMEtSums::addEx
void addEx(const std::vector< unsigned int > &Ex, const std::vector< int > &ExError)
Update Ex sum.
Definition
CMMEtSums.cxx:131
LVL1::CMMEtSums::DataIDs
DataIDs
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:35
LVL1::CMMEtSums::REMOTE
@ REMOTE
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:35
LVL1::CMMEtSums::TOTAL
@ TOTAL
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:35
LVL1::CMMEtSums::SUM_ET_MAP
@ SUM_ET_MAP
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:36
LVL1::CMMEtSums::MISSING_ET_SIG_MAP
@ MISSING_ET_SIG_MAP
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:36
LVL1::CMMEtSums::LOCAL
@ LOCAL
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:35
LVL1::CMMEtSums::MAXID
@ MAXID
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:36
LVL1::CMMEtSums::MISSING_ET_MAP
@ MISSING_ET_MAP
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:36
LVL1::CMMEtSums::ExErrorVec
const std::vector< int > & ExErrorVec() const
returns module Ex errors
Definition
CMMEtSums.cxx:114
LVL1::CMMEtSums::dataID
int dataID() const
returns data ID
Definition
CMMEtSums.cxx:59
LVL1::CMMEtSums::EyError
int EyError() const
returns module Ey sum error for peak sample
Definition
CMMEtSums.cxx:89
LVL1::CMMEtSums::m_peak
int m_peak
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:84
LVL1::CMMEtSums::addEt
void addEt(const std::vector< unsigned int > &Et, const std::vector< int > &EtError)
Add data to existing objects.
Definition
CMMEtSums.cxx:124
LVL1::CMMEtSums::crate
int crate() const
Data accessors.
Definition
CMMEtSums.cxx:54
LVL1::CMMEtSums::m_Ey
std::vector< unsigned int > m_Ey
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:87
LVL1::CMMEtSums::Et
unsigned int Et() const
For triggered time slice.
Definition
CMMEtSums.cxx:64
LVL1::CMMEtSums::m_Ex
std::vector< unsigned int > m_Ex
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:86
LVL1::CMMEtSums::EtVec
const std::vector< unsigned int > & EtVec() const
Access multi-slice data.
Definition
CMMEtSums.cxx:94
LVL1::CMMEtSums::addEy
void addEy(const std::vector< unsigned int > &Ey, const std::vector< int > &EyError)
Update Ey sum.
Definition
CMMEtSums.cxx:138
LVL1::CMMEtSums::ExVec
const std::vector< unsigned int > & ExVec() const
returns module Ex sum
Definition
CMMEtSums.cxx:99
LVL1::CMMEtSums::m_dataID
int m_dataID
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:83
LVL1::CMMEtSums::Ey
unsigned int Ey() const
returns module Ey sum for peak sample
Definition
CMMEtSums.cxx:74
LVL1::CMMEtSums::m_crate
int m_crate
Internal data.
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:82
LVL1::CMMEtSums::EyErrorVec
const std::vector< int > & EyErrorVec() const
returns module Ey errors
Definition
CMMEtSums.cxx:119
LVL1::CMMEtSums::setPeak
void setPeak(int peak)
In multi-slice readout must specify which slide is triggered BC.
Definition
CMMEtSums.cxx:145
LVL1::CMMEtSums::EyVec
const std::vector< unsigned int > & EyVec() const
returns module Ey sum
Definition
CMMEtSums.cxx:104
LVL1::CMMEtSums::m_Et
std::vector< unsigned int > m_Et
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:85
LVL1::CMMEtSums::ExError
int ExError() const
returns module Ex sum error for peak sample
Definition
CMMEtSums.cxx:84
LVL1::CMMEtSums::CMMEtSums
CMMEtSums()=default
Constructors.
LVL1::CMMEtSums::EtError
int EtError() const
returns module ET sum error for peak sample
Definition
CMMEtSums.cxx:79
LVL1::CMMEtSums::m_ExError
std::vector< int > m_ExError
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:89
LVL1::CMMEtSums::m_EtError
std::vector< int > m_EtError
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:88
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