ATLAS Offline Software
Loading...
Searching...
No Matches
JetEfficiencyMonitorAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGT1CALOMONITORING_JETEFFICIENCYMONITORALGORITHM_H
5#define TRIGT1CALOMONITORING_JETEFFICIENCYMONITORALGORITHM_H
6
9
10#include "AthenaKernel/Units.h"
12
19
20
21// #include "TrigDecisionTool/TrigDecisionTool.h"
22//#include "TrigT1Interfaces/TrigT1CaloDefs.h"
23
25public:JetEfficiencyMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
27 virtual StatusCode initialize() override;
28 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
29private:
30 StringProperty m_packageName{this,"PackageName","JetEfficiencyMonitor","group name for histograming"};
31
32 StringProperty m_bootstrap_reference_trigger{this,"BootstrapReferenceTrigger","L1_J15","the bootstrapping trigger"};
33 Gaudi::Property<std::vector<std::string>> m_muon_reference_triggers{this,"MuonReferenceTriggers",{},"the muon refernce triggers"};
34 Gaudi::Property<std::vector<std::string>> m_HLTrandom_reference_triggers{this,"HLTRandomReferenceTriggers",{},"the random refernce trigger"};
35 Gaudi::Property<bool> m_passedb4Prescale{this,"PassedBeforePrescale",0,"boolean of if we want to measure the efficiency based on passed before prescale"};
36
37 Gaudi::Property<std::vector<std::string>> m_SmallRadiusJetTriggers_phase1{this,"SmallRadiusJetTriggers_phase1",{},"Vector of all Small radius triggers"};
38 Gaudi::Property<std::vector<std::string>> m_LargeRadiusJetTriggers_phase1{this,"LargeRadiusJetTriggers_phase1",{},"Vector of all Large radius triggers"};
39
40 Gaudi::Property<std::vector<std::string>> m_SmallRadiusJetTriggers_gFEX{this,"SmallRadiusJetTriggers_gFEX",{},"Vector of all small radius gFEX triggers, whose trigger decision is emulated using gFEX TOB values"};
41 Gaudi::Property<std::vector<std::string>> m_LargeRadiusJetTriggers_gFEX{this,"LargeRadiusJetTriggers_gFEX",{},"Vector of all large radius gFEX triggers, whose trigger decision is emulated using gFEX TOB values"};
42
43 int extractgFEXThresholdValue(const std::string& key) const;
44
45
46
47 // container keys including steering parameter and description
48 SG::ReadHandleKey<xAOD::JetContainer> m_jetKey{ this, "JetKey" , "AntiKt4EMPFlowJets", ""}; //offline jets
49 SG::ReadHandleKey<xAOD::JetContainer> m_LRjetKey{ this, "LRJetKey" , "AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets", ""}; //offline LR jets
50 SG::ReadHandleKey<xAOD::gFexJetRoIContainer> m_gFexSRJetContainerKey{ this, "mygFexSRJetRoIContainer" , "L1_gFexSRJetRoI" , ""}; //gfex SR jets
51 SG::ReadHandleKey<xAOD::gFexJetRoIContainer> m_gFexLRJetContainerKey{ this, "mygFexLRJetRoIContainer" , "L1_gFexLRJetRoI" , ""}; //gfex LR jets
52};
53#endif
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
Wrapper to avoid constant divisions when using units.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual ~JetEfficiencyMonitorAlgorithm()=default
Gaudi::Property< std::vector< std::string > > m_LargeRadiusJetTriggers_gFEX
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexLRJetContainerKey
Gaudi::Property< std::vector< std::string > > m_SmallRadiusJetTriggers_gFEX
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
Gaudi::Property< std::vector< std::string > > m_SmallRadiusJetTriggers_phase1
Gaudi::Property< std::vector< std::string > > m_LargeRadiusJetTriggers_phase1
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Gaudi::Property< std::vector< std::string > > m_HLTrandom_reference_triggers
Gaudi::Property< std::vector< std::string > > m_muon_reference_triggers
SG::ReadHandleKey< xAOD::JetContainer > m_LRjetKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexSRJetContainerKey
Property holding a SG store/key/clid from which a ReadHandle is made.
void initialize()