ATLAS Offline Software
Loading...
Searching...
No Matches
METMonitorAlgorithm.h
Go to the documentation of this file.
1/*
2 # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef METMONITORALGORITHM_H
5#define METMONITORALGORITHM_H
6
7
9
10#include "xAODJet/JetContainer.h"
11
13
15
16// Jet cleaning
18
20public:
21 METMonitoringAlg( const std::string& name, ISvcLocator* pSvcLocator );
22 virtual ~METMonitoringAlg();
23 StatusCode initialize() override;
24 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
25
26private:
27 SG::ReadHandleKey<xAOD::MissingETContainer> m_metContainerKey { this, "METContainer", "MET_Reference_AntiKt4EMTopo", "Name of MET container" };
28 SG::ReadHandleKey<xAOD::MissingETContainer> m_metCaloContainerKey { this, "METCaloContainer", "MET_Calo", "Name of METCalo container" };
29 SG::ReadHandleKey<xAOD::MissingETContainer> m_metAKt4EMTopoContainerKey { this, "METAntiKt4EMTopoContainer", "MET_Reference_AntiKt4EMTopo", "Name of MET container" };
30
31
32 Gaudi::Property<std::string> m_metTotalKey { this, "metTotalKey", "FinalTrk", "Subkey for total MET" };
33
34 SG::ReadHandleKey<xAOD::JetContainer> m_jetContainerKey {this,"JetContainerName","AntiKt4EMTopoJets","jet container name"};
35
36
37 Gaudi::Property<std::vector<std::string>> m_calStrings {this, "METCaloKeys", {}, "MET calo components to plot" };
38
39
40 Gaudi::Property<std::vector<std::string>> m_metKeys {this,"metKeys",{ }, "MET components to plot"};
41
42 Gaudi::Property<bool> m_alltrigger {this,"alltrigger",false};
43 Gaudi::Property<bool> m_dometcut {this,"dometcut",false};
44 Gaudi::Property<bool> m_doBadJets {this,"DoBadJets",false};
45 Gaudi::Property<double> m_metcut {this,"metcut", 80.};
46 Gaudi::Property<bool> m_dotrig {this,"dotrigger",false};
47 Gaudi::Property<bool> m_doJetCleaning{this, "DoJetCleaning", false, ""};
48 ToolHandle<IJetSelector> m_jetCleaningTool{this, "JetCleaningTool", "", ""};
49 bool isGoodEvent( const EventContext& ctx ) const;
50
51};
52#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< std::string > m_metTotalKey
Gaudi::Property< double > m_metcut
Gaudi::Property< bool > m_alltrigger
SG::ReadHandleKey< xAOD::MissingETContainer > m_metAKt4EMTopoContainerKey
METMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator)
bool isGoodEvent(const EventContext &ctx) const
SG::ReadHandleKey< xAOD::MissingETContainer > m_metContainerKey
Gaudi::Property< bool > m_doJetCleaning
ToolHandle< IJetSelector > m_jetCleaningTool
Gaudi::Property< std::vector< std::string > > m_metKeys
Gaudi::Property< bool > m_doBadJets
Gaudi::Property< std::vector< std::string > > m_calStrings
SG::ReadHandleKey< xAOD::MissingETContainer > m_metCaloContainerKey
Gaudi::Property< bool > m_dotrig
Gaudi::Property< bool > m_dometcut
StatusCode initialize() override
initialize
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
Property holding a SG store/key/clid from which a ReadHandle is made.