5#ifndef ASG_ANALYSIS_ALGORITHMS__JET_TRIGGER_DECORATOR_ALG_H
6#define ASG_ANALYSIS_ALGORITHMS__JET_TRIGGER_DECORATOR_ALG_H
34 StatusCode
execute (
const EventContext& ctx)
override;
42 this,
"jets",
"",
"the jet container to use"};
45 this,
"L1Jets",
"LVL1JetRoIs",
"Legacy L1Calo jet RoI container"
49 this,
"L1JetsPhaseI",
"L1_jFexSRJetRoI",
50 "Phase-I L1Calo jFEX SR jet RoI container"
53 this,
"HLTJets",
"HLT_AntiKt4EMPFlowJets_subresjesgscIS_ftf_bJets",
58 this,
"trigger", {},
"trigger to match"
64 this,
"triggerBugList", {},
"List of buggy triggers"
66 Gaudi::Property<float>
m_l1dR{
this,
"l1dR_cut", 0.4,
67 "ΔR cone for L1 (jFEX) matching"};
68 Gaudi::Property<float>
m_hltDR{
this,
"hltDR_cut", 0.4,
69 "ΔR cone for HLT matching"};
73#ifndef XAOD_STANDALONE
76 this,
"TrigDecisionTool",
"Trig::TrigDecisionTool/TrigDecisionTool",
77 "trigger decision tool"};
81 this,
"TrigDecisionTool",
"Trig::TrigDecisionTool/TrigDecisionTool",
82 "trigger decision tool"};
85 {
this,
"trigEmulationTool",
"",
"Jet trigger emulation tool, to be used for Run 2"};
88 this,
"usePhaseIL1",
false,
89 "If true, use Phase-I L1Calo jFEX SR jet RoI container for L1 matching."
93 this,
"l1ThresholdType",
"jJ",
94 "L1 threshold type for jFEX bit→name lookup (Phase-I L1 only)."
98 this,
"TrigConfigTool",
"TrigConf::xAODConfigTool/xAODConfigTool",
99 "Trigger configuration tool (Phase-I L1 menu access)"
122 "do trigger L1 matching?" };
130 "do trigger HLT matching?" };
132 "use HLT jet trigger emulation tool" };
an algorithm decorating jets with the kinematics, ΔR and thresholds of the L1 RoI and HLT jet matched...
SysListHandle m_systematicsList
the systematics list we run
ToolHandle< TrigConf::ITrigConfigTool > m_trigConfigTool
Gaudi::Property< bool > m_doHLTMatching
Gaudi::Property< float > m_l1dR
Gaudi::Property< bool > m_useEmulationTool
Gaudi::Property< bool > m_usePhaseIL1
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
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_L1JetsPhaseIInKey
Gaudi::Property< std::vector< std::string > > m_triggerNavBug
CP::SysWriteDecorHandle< float > m_L1Eta_decor
bool m_isNavBugTrigger
whether m_trigger is in m_triggerNavBug
Gaudi::Property< float > m_hltDR
CP::SysWriteDecorHandle< float > m_L1DR_decor
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecisionTool
CP::SysReadHandle< xAOD::JetContainer > m_jetsHandle
SG::ReadHandleKey< xAOD::JetContainer > m_HLTJetsInKey
CP::SysWriteDecorHandle< float > m_HLTEta_decor
Gaudi::Property< std::string > m_trigger
JfexThresholdTable m_jfexThresholdTable
CP::SysWriteDecorHandle< float > m_HLTDR_decor
CP::SysWriteDecorHandle< float > m_L1Et_decor
SG::ReadHandleKey< xAOD::JetRoIContainer > m_L1JetsInKey
Gaudi::Property< std::string > m_l1ThresholdType
StatusCode initialize() override
bool m_warnedMissingChain
whether we already warned about m_trigger missing from the menu
std::vector< JetLeg > m_jetLegs
Gaudi::Property< bool > m_doL1Matching
CP::SysWriteDecorHandle< float > m_L1Phi_decor
the Phase-I L1 jFEX threshold bit-to-name table, taken from the L1 menu, shared by the algorithms dec...
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
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual::StatusCode execute()
execute this algorithm
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.
a "j" leg of the chain, parsed once in initialize()
int threshold
leg threshold (the gsc threshold for gsc legs)
std::string name
leg name (key of the Run 2 emulation results)