ATLAS Offline Software
HLTCalo_L2CaloEMClustersMonitor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGCALOMONITORING_HLTCALO_L2CALOEMCLUSTERSMONITOR_H
6 #define TRIGCALOMONITORING_HLTCALO_L2CALOEMCLUSTERSMONITOR_H
7 
17 
19 
20 public:
21 
22  HLTCalo_L2CaloEMClustersMonitor( const std::string& name, ISvcLocator* pSvcLocator );
23  virtual StatusCode initialize() override;
24  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
25 
26 private:
27  float calculateDeltaR( float max_deltar, float eta_1, float phi_1, float eta_2, float phi_2 ) const;
28 
29  SG::ReadDecorHandleKey<xAOD::EventInfo> m_eventInfoDecorKey{this, "LArStatusFlag", "EventInfo.larFlags", "Key for EventInfo object"}; // to get data dependencies right
30  SG::ReadCondHandleKey<BunchCrossingCondData> m_bunchCrossingKey{this, "BunchCrossingKey", "BunchCrossingData", "Key BunchCrossing CDO" };
33  std::string m_hltChainsT0;
34  std::string m_HLT_cont_name;
35  std::string m_OFF_cont_name;
36  std::string m_mongroup_name;
38  float m_HLT_min_et;
39  float m_OFF_min_et;
40  std::vector<int> m_OFF_types;
42  std::vector<const xAOD::TrigEMCluster*> ifStepPassed(const std::string& chain) const;
43 };
44 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HLTCalo_L2CaloEMClustersMonitor::m_hltChainsT0
std::string m_hltChainsT0
Definition: HLTCalo_L2CaloEMClustersMonitor.h:33
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
HLTCalo_L2CaloEMClustersMonitor::m_OFF_cont_key
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_OFF_cont_key
Definition: HLTCalo_L2CaloEMClustersMonitor.h:32
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
HLTCalo_L2CaloEMClustersMonitor
Definition: HLTCalo_L2CaloEMClustersMonitor.h:18
HLTCalo_L2CaloEMClustersMonitor::m_mongroup_name
std::string m_mongroup_name
Definition: HLTCalo_L2CaloEMClustersMonitor.h:36
HLTCalo_L2CaloEMClustersMonitor::m_max_delta_r
float m_max_delta_r
Definition: HLTCalo_L2CaloEMClustersMonitor.h:41
HLTCalo_L2CaloEMClustersMonitor::ifStepPassed
std::vector< const xAOD::TrigEMCluster * > ifStepPassed(const std::string &chain) const
Definition: HLTCalo_L2CaloEMClustersMonitor.cxx:387
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
HLTCalo_L2CaloEMClustersMonitor::m_eventInfoDecorKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition: HLTCalo_L2CaloEMClustersMonitor.h:29
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
HLTCalo_L2CaloEMClustersMonitor::initialize
virtual StatusCode initialize() override
initialize
Definition: HLTCalo_L2CaloEMClustersMonitor.cxx:32
HLTCalo_L2CaloEMClustersMonitor::m_OFF_types
std::vector< int > m_OFF_types
Definition: HLTCalo_L2CaloEMClustersMonitor.h:40
HLTCalo_L2CaloEMClustersMonitor::m_OFF_cont_name
std::string m_OFF_cont_name
Definition: HLTCalo_L2CaloEMClustersMonitor.h:35
HLTCalo_L2CaloEMClustersMonitor::calculateDeltaR
float calculateDeltaR(float max_deltar, float eta_1, float phi_1, float eta_2, float phi_2) const
Definition: HLTCalo_L2CaloEMClustersMonitor.cxx:379
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
HLTCalo_L2CaloEMClustersMonitor::m_HLT_cont_name
std::string m_HLT_cont_name
Definition: HLTCalo_L2CaloEMClustersMonitor.h:34
HLTCalo_L2CaloEMClustersMonitor::m_OFF_min_et
float m_OFF_min_et
Definition: HLTCalo_L2CaloEMClustersMonitor.h:39
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
HLTCalo_L2CaloEMClustersMonitor::HLTCalo_L2CaloEMClustersMonitor
HLTCalo_L2CaloEMClustersMonitor(const std::string &name, ISvcLocator *pSvcLocator)
Definition: HLTCalo_L2CaloEMClustersMonitor.cxx:17
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< BunchCrossingCondData >
TrigEMClusterContainer.h
HLTCalo_L2CaloEMClustersMonitor::m_HLT_cont_key
SG::ReadHandleKey< xAOD::TrigEMClusterContainer > m_HLT_cont_key
Definition: HLTCalo_L2CaloEMClustersMonitor.h:31
CaloClusterContainer.h
BunchCrossingCondData.h
Replaces the BunchCrossing AlgTool used in run1/2.
HLTCalo_L2CaloEMClustersMonitor::m_bunchCrossingKey
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
Definition: HLTCalo_L2CaloEMClustersMonitor.h:30
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
FeatureRequestDescriptor.h
HLTCalo_L2CaloEMClustersMonitor::m_HLT_min_et
float m_HLT_min_et
Definition: HLTCalo_L2CaloEMClustersMonitor.h:38
HLTCalo_L2CaloEMClustersMonitor::m_HLT_high_et
float m_HLT_high_et
Definition: HLTCalo_L2CaloEMClustersMonitor.h:37
HLTCalo_L2CaloEMClustersMonitor::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: HLTCalo_L2CaloEMClustersMonitor.cxx:41