ATLAS Offline Software
Loading...
Searching...
No Matches
JetTriggerDecoratorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ASG_ANALYSIS_ALGORITHMS__JET_TRIGGER_DECORATOR_ALG_H
6#define ASG_ANALYSIS_ALGORITHMS__JET_TRIGGER_DECORATOR_ALG_H
7
13
18
19
20namespace CP
21{
23 {
24 public:
25
26 JetTriggerDecoratorAlg(const std::string &name,
27 ISvcLocator *svcLoc = nullptr);
28
29 StatusCode initialize () override;
30 StatusCode execute () override;
31
32 private:
33
36
39 this, "jets", "", "the jet container to use"};
40
42 this, "L1Jets", "LVL1JetRoIs", "L1 jet container"
43 };
45 this, "HLTJets", "HLT_AntiKt4EMPFlowJets_subresjesgscIS_ftf_bJets",
46 "HLT jet container"
47 };
48
49 Gaudi::Property<std::string> m_trigger{
50 this, "trigger", {}, "trigger to match"
51 };
52 // To add missing HLT jets -- only for buggy triggers
53 // These extra jets are added because of bug in trigger navigation
54 // Will be removed once bug fixed at DAOD level
55 Gaudi::Property<std::vector<std::string>> m_triggerNavBug{
56 this, "triggerBugList", {}, "List of buggy triggers"
57 };
58 Gaudi::Property<float> m_dR{this, "dR", 0.4};
59
60 ToolHandle<Trig::TrigDecisionTool> m_trigDecisionTool;
61 ToolHandle<Trig::ITrigBtagEmulationTool> m_emulationTool
62 {this, "trigEmulationTool", "", "Jet trigger emulation tool, to be used for Run 2"};
63
64 Gaudi::Property<bool> m_doL1Matching{this, "doL1Matching", false,
65 "do trigger L1 matching?" };
66 CP::SysWriteDecorHandle<float> m_L1Et_decor {this, "L1Et", "", "L1-matched Et"};
67 CP::SysWriteDecorHandle<float> m_L1Eta_decor {this, "L1Eta", "", "L1-matched eta"};
68 CP::SysWriteDecorHandle<float> m_L1Phi_decor {this, "L1Phi", "", "L1-matched phi"};
69 CP::SysWriteDecorHandle<float> m_L1DR_decor {this, "L1DR", "", "L1-matched DR"};
70 CP::SysWriteDecorHandle<std::vector<int>> m_L1Threshold_decor {this, "L1Threshold", "", "L1-matched thresholds"};
71
72 Gaudi::Property<bool> m_doHLTMatching{this, "doHLTMatching", false,
73 "do trigger HLT matching?" };
74 Gaudi::Property<bool> m_useEmulationTool{this, "useEmulationTool", false,
75 "use HLT jet trigger emulation tool" };
76 CP::SysWriteDecorHandle<float> m_HLTPt_decor {this, "HLTPt", "", "HLT-matched pt"};
77 CP::SysWriteDecorHandle<float> m_HLTEta_decor {this, "HLTEta", "", "HLT-matched eta"};
78 CP::SysWriteDecorHandle<float> m_HLTPhi_decor {this, "HLTPhi", "", "HLT-matched phi"};
79 CP::SysWriteDecorHandle<float> m_HLTDR_decor {this, "HLTDR", "", "HLT-matched thresholds"};
80 CP::SysWriteDecorHandle<std::vector<int>> m_HLTThreshold_decor {this, "HLTThreshold", "", "HLT-matched thresholds"};
81
82 bool isSameJet(const xAOD::IParticle *jet1, const xAOD::IParticle *jet2) const;
83
84 };
85}
86
87#endif
SysListHandle m_systematicsList
the systematics list we run
Gaudi::Property< bool > m_doHLTMatching
JetTriggerDecoratorAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Gaudi::Property< bool > m_useEmulationTool
CP::SysWriteDecorHandle< std::vector< int > > m_L1Threshold_decor
CP::SysWriteDecorHandle< float > m_HLTPt_decor
CP::SysWriteDecorHandle< float > m_HLTPhi_decor
CP::SysWriteDecorHandle< std::vector< int > > m_HLTThreshold_decor
ToolHandle< Trig::ITrigBtagEmulationTool > m_emulationTool
bool isSameJet(const xAOD::IParticle *jet1, const xAOD::IParticle *jet2) const
Gaudi::Property< std::vector< std::string > > m_triggerNavBug
CP::SysWriteDecorHandle< float > m_L1Eta_decor
CP::SysWriteDecorHandle< float > m_L1DR_decor
CP::SysReadHandle< xAOD::JetContainer > m_jetsHandle
SG::ReadHandleKey< xAOD::JetContainer > m_HLTJetsInKey
CP::SysWriteDecorHandle< float > m_HLTEta_decor
Gaudi::Property< std::string > m_trigger
Gaudi::Property< float > m_dR
ToolHandle< Trig::TrigDecisionTool > m_trigDecisionTool
CP::SysWriteDecorHandle< float > m_HLTDR_decor
CP::SysWriteDecorHandle< float > m_L1Et_decor
SG::ReadHandleKey< xAOD::JetRoIContainer > m_L1JetsInKey
Gaudi::Property< bool > m_doL1Matching
CP::SysWriteDecorHandle< float > m_L1Phi_decor
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematics varied input data
the (new) base class for EventLoop algorithms
Property holding a SG store/key/clid from which a ReadHandle is made.
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.