ATLAS Offline Software
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"
11 #include "FourMomUtils/P4Helpers.h"
12 
14 #include "xAODJet/JetContainer.h"
15 #include "xAODTrigger/gFexJetRoI.h"
19 
20 
21 // #include "TrigDecisionTool/TrigDecisionTool.h"
22 //#include "TrigT1Interfaces/TrigT1CaloDefs.h"
23 
25 public:JetEfficiencyMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
26  virtual ~JetEfficiencyMonitorAlgorithm()=default;
27  virtual StatusCode initialize() override;
28  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
29 private:
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_multiJet_LegacySmallRadiusTriggers{this,"multiJet_LegacySmallRadiusTriggers",{},"Vector of single jet L1 triggers"};
38  Gaudi::Property<std::vector<std::string>> m_SmallRadiusJetTriggers_phase1{this,"SmallRadiusJetTriggers_phase1",{},"Vector of all Small radius triggers"};
39  Gaudi::Property<std::vector<std::string>> m_LargeRadiusJetTriggers_phase1{this,"LargeRadiusJetTriggers_phase1",{},"Vector of all Large radius triggers"};
40 
41 
42  // container keys including steering parameter and description
43  SG::ReadHandleKey<xAOD::JetContainer> m_jetKey{ this, "JetKey" , "AntiKt4EMPFlowJets", ""}; //offline jets
44  SG::ReadHandleKey<xAOD::JetContainer> m_LRjetKey{ this, "LRJetKey" , "AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets", ""}; //offline LR jets
45  SG::ReadHandleKey<xAOD::gFexJetRoIContainer> m_gFexSRJetContainerKey{ this, "mygFexSRJetRoIContainer" , "L1_gFexSRJetRoI" , ""}; //gfex SR jets
46  SG::ReadHandleKey<xAOD::gFexJetRoIContainer> m_gFexLRJetContainerKey{ this, "mygFexLRJetRoIContainer" , "L1_gFexLRJetRoI" , ""}; //gfex LR jets
47 };
48 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
JetEfficiencyMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: JetEfficiencyMonitorAlgorithm.cxx:21
JetEfficiencyMonitorAlgorithm::m_gFexSRJetContainerKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexSRJetContainerKey
Definition: JetEfficiencyMonitorAlgorithm.h:45
JetEfficiencyMonitorAlgorithm::m_bootstrap_reference_trigger
StringProperty m_bootstrap_reference_trigger
Definition: JetEfficiencyMonitorAlgorithm.h:32
JetEfficiencyMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: JetEfficiencyMonitorAlgorithm.cxx:38
gFexGlobalRoIContainer.h
JetEfficiencyMonitorAlgorithm::m_multiJet_LegacySmallRadiusTriggers
Gaudi::Property< std::vector< std::string > > m_multiJet_LegacySmallRadiusTriggers
Definition: JetEfficiencyMonitorAlgorithm.h:37
JetEfficiencyMonitorAlgorithm::JetEfficiencyMonitorAlgorithm
JetEfficiencyMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: JetEfficiencyMonitorAlgorithm.cxx:16
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
gFexGlobalRoI.h
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
gFexJetRoIContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
JetEfficiencyMonitorAlgorithm::~JetEfficiencyMonitorAlgorithm
virtual ~JetEfficiencyMonitorAlgorithm()=default
JetEfficiencyMonitorAlgorithm
Definition: JetEfficiencyMonitorAlgorithm.py:1
JetEfficiencyMonitorAlgorithm::m_gFexLRJetContainerKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexLRJetContainerKey
Definition: JetEfficiencyMonitorAlgorithm.h:46
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
JetEfficiencyMonitorAlgorithm::m_packageName
StringProperty m_packageName
Definition: JetEfficiencyMonitorAlgorithm.h:30
P4Helpers.h
JetEfficiencyMonitorAlgorithm::m_LargeRadiusJetTriggers_phase1
Gaudi::Property< std::vector< std::string > > m_LargeRadiusJetTriggers_phase1
Definition: JetEfficiencyMonitorAlgorithm.h:39
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
JetEfficiencyMonitorAlgorithm::m_HLTrandom_reference_triggers
Gaudi::Property< std::vector< std::string > > m_HLTrandom_reference_triggers
Definition: JetEfficiencyMonitorAlgorithm.h:34
gFexJetRoI.h
Units.h
Wrapper to avoid constant divisions when using units.
JetEfficiencyMonitorAlgorithm::m_passedb4Prescale
Gaudi::Property< bool > m_passedb4Prescale
Definition: JetEfficiencyMonitorAlgorithm.h:35
JetEfficiencyMonitorAlgorithm::m_SmallRadiusJetTriggers_phase1
Gaudi::Property< std::vector< std::string > > m_SmallRadiusJetTriggers_phase1
Definition: JetEfficiencyMonitorAlgorithm.h:38
JetContainer.h
JetEfficiencyMonitorAlgorithm::m_LRjetKey
SG::ReadHandleKey< xAOD::JetContainer > m_LRjetKey
Definition: JetEfficiencyMonitorAlgorithm.h:44
JetEfficiencyMonitorAlgorithm::m_muon_reference_triggers
Gaudi::Property< std::vector< std::string > > m_muon_reference_triggers
Definition: JetEfficiencyMonitorAlgorithm.h:33
JetEfficiencyMonitorAlgorithm::m_jetKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
Definition: JetEfficiencyMonitorAlgorithm.h:43