ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigCaloMonitoring
src
HLTCalo_TopoCaloClustersMonitor.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGCALOMONITORING_HLTCALO_TOPOCALOCLUSTERSMONITOR_H
6
#define TRIGCALOMONITORING_HLTCALO_TOPOCALOCLUSTERSMONITOR_H
7
8
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
9
#include "
AthenaMonitoringKernel/Monitored.h
"
10
#include "
StoreGate/ReadCondHandleKey.h
"
11
#include "
StoreGate/ReadHandleKey.h
"
12
#include "
StoreGate/ReadDecorHandleKey.h
"
13
#include "
xAODCaloEvent/CaloClusterContainer.h
"
14
#include "
LumiBlockData/BunchCrossingCondData.h
"
15
#include <math.h>
16
17
class
HLTCalo_TopoCaloClustersMonitor
:
public
AthMonitorAlgorithm
{
18
19
public
:
20
21
HLTCalo_TopoCaloClustersMonitor
(
const
std::string& name, ISvcLocator* pSvcLocator );
22
virtual
~HLTCalo_TopoCaloClustersMonitor
();
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx )
const override
;
25
virtual
float
calculateDeltaR
(
float
max_deltar,
float
eta_1,
float
phi_1,
float
eta_2,
float
phi_2 )
const
;
26
virtual
float
calculateDeltaPhi
(
float
phi_1,
float
phi_2 )
const
;
27
28
private
:
29
30
SG::ReadCondHandleKey<BunchCrossingCondData>
m_bunchCrossingKey
{
this
,
"BunchCrossingKey"
,
"BunchCrossingData"
,
"Key BunchCrossing CDO"
};
31
SG::ReadDecorHandleKey<xAOD::EventInfo>
m_eventInfoDecorKey
{
this
,
"LArStatusFlag"
,
"EventInfo.larFlags"
,
"Key for EventInfo object"
};
32
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_HLT_cont_key
;
33
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_OFF_cont_key
;
34
std::string
m_hltChainsT0
;
35
std::string
m_HLT_cont_name
;
36
std::string
m_OFF_cont_name
;
37
std::string
m_mongroup_name
;
38
float
m_HLT_high_et
;
39
float
m_HLT_min_et
;
40
float
m_OFF_min_et
;
41
std::vector<int>
m_HLT_types
;
42
std::vector<int>
m_OFF_types
;
43
bool
m_match_types
;
44
bool
m_doLC
;
45
float
m_max_delta_r
;
46
std::vector<const xAOD::CaloCluster*>
ifStepPassed
(
const
std::string& chain)
const
;
47
};
48
#endif
AthMonitorAlgorithm.h
BunchCrossingCondData.h
Replaces the BunchCrossing AlgTool used in run1/2.
CaloClusterContainer.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ReadCondHandleKey.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
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
HLTCalo_TopoCaloClustersMonitor::m_HLT_min_et
float m_HLT_min_et
Definition
HLTCalo_TopoCaloClustersMonitor.h:39
HLTCalo_TopoCaloClustersMonitor::m_HLT_cont_key
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_HLT_cont_key
Definition
HLTCalo_TopoCaloClustersMonitor.h:32
HLTCalo_TopoCaloClustersMonitor::m_OFF_types
std::vector< int > m_OFF_types
Definition
HLTCalo_TopoCaloClustersMonitor.h:42
HLTCalo_TopoCaloClustersMonitor::m_doLC
bool m_doLC
Definition
HLTCalo_TopoCaloClustersMonitor.h:44
HLTCalo_TopoCaloClustersMonitor::m_HLT_types
std::vector< int > m_HLT_types
Definition
HLTCalo_TopoCaloClustersMonitor.h:41
HLTCalo_TopoCaloClustersMonitor::m_bunchCrossingKey
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
Definition
HLTCalo_TopoCaloClustersMonitor.h:30
HLTCalo_TopoCaloClustersMonitor::calculateDeltaPhi
virtual float calculateDeltaPhi(float phi_1, float phi_2) const
Definition
HLTCalo_TopoCaloClustersMonitor.cxx:472
HLTCalo_TopoCaloClustersMonitor::m_hltChainsT0
std::string m_hltChainsT0
Definition
HLTCalo_TopoCaloClustersMonitor.h:34
HLTCalo_TopoCaloClustersMonitor::HLTCalo_TopoCaloClustersMonitor
HLTCalo_TopoCaloClustersMonitor(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HLTCalo_TopoCaloClustersMonitor.cxx:18
HLTCalo_TopoCaloClustersMonitor::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition
HLTCalo_TopoCaloClustersMonitor.cxx:49
HLTCalo_TopoCaloClustersMonitor::calculateDeltaR
virtual float calculateDeltaR(float max_deltar, float eta_1, float phi_1, float eta_2, float phi_2) const
Definition
HLTCalo_TopoCaloClustersMonitor.cxx:464
HLTCalo_TopoCaloClustersMonitor::ifStepPassed
std::vector< const xAOD::CaloCluster * > ifStepPassed(const std::string &chain) const
Definition
HLTCalo_TopoCaloClustersMonitor.cxx:476
HLTCalo_TopoCaloClustersMonitor::~HLTCalo_TopoCaloClustersMonitor
virtual ~HLTCalo_TopoCaloClustersMonitor()
Definition
HLTCalo_TopoCaloClustersMonitor.cxx:36
HLTCalo_TopoCaloClustersMonitor::m_HLT_cont_name
std::string m_HLT_cont_name
Definition
HLTCalo_TopoCaloClustersMonitor.h:35
HLTCalo_TopoCaloClustersMonitor::m_eventInfoDecorKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition
HLTCalo_TopoCaloClustersMonitor.h:31
HLTCalo_TopoCaloClustersMonitor::m_max_delta_r
float m_max_delta_r
Definition
HLTCalo_TopoCaloClustersMonitor.h:45
HLTCalo_TopoCaloClustersMonitor::m_OFF_min_et
float m_OFF_min_et
Definition
HLTCalo_TopoCaloClustersMonitor.h:40
HLTCalo_TopoCaloClustersMonitor::m_HLT_high_et
float m_HLT_high_et
Definition
HLTCalo_TopoCaloClustersMonitor.h:38
HLTCalo_TopoCaloClustersMonitor::m_OFF_cont_key
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_OFF_cont_key
Definition
HLTCalo_TopoCaloClustersMonitor.h:33
HLTCalo_TopoCaloClustersMonitor::m_OFF_cont_name
std::string m_OFF_cont_name
Definition
HLTCalo_TopoCaloClustersMonitor.h:36
HLTCalo_TopoCaloClustersMonitor::initialize
virtual StatusCode initialize() override
initialize
Definition
HLTCalo_TopoCaloClustersMonitor.cxx:39
HLTCalo_TopoCaloClustersMonitor::m_match_types
bool m_match_types
Definition
HLTCalo_TopoCaloClustersMonitor.h:43
HLTCalo_TopoCaloClustersMonitor::m_mongroup_name
std::string m_mongroup_name
Definition
HLTCalo_TopoCaloClustersMonitor.h:37
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0