ATLAS Offline Software
Loading...
Searching...
No Matches
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
19public:
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
28private:
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;
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
Replaces the BunchCrossing AlgTool used in run1/2.
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_HLT_cont_key
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
virtual float calculateDeltaPhi(float phi_1, float phi_2) const
HLTCalo_TopoCaloClustersMonitor(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
virtual float calculateDeltaR(float max_deltar, float eta_1, float phi_1, float eta_2, float phi_2) const
std::vector< const xAOD::CaloCluster * > ifStepPassed(const std::string &chain) const
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_OFF_cont_key
virtual StatusCode initialize() override
initialize
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.