ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloMonitoring
src
EfexInputMonitorAlgorithm.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGT1CALOMONITORING_EFEXINPUTMONITORALGORITHM_H
5
#define TRIGT1CALOMONITORING_EFEXINPUTMONITORALGORITHM_H
6
7
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
8
#include "
AthenaMonitoringKernel/Monitored.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
11
#include "
LArRecConditions/LArBadChannelCont.h
"
12
//
13
#include "
xAODTrigL1Calo/eFexTowerContainer.h
"
14
#include "
xAODTrigL1Calo/eFexTower.h
"
15
16
#include "
LArCabling/LArOnOffIdMapping.h
"
17
18
19
20
class
EfexInputMonitorAlgorithm
:
public
AthMonitorAlgorithm
{
21
public
:
EfexInputMonitorAlgorithm
(
const
std::string& name, ISvcLocator* pSvcLocator );
22
virtual
~EfexInputMonitorAlgorithm
()=
default
;
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx )
const override
;
25
26
private
:
27
28
StringProperty
m_packageName
{
this
,
"PackageName"
,
"EfexInputMonitor"
,
"group name for histograming"
};
29
30
// container keys including steering parameter and description
31
SG::ReadHandleKey<xAOD::eFexTowerContainer>
m_eFexTowerContainerKey
{
this
,
"eFexTowerContainer"
,
"L1_eFexDataTowers"
,
"SG key of the input eFex Tower container"
};
32
SG::ReadHandleKey<xAOD::eFexTowerContainer>
m_eFexTowerContainerRefKey
{
this
,
"eFexTowerContainerRef"
,
"L1_eFexEmulatedTowers"
,
"SG key of the towers to use as a reference (defaults to emulated towers built from sCells and tTowers"
};
33
34
std::map<std::pair<std::pair<int,int>,
int
>,std::pair<std::set<unsigned long long>,std::string>>
m_scMap
;
35
36
// some counters to avoid filling debugging histograms more than 20 times
37
mutable
std::atomic<size_t>
m_debugEvtCount
= 0;
38
mutable
std::atomic<size_t>
m_debugEvtCount2
= 0;
39
40
41
SG::ReadCondHandleKey<LArBadChannelCont>
m_bcContKey
{
this
,
"LArMaskedChannelKey"
,
"LArMaskedSC"
,
"Key of the OTF-Masked SC"
};
42
43
};
44
#endif
AthMonitorAlgorithm.h
LArBadChannelCont.h
LArOnOffIdMapping.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
EfexInputMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition
EfexInputMonitorAlgorithm.cxx:66
EfexInputMonitorAlgorithm::m_packageName
StringProperty m_packageName
Definition
EfexInputMonitorAlgorithm.h:28
EfexInputMonitorAlgorithm::~EfexInputMonitorAlgorithm
virtual ~EfexInputMonitorAlgorithm()=default
EfexInputMonitorAlgorithm::m_eFexTowerContainerKey
SG::ReadHandleKey< xAOD::eFexTowerContainer > m_eFexTowerContainerKey
Definition
EfexInputMonitorAlgorithm.h:31
EfexInputMonitorAlgorithm::m_scMap
std::map< std::pair< std::pair< int, int >, int >, std::pair< std::set< unsigned long long >, std::string > > m_scMap
Definition
EfexInputMonitorAlgorithm.h:34
EfexInputMonitorAlgorithm::m_bcContKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Definition
EfexInputMonitorAlgorithm.h:41
EfexInputMonitorAlgorithm::m_eFexTowerContainerRefKey
SG::ReadHandleKey< xAOD::eFexTowerContainer > m_eFexTowerContainerRefKey
Definition
EfexInputMonitorAlgorithm.h:32
EfexInputMonitorAlgorithm::m_debugEvtCount2
std::atomic< size_t > m_debugEvtCount2
Definition
EfexInputMonitorAlgorithm.h:38
EfexInputMonitorAlgorithm::m_debugEvtCount
std::atomic< size_t > m_debugEvtCount
Definition
EfexInputMonitorAlgorithm.h:37
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
eFexTowerContainer.h
eFexTower.h
EfexInputMonitorAlgorithm
Definition
EfexInputMonitorAlgorithm.py:1
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0