ATLAS Offline Software
Loading...
Searching...
No Matches
tauMonitorAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TAUMONITORALGORITHM_H
6#define TAUMONITORALGORITHM_H
7
10
14
16
17
19public:
20 tauMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
21 virtual ~tauMonitorAlgorithm();
22 virtual StatusCode initialize() override;
23 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
24private:
25 std::vector<int> m_abGroups1;
26 std::vector<std::vector<int>> m_abGroups2;
27 std::map<std::string,int> m_cGroups1;
28 std::map<std::string,std::map<std::string,int>> m_cGroups2;
29
30 SG::ReadHandleKey<xAOD::TauJetContainer> m_TauContainerKey {this, "TauRecContainer", "TauJets"};
31 SG::ReadDecorHandleKey<xAOD::TauJetContainer> m_offlineGNTauScoreDecorKey{this, "OfflineGNTauScoreDecorKey", "GNTauScore_v0prune", "Offline GNTau Score decoration key"};
32 SG::ReadDecorHandleKey<xAOD::TauJetContainer> m_offlineGNTauTransScoreDecorKey{this, "OfflineGNTauTransScoreDecorKey", "GNTauScoreSigTrans_v0prune", "Offline GNTau Trans Score decoration key"};
33 SG::ReadDecorHandleKey<xAOD::TauJetContainer> m_offlineGNTauLooseWPDecorKey{this, "OfflineGNTauLooseWPDecorKey", "GNTauL_v0prune", "Offline GNTau Loose WP decoration key"};
34 SG::ReadDecorHandleKey<xAOD::TauJetContainer> m_offlineGNTauMediumWPDecorKey{this, "OfflineGNTauMediumWPDecorKey", "GNTauM_v0prune", "Offline GNTau Medium WP decoration key"};
35 SG::ReadDecorHandleKey<xAOD::TauJetContainer> m_offlineGNTauTightWPDecorKey{this, "OfflineGNTauTightWPDecorKey", "GNTauT_v0prune", "Offline GNTau Tight WP decoration key"};
36
37 Gaudi::Property<float> m_etaMin {this, "etaMin", -1.};
38 Gaudi::Property<float> m_etaMax {this, "etaMax", 3.0};
39
40 Gaudi::Property<std::string> m_kinGroupName {this, "kinGroupName", "tauMonKinGroupBA"};
41
42};
43#endif
Header file to be included by clients of the Monitored infrastructure.
Handle class for reading a decoration on an object.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
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.
Gaudi::Property< float > m_etaMax
std::vector< std::vector< int > > m_abGroups2
std::vector< int > m_abGroups1
Gaudi::Property< std::string > m_kinGroupName
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_offlineGNTauScoreDecorKey
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_offlineGNTauMediumWPDecorKey
std::map< std::string, std::map< std::string, int > > m_cGroups2
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_offlineGNTauLooseWPDecorKey
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_offlineGNTauTransScoreDecorKey
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_offlineGNTauTightWPDecorKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_TauContainerKey
Gaudi::Property< float > m_etaMin
std::map< std::string, int > m_cGroups1
void initialize()