ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1Monitoring
src
L1CaloL1TopoMonitorAlgorithm.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGT1CALOMONITORING_L1CALOL1TOPOMONITORALGORITHM_H
5
#define TRIGT1CALOMONITORING_L1CALOL1TOPOMONITORALGORITHM_H
6
7
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
8
#include "
AthenaMonitoringKernel/Monitored.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
11
#include "
xAODTrigL1Calo/CMXCPTobContainer.h
"
12
#include "
xAODTrigL1Calo/CMXJetTobContainer.h
"
13
#include "
xAODTrigL1Calo/L1TopoRawDataContainer.h
"
14
#include "
TrigT1Result/CTP_RDO.h
"
15
#include "
TrigT1Result/RoIBResult.h
"
16
#include "
L1TopoRDO/L1TopoRDOCollection.h
"
17
#include "
L1TopoRDO/Header.h
"
18
#include "
L1TopoRDO/L1TopoTOB.h
"
19
#include "
TrigT1Interfaces/FrontPanelCTP.h
"
20
#include "
TrigT1Interfaces/TrigT1StoreGateKeys.h
"
21
#include "
TrigT1Interfaces/TrigT1CaloDefs.h
"
22
28
29
class
L1CaloL1TopoMonitorAlgorithm
:
public
AthMonitorAlgorithm
{
30
public
:
L1CaloL1TopoMonitorAlgorithm
(
const
std::string& name, ISvcLocator* pSvcLocator );
31
virtual
~L1CaloL1TopoMonitorAlgorithm
()=
default
;
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx )
const override
;
34
35
private
:
36
void
jem2Coord
(
const
int
crate,
const
int
jem,
37
const
int
frame,
const
int
location,
38
int
&
x
,
int
&
y
,
double
&
eta
,
double
&
phi
)
const
;
39
void
cpm2Coord
(
const
int
crate,
const
int
cpm,
40
const
int
chip,
const
int
location,
41
int
&
x
,
int
&
y
,
double
&
eta
,
double
&
phi
)
const
;
42
43
StringProperty
m_packageName
{
this
,
"PackageName"
,
"L1CaloL1TopoMonitor"
,
44
"group name for histograming"
};
45
46
enum class
SummaryErrors
:
int
{
47
CALO_CONV=0, NO_CMX, DAQ_CONV,
48
NO_DAQ, ROI_CONV, F_CRC, PAYL_CRC, CMX_MATCH, NUMBEROFBITS
49
};
50
enum
TOB_TYPE
{
JETL_TOB
=0,
JETS_TOB
,
TAU_TOB
,
EM_TOB
,
MU_TOB
,
TOB_TYPES
};
51
static
const
int
MAXTOBS
=30;
52
53
// container keys including steering parameter and description
54
SG::ReadHandleKey<CTP_RDO>
m_ctpRdoKey
{
this
,
"CTPRDOLocation"
,
55
LVL1CTP::DEFAULT_RDOOutputLocation
,
"Key of the CTP RDO object"
};
56
SG::ReadHandleKey<xAOD::CMXCPTobContainer>
m_cmxCpTobLocation
{
this
,
57
"CMXCPTobLocation"
,
LVL1::TrigT1CaloDefs::CMXCPTobLocation
,
58
"CMXCPTob container"
};
59
SG::ReadHandleKey<xAOD::CMXJetTobContainer>
m_cmxJetTobLocation
{
this
,
60
"CMXJetTobLocation"
,
LVL1::TrigT1CaloDefs::CMXJetTobLocation
,
61
"CMXJetTob container"
};
62
SG::ReadHandleKey<xAOD::L1TopoRawDataContainer>
m_l1TopoKey
{
this
,
63
"L1TopoRawData"
,
"L1TopoRawData"
,
64
"Key of the L1Topo DAQ object"
};
65
};
66
#endif
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
AthMonitorAlgorithm.h
CMXCPTobContainer.h
CMXJetTobContainer.h
CTP_RDO.h
FrontPanelCTP.h
L1TopoRDOCollection.h
L1TopoRawDataContainer.h
L1TopoTOB.h
Header.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
RoIBResult.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrigT1CaloDefs.h
TrigT1StoreGateKeys.h
y
#define y
x
#define x
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
L1CaloL1TopoMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition
L1CaloL1TopoMonitorAlgorithm.cxx:46
L1CaloL1TopoMonitorAlgorithm::MAXTOBS
static const int MAXTOBS
Definition
L1CaloL1TopoMonitorAlgorithm.h:51
L1CaloL1TopoMonitorAlgorithm::TOB_TYPE
TOB_TYPE
Definition
L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::EM_TOB
@ EM_TOB
Definition
L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::JETL_TOB
@ JETL_TOB
Definition
L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::TAU_TOB
@ TAU_TOB
Definition
L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::TOB_TYPES
@ TOB_TYPES
Definition
L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::JETS_TOB
@ JETS_TOB
Definition
L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::MU_TOB
@ MU_TOB
Definition
L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::SummaryErrors
SummaryErrors
Definition
L1CaloL1TopoMonitorAlgorithm.h:46
L1CaloL1TopoMonitorAlgorithm::m_ctpRdoKey
SG::ReadHandleKey< CTP_RDO > m_ctpRdoKey
Definition
L1CaloL1TopoMonitorAlgorithm.h:54
L1CaloL1TopoMonitorAlgorithm::~L1CaloL1TopoMonitorAlgorithm
virtual ~L1CaloL1TopoMonitorAlgorithm()=default
L1CaloL1TopoMonitorAlgorithm::cpm2Coord
void cpm2Coord(const int crate, const int cpm, const int chip, const int location, int &x, int &y, double &eta, double &phi) const
Definition
L1CaloL1TopoMonitorAlgorithm.cxx:512
L1CaloL1TopoMonitorAlgorithm::m_l1TopoKey
SG::ReadHandleKey< xAOD::L1TopoRawDataContainer > m_l1TopoKey
Definition
L1CaloL1TopoMonitorAlgorithm.h:62
L1CaloL1TopoMonitorAlgorithm::jem2Coord
void jem2Coord(const int crate, const int jem, const int frame, const int location, int &x, int &y, double &eta, double &phi) const
Definition
L1CaloL1TopoMonitorAlgorithm.cxx:498
L1CaloL1TopoMonitorAlgorithm::m_packageName
StringProperty m_packageName
Definition
L1CaloL1TopoMonitorAlgorithm.h:43
L1CaloL1TopoMonitorAlgorithm::m_cmxJetTobLocation
SG::ReadHandleKey< xAOD::CMXJetTobContainer > m_cmxJetTobLocation
Definition
L1CaloL1TopoMonitorAlgorithm.h:59
L1CaloL1TopoMonitorAlgorithm::m_cmxCpTobLocation
SG::ReadHandleKey< xAOD::CMXCPTobContainer > m_cmxCpTobLocation
Definition
L1CaloL1TopoMonitorAlgorithm.h:56
LVL1::TrigT1CaloDefs::CMXJetTobLocation
static const std::string CMXJetTobLocation
Definition
TrigT1CaloDefs.h:55
LVL1::TrigT1CaloDefs::CMXCPTobLocation
static const std::string CMXCPTobLocation
Definition
TrigT1CaloDefs.h:58
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
L1CaloL1TopoMonitorAlgorithm
Definition
L1CaloL1TopoMonitorAlgorithm.py:1
LVL1CTP::DEFAULT_RDOOutputLocation
static const std::string DEFAULT_RDOOutputLocation
location of CTP RDO output in StoreGate
Definition
TrigT1StoreGateKeys.h:62
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0