ATLAS Offline Software
L1TriggerResultMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef HLTSEEDING_L1TRIGGERRESULTMAKER_H
6 #define HLTSEEDING_L1TRIGGERRESULTMAKER_H
7 
8 // Local includes
10 
11 // Trigger includes
21 
22 // Athena includes
26 
31 public:
33  L1TriggerResultMaker(const std::string& name, ISvcLocator* svcLoc);
34 
35  // ------------------------- AthReentrantAlgorithm methods -------------------
36  virtual StatusCode initialize() override;
37  virtual StatusCode execute(const EventContext& eventContext) const override;
38 
39 private:
40  // ------------------------- Properties --------------------------------------
42  this, "L1TriggerResultWHKey", "L1TriggerResult",
43  "Key of the output L1 Trigger Result"};
44 
45  // Muon RoIs
47  this, "MuRoIKey", "LVL1MuonRoIs",
48  "Key of the muon RoI container to be linked to L1 Trigger Result"};
49 
50  // eFex EM RoIs
52  this, "eFexEMRoIKey", "L1_eEMRoI",
53  "Key of the eFex EM RoI container to be linked to L1 Trigger Result"};
54 
55  // eFex Tau RoIs
57  this, "eFexTauRoIKey", "L1_eTauRoI",
58  "Key of the eFex Tau RoI container to be linked to L1 Trigger Result"};
59 
60  // jFex Fwd El RoIs
62  this, "jFexFwdElRoIKey", "L1_jFexFwdElRoI",
63  "Key of the jFex Fwd El RoI container to be linked to L1 Trigger Result"};
64 
65  // jFex Tau RoIs
67  this, "jFexTauRoIKey", "L1_jFexTauRoI",
68  "Key of the jFex Tau RoI container to be linked to L1 Trigger Result"};
69 
70  // jFex small-R Jet RoIs
72  this, "jFexSRJetRoIKey", "L1_jFexSRJetRoI",
73  "Key of the jFex small-R Jet RoI container to be linked to L1 Trigger Result"};
74 
75  // jFex large-R Jet RoIs
77  this, "jFexLRJetRoIKey", "L1_jFexLRJetRoI",
78  "Key of the jFex large-R Jet RoI container to be linked to L1 Trigger Result"};
79 
80  // gFex small-R Jet RoIs
82  this, "gFexSRJetRoIKey", "L1_gFexSRJetRoI",
83  "Key of the gFex small-R Jet RoI container to be linked to L1 Trigger Result"};
84 
85  // gFex large-R Jet RoIs
87  this, "gFexLRJetRoIKey", "L1_gFexLRJetRoI",
88  "Key of the gFex large-R Jet RoI container to be linked to L1 Trigger Result"};
89 
90  // Key of the cTau container to create (if empty, cTau creation is disabled)
92  this, "cTauRoIKey", "L1_cTauRoI",
93  "Key of the cTau RoI container to be created (contains copies of eTaus matched to jTaus)"};
94 
95  // Key of the cTau decoration linking eFexTau to the matching jFexTau
97  this, "cjTauLinkKey", "L1_cTauRoI.jTauLink",
98  "Decoration for the link from eTau to the matching jTau"};
99 
100  // Threshold pattern tools
101  ToolHandleArray<IRoIThresholdsTool> m_thresholdPatternTools {
102  this, "ThresholdPatternTools", {},
103  "Tools decorating RoI containers with threshold patterns"
104  };
105 
106  // Placeholder for other L1 xAOD outputs:
107  // - CTP result
108  // - L1Topo result
109  // - the remaining Run-3 L1Calo RoIs
110 
111  // ------------------------- Helper methods ----------------------------------
113  StatusCode createCombinedTauRoIs(xAOD::TrigComposite& l1tr, const EventContext& eventContext) const;
114 };
115 
116 #endif // HLTSEEDING_L1TRIGGERRESULTMAKER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
jFexFwdElRoIContainer.h
L1TriggerResultMaker::m_jFexLRJetRoIKey
SG::ReadHandleKey< xAOD::jFexLRJetRoIContainer > m_jFexLRJetRoIKey
Definition: L1TriggerResultMaker.h:76
MuonRoIContainer.h
eFexTauRoIContainer.h
L1TriggerResultMaker::m_jFexSRJetRoIKey
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jFexSRJetRoIKey
Definition: L1TriggerResultMaker.h:71
L1TriggerResultMaker::m_gFexLRJetRoIKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexLRJetRoIKey
Definition: L1TriggerResultMaker.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
L1TriggerResultMaker::execute
virtual StatusCode execute(const EventContext &eventContext) const override
Definition: L1TriggerResultMaker.cxx:63
jFexTauRoIContainer.h
L1TriggerResultMaker::m_jFexFwdElRoIKey
SG::ReadHandleKey< xAOD::jFexFwdElRoIContainer > m_jFexFwdElRoIKey
Definition: L1TriggerResultMaker.h:61
L1TriggerResultMaker::m_cjTauLinkKey
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_cjTauLinkKey
Definition: L1TriggerResultMaker.h:96
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
jFexLRJetRoIContainer.h
gFexJetRoIContainer.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
L1TriggerResultMaker
Algorithm creating L1TriggerResult and linking the relevant L1 xAOD collections to it.
Definition: L1TriggerResultMaker.h:30
jFexSRJetRoIContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
L1TriggerResultMaker::m_muRoIKey
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_muRoIKey
Definition: L1TriggerResultMaker.h:46
L1TriggerResultMaker::m_l1TriggerResultWHKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_l1TriggerResultWHKey
Definition: L1TriggerResultMaker.h:41
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
TrigCompositeContainer.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
L1TriggerResultMaker::m_thresholdPatternTools
ToolHandleArray< IRoIThresholdsTool > m_thresholdPatternTools
Definition: L1TriggerResultMaker.h:101
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
IRoIThresholdsTool.h
L1TriggerResultMaker::m_cTauRoIKey
SG::WriteHandleKey< xAOD::eFexTauRoIContainer > m_cTauRoIKey
Definition: L1TriggerResultMaker.h:91
L1TriggerResultMaker::m_eFexEMRoIKey
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFexEMRoIKey
Definition: L1TriggerResultMaker.h:51
L1TriggerResultMaker::m_eFexTauRoIKey
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFexTauRoIKey
Definition: L1TriggerResultMaker.h:56
L1TriggerResultMaker::initialize
virtual StatusCode initialize() override
Definition: L1TriggerResultMaker.cxx:42
L1TriggerResultMaker::L1TriggerResultMaker
L1TriggerResultMaker(const std::string &name, ISvcLocator *svcLoc)
Standard constructor.
Definition: L1TriggerResultMaker.cxx:36
L1TriggerResultMaker::createCombinedTauRoIs
StatusCode createCombinedTauRoIs(xAOD::TrigComposite &l1tr, const EventContext &eventContext) const
Create the combined Tau container matching eTau to jTau.
Definition: L1TriggerResultMaker.cxx:115
L1TriggerResultMaker::m_jFexTauRoIKey
SG::ReadHandleKey< xAOD::jFexTauRoIContainer > m_jFexTauRoIKey
Definition: L1TriggerResultMaker.h:66
eFexEMRoIContainer.h
L1TriggerResultMaker::m_gFexSRJetRoIKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexSRJetRoIKey
Definition: L1TriggerResultMaker.h:81