ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1Monitoring
src
L1CaloCTPMonitorAlgorithm.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGT1CALOMONITORING_L1CALOCTPMONITORALGORITHM_H
5
#define TRIGT1CALOMONITORING_L1CALOCTPMONITORALGORITHM_H
6
7
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
8
#include "
AthenaMonitoringKernel/Monitored.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
11
#include "
xAODTrigL1Calo/CMXCPHitsContainer.h
"
12
#include "
xAODTrigL1Calo/CMXJetHitsContainer.h
"
13
#include "
xAODTrigL1Calo/CMXEtSumsContainer.h
"
14
15
#include "
TrigT1Result/CTP_RDO.h
"
16
#include "
TrigT1Result/CTP_Decoder.h
"
17
#include "
TrigT1Interfaces/FrontPanelCTP.h
"
18
#include "
TrigT1Interfaces/TrigT1StoreGateKeys.h
"
19
20
#include "
TrigConfInterfaces/ILVL1ConfigSvc.h
"
21
#include "
TrigT1CaloMonitoringTools/ITrigT1CaloMonErrorTool.h
"
22
#include "
TrigT1Interfaces/TrigT1CaloDefs.h
"
23
#include "
TrigConfL1Data/CTPConfig.h
"
24
#include "
TrigConfL1Data/L1DataDef.h
"
25
#include "
TrigConfL1Data/Menu.h
"
26
#include "
TrigConfL1Data/TIP.h
"
27
#include "
TrigConfL1Data/TriggerThreshold.h
"
28
#include "
TrigConfData/L1Menu.h
"
29
#include "
TrigConfL1Data/PIT.h
"
30
#include "
TrigConfInterfaces/ITrigConfigSvc.h
"
31
32
37
38
class
L1CaloCTPMonitorAlgorithm
:
public
AthMonitorAlgorithm
{
39
public
:
L1CaloCTPMonitorAlgorithm
(
const
std::string& name, ISvcLocator* pSvcLocator );
40
virtual
~L1CaloCTPMonitorAlgorithm
()=
default
;
41
virtual
StatusCode
initialize
()
override
;
42
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx )
const override
;
43
44
private
:
45
46
// to deal with L1 menu
47
ServiceHandle<TrigConf::ITrigConfigSvc>
m_configSvc
{
this
,
"TrigConfigSvc"
,
"TrigConf::xAODConfigSvc/xAODConfigSvc"
};
48
//ServiceHandle<TrigConf::ITrigConfigSvc> m_configSvc{this, "TrigConfigSvc", "TrigConf::TrigConfigSvc/TrigConfigSvc"};
49
const
TrigConf::L1Menu
* getL1Menu(
const
EventContext& ctx)
const
;
50
52
enum
L1CaloCTPHitTypes
{
EM1Type
,
EM2Type
,
// EM1, EM2 cables
53
Tau1Type
,
Tau2Type
,
// TAU1, TAU2 cables
54
Jet3BitType
,
Jet2BitType
,
// JET1, JET2 cables
55
TEFullEtaType
,
XEFullEtaType
,
XSType
,
// EN1 cable
56
TERestrictedEtaType
,
XERestrictedEtaType
,
NumberOfHitTypes
};
// EN2 cable
57
59
void
compare(
const
CTP_BC
& bunch,
int
hits,
int
totalBits,
int
offset, L1CaloCTPHitTypes
type
,
const
EventContext& ctx)
const
;
60
62
//void setLabels(LWHist* hist, bool xAxis = true);
63
64
StringProperty
m_packageName
{
this
,
"PackageName"
,
"L1CaloCTPMonitor"
,
"group name for histograming"
};
65
66
// container keys including steering parameter and description
67
SG::ReadHandleKey<CTP_RDO>
m_ctpRdoKey
{
this
,
"CTPRDOLocation"
,
LVL1CTP::DEFAULT_RDOOutputLocation
,
"Key of the CTP RDO object"
};
68
SG::ReadHandleKey<xAOD::CMXJetHitsContainer>
m_cmxJetHitsLocation
{
this
,
"CMXJetHitsLocation"
,
LVL1::TrigT1CaloDefs::CMXJetHitsLocation
,
"CMXJetHits container"
};
69
SG::ReadHandleKey<xAOD::CMXEtSumsContainer>
m_cmxEtSumsLocation
{
this
,
"CMXEtSumsLocation"
,
LVL1::TrigT1CaloDefs::CMXEtSumsLocation
,
"CMXEtSums container"
};
70
SG::ReadHandleKey<xAOD::CMXCPHitsContainer>
m_cmxCpHitsLocation
{
this
,
"CMXCPHitsLocation"
,
LVL1::TrigT1CaloDefs::CMXCPHitsLocation
,
"CMXCPHits container"
};
71
72
SG::ReadHandleKey<TrigConf::L1Menu>
m_L1MenuKey
{
this
,
"L1TriggerMenu"
,
"DetectorStore+L1TriggerMenu"
,
"L1 Menu"
};
73
74
// Event veto error tool
75
ToolHandle<LVL1::ITrigT1CaloMonErrorTool>
m_errorTool
;
76
77
};
78
#endif
AthMonitorAlgorithm.h
CMXCPHitsContainer.h
CMXEtSumsContainer.h
CMXJetHitsContainer.h
CTPConfig.h
CTP_Decoder.h
CTP_RDO.h
FrontPanelCTP.h
ILVL1ConfigSvc.h
ITrigConfigSvc.h
ITrigT1CaloMonErrorTool.h
L1DataDef.h
L1Menu.h
Menu.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
PIT.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TIP.h
TrigT1CaloDefs.h
TrigT1StoreGateKeys.h
TriggerThreshold.h
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
CTP_BC
Definition
CTP_Decoder.h:17
L1CaloCTPMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition
L1CaloCTPMonitorAlgorithm.cxx:43
L1CaloCTPMonitorAlgorithm::m_L1MenuKey
SG::ReadHandleKey< TrigConf::L1Menu > m_L1MenuKey
Definition
L1CaloCTPMonitorAlgorithm.h:72
L1CaloCTPMonitorAlgorithm::~L1CaloCTPMonitorAlgorithm
virtual ~L1CaloCTPMonitorAlgorithm()=default
L1CaloCTPMonitorAlgorithm::m_ctpRdoKey
SG::ReadHandleKey< CTP_RDO > m_ctpRdoKey
Definition
L1CaloCTPMonitorAlgorithm.h:67
L1CaloCTPMonitorAlgorithm::L1CaloCTPHitTypes
L1CaloCTPHitTypes
Hit types for binning.
Definition
L1CaloCTPMonitorAlgorithm.h:52
L1CaloCTPMonitorAlgorithm::XEFullEtaType
@ XEFullEtaType
Definition
L1CaloCTPMonitorAlgorithm.h:55
L1CaloCTPMonitorAlgorithm::TERestrictedEtaType
@ TERestrictedEtaType
Definition
L1CaloCTPMonitorAlgorithm.h:56
L1CaloCTPMonitorAlgorithm::Jet2BitType
@ Jet2BitType
Definition
L1CaloCTPMonitorAlgorithm.h:54
L1CaloCTPMonitorAlgorithm::Tau2Type
@ Tau2Type
Definition
L1CaloCTPMonitorAlgorithm.h:53
L1CaloCTPMonitorAlgorithm::NumberOfHitTypes
@ NumberOfHitTypes
Definition
L1CaloCTPMonitorAlgorithm.h:56
L1CaloCTPMonitorAlgorithm::Jet3BitType
@ Jet3BitType
Definition
L1CaloCTPMonitorAlgorithm.h:54
L1CaloCTPMonitorAlgorithm::TEFullEtaType
@ TEFullEtaType
Definition
L1CaloCTPMonitorAlgorithm.h:55
L1CaloCTPMonitorAlgorithm::EM2Type
@ EM2Type
Definition
L1CaloCTPMonitorAlgorithm.h:52
L1CaloCTPMonitorAlgorithm::XSType
@ XSType
Definition
L1CaloCTPMonitorAlgorithm.h:55
L1CaloCTPMonitorAlgorithm::EM1Type
@ EM1Type
Definition
L1CaloCTPMonitorAlgorithm.h:52
L1CaloCTPMonitorAlgorithm::Tau1Type
@ Tau1Type
Definition
L1CaloCTPMonitorAlgorithm.h:53
L1CaloCTPMonitorAlgorithm::XERestrictedEtaType
@ XERestrictedEtaType
Definition
L1CaloCTPMonitorAlgorithm.h:56
L1CaloCTPMonitorAlgorithm::m_cmxEtSumsLocation
SG::ReadHandleKey< xAOD::CMXEtSumsContainer > m_cmxEtSumsLocation
Definition
L1CaloCTPMonitorAlgorithm.h:69
L1CaloCTPMonitorAlgorithm::m_cmxJetHitsLocation
SG::ReadHandleKey< xAOD::CMXJetHitsContainer > m_cmxJetHitsLocation
Definition
L1CaloCTPMonitorAlgorithm.h:68
L1CaloCTPMonitorAlgorithm::m_cmxCpHitsLocation
SG::ReadHandleKey< xAOD::CMXCPHitsContainer > m_cmxCpHitsLocation
Definition
L1CaloCTPMonitorAlgorithm.h:70
L1CaloCTPMonitorAlgorithm::m_configSvc
ServiceHandle< TrigConf::ITrigConfigSvc > m_configSvc
Definition
L1CaloCTPMonitorAlgorithm.h:47
L1CaloCTPMonitorAlgorithm::m_errorTool
ToolHandle< LVL1::ITrigT1CaloMonErrorTool > m_errorTool
Definition
L1CaloCTPMonitorAlgorithm.h:75
L1CaloCTPMonitorAlgorithm::m_packageName
StringProperty m_packageName
Bin labels for summary plots.
Definition
L1CaloCTPMonitorAlgorithm.h:64
LVL1::TrigT1CaloDefs::CMXJetHitsLocation
static const std::string CMXJetHitsLocation
Definition
TrigT1CaloDefs.h:56
LVL1::TrigT1CaloDefs::CMXEtSumsLocation
static const std::string CMXEtSumsLocation
Definition
TrigT1CaloDefs.h:57
LVL1::TrigT1CaloDefs::CMXCPHitsLocation
static const std::string CMXCPHitsLocation
Definition
TrigT1CaloDefs.h:59
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
TrigConf::L1Menu
L1 menu configuration.
Definition
L1Menu.h:29
L1CaloCTPMonitorAlgorithm
Definition
L1CaloCTPMonitorAlgorithm.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
type
Generated on
for ATLAS Offline Software by
1.17.0