ATLAS Offline Software
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 
15 #include <math.h>
16 
18 
19 public:
20 
21  HLTCalo_TopoCaloClustersMonitor( const std::string& name, ISvcLocator* pSvcLocator );
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"};
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;
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;
44  bool m_doLC;
46  std::vector<const xAOD::CaloCluster*> ifStepPassed(const std::string& chain) const;
47 };
48 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HLTCalo_TopoCaloClustersMonitor::m_max_delta_r
float m_max_delta_r
Definition: HLTCalo_TopoCaloClustersMonitor.h:45
HLTCalo_TopoCaloClustersMonitor::m_match_types
bool m_match_types
Definition: HLTCalo_TopoCaloClustersMonitor.h:43
HLTCalo_TopoCaloClustersMonitor::m_OFF_types
std::vector< int > m_OFF_types
Definition: HLTCalo_TopoCaloClustersMonitor.h:42
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
HLTCalo_TopoCaloClustersMonitor::m_hltChainsT0
std::string m_hltChainsT0
Definition: HLTCalo_TopoCaloClustersMonitor.h:34
HLTCalo_TopoCaloClustersMonitor::m_OFF_min_et
float m_OFF_min_et
Definition: HLTCalo_TopoCaloClustersMonitor.h:40
SG::ReadHandleKey< xAOD::CaloClusterContainer >
HLTCalo_TopoCaloClustersMonitor::m_HLT_types
std::vector< int > m_HLT_types
Definition: HLTCalo_TopoCaloClustersMonitor.h:41
HLTCalo_TopoCaloClustersMonitor::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: HLTCalo_TopoCaloClustersMonitor.cxx:48
HLTCalo_TopoCaloClustersMonitor::m_mongroup_name
std::string m_mongroup_name
Definition: HLTCalo_TopoCaloClustersMonitor.h:37
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
HLTCalo_TopoCaloClustersMonitor::~HLTCalo_TopoCaloClustersMonitor
virtual ~HLTCalo_TopoCaloClustersMonitor()
Definition: HLTCalo_TopoCaloClustersMonitor.cxx:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
HLTCalo_TopoCaloClustersMonitor::calculateDeltaPhi
virtual float calculateDeltaPhi(float phi_1, float phi_2) const
Definition: HLTCalo_TopoCaloClustersMonitor.cxx:465
HLTCalo_TopoCaloClustersMonitor::m_HLT_cont_key
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_HLT_cont_key
Definition: HLTCalo_TopoCaloClustersMonitor.h:32
HLTCalo_TopoCaloClustersMonitor
Definition: HLTCalo_TopoCaloClustersMonitor.h:17
HLTCalo_TopoCaloClustersMonitor::m_OFF_cont_name
std::string m_OFF_cont_name
Definition: HLTCalo_TopoCaloClustersMonitor.h:36
HLTCalo_TopoCaloClustersMonitor::m_doLC
bool m_doLC
Definition: HLTCalo_TopoCaloClustersMonitor.h:44
HLTCalo_TopoCaloClustersMonitor::initialize
virtual StatusCode initialize() override
initialize
Definition: HLTCalo_TopoCaloClustersMonitor.cxx:38
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
HLTCalo_TopoCaloClustersMonitor::m_HLT_min_et
float m_HLT_min_et
Definition: HLTCalo_TopoCaloClustersMonitor.h:39
HLTCalo_TopoCaloClustersMonitor::HLTCalo_TopoCaloClustersMonitor
HLTCalo_TopoCaloClustersMonitor(const std::string &name, ISvcLocator *pSvcLocator)
Definition: HLTCalo_TopoCaloClustersMonitor.cxx:17
ReadCondHandleKey.h
HLTCalo_TopoCaloClustersMonitor::m_HLT_high_et
float m_HLT_high_et
Definition: HLTCalo_TopoCaloClustersMonitor.h:38
HLTCalo_TopoCaloClustersMonitor::ifStepPassed
std::vector< const xAOD::CaloCluster * > ifStepPassed(const std::string &chain) const
Definition: HLTCalo_TopoCaloClustersMonitor.cxx:469
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
HLTCalo_TopoCaloClustersMonitor::m_bunchCrossingKey
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
Definition: HLTCalo_TopoCaloClustersMonitor.h:30
HLTCalo_TopoCaloClustersMonitor::m_eventInfoDecorKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition: HLTCalo_TopoCaloClustersMonitor.h:31
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:457
SG::ReadCondHandleKey< BunchCrossingCondData >
HLTCalo_TopoCaloClustersMonitor::m_HLT_cont_name
std::string m_HLT_cont_name
Definition: HLTCalo_TopoCaloClustersMonitor.h:35
CaloClusterContainer.h
BunchCrossingCondData.h
Replaces the BunchCrossing AlgTool used in run1/2.
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
HLTCalo_TopoCaloClustersMonitor::m_OFF_cont_key
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_OFF_cont_key
Definition: HLTCalo_TopoCaloClustersMonitor.h:33