ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
24// Athena includes
28
33public:
35 L1TriggerResultMaker(const std::string& name, ISvcLocator* svcLoc);
36
37 // ------------------------- AthReentrantAlgorithm methods -------------------
38 virtual StatusCode initialize() override;
39 virtual StatusCode execute(const EventContext& eventContext) const override;
40
41private:
42 // ------------------------- Properties --------------------------------------
44 this, "L1TriggerResultWHKey", "L1TriggerResult",
45 "Key of the output L1 Trigger Result"};
46
47 // Muon RoIs
49 this, "MuRoIKeys", {"LVL1MuonRoIs"},
50 "Keys of the muon RoI container to be linked to L1 Trigger Result"};
51
52 // eFex EM RoIs
54 this, "eFexEMRoIKeys", {"L1_eEMRoI"},
55 "Keys of the eFex EM RoI container to be linked to L1 Trigger Result"};
56
57 // eFex Tau RoIs
59 this, "eFexTauRoIKeys", {"L1_eTauRoI"},
60 "Keys of the eFex Tau RoI container to be linked to L1 Trigger Result"};
61
62 // jFex Fwd El RoIs
64 this, "jFexFwdElRoIKeys", {"L1_jFexFwdElRoI"},
65 "Keys of the jFex Fwd El RoI container to be linked to L1 Trigger Result"};
66
67 // jFex Tau RoIs
69 this, "jFexTauRoIKeys", {"L1_jFexTauRoI"},
70 "Keys of the jFex Tau RoI container to be linked to L1 Trigger Result"};
71
72 // jFex small-R Jet RoIs
74 this, "jFexSRJetRoIKeys", {"L1_jFexSRJetRoI"},
75 "Keys of the jFex small-R Jet RoI container to be linked to L1 Trigger Result"};
76
77 // jFex large-R Jet RoIs
79 this, "jFexLRJetRoIKeys", {"L1_jFexLRJetRoI"},
80 "Keys of the jFex large-R Jet RoI container to be linked to L1 Trigger Result"};
81
82 // gFex small-R Jet RoIs
84 this, "gFexSRJetRoIKeys", {"L1_gFexSRJetRoI"},
85 "Keys of the gFex small-R Jet RoI container to be linked to L1 Trigger Result"};
86
87 // gFex large-R Jet RoIs
89 this, "gFexLRJetRoIKeys", {"L1_gFexLRJetRoI"},
90 "Keys of the gFex large-R Jet RoI container to be linked to L1 Trigger Result"};
91
92 // gFex Scalar E (JwoJ) RoIs -- carries gFex SumET (Y component); MET (X)
93 // is overwritten by the decoder from sqrt(METx^2 + METy^2) computed from
94 // m_gMETComponentsJwojKeys, so both keys must be linked together for the
95 // h_gFexMet round-trip histogram to reproduce.
97 this, "gScalarEJwojKeys", {},
98 "Keys of the gFex Scalar E (JwoJ) RoI container to be linked to L1 Trigger Result"};
99
100 // gFex MET Components (JwoJ) RoIs -- carries METx / METy partials
102 this, "gMETComponentsJwojKeys", {},
103 "Keys of the gFex MET Components (JwoJ) RoI container to be linked to L1 Trigger Result"};
104
105 // Key of the cTau container to create (if empty, cTau creation is disabled)
107 this, "cTauRoIKey", "L1_cTauRoI",
108 "Key of the cTau RoI container to be created (contains copies of eTaus matched to jTaus)"};
109
110 // Key of the cTau decoration linking eFexTau to the matching jFexTau
112 this, "cjTauLinkKey", "L1_cTauRoI.jTauLink",
113 "Decoration for the link from eTau to the matching jTau"};
114
115 // Threshold pattern tools
116 ToolHandleArray<IRoIThresholdsTool> m_thresholdPatternTools {
117 this, "ThresholdPatternTools", {},
118 "Tools decorating RoI containers with threshold patterns"
119 };
120
121 // CTP result
123 this, "CTPKey", "CTPResult",
124 "Key of the CTP result to be linked to L1 Trigger Result"};
125
126 // Placeholder for other L1 xAOD outputs:
127 // - L1Topo result
128 // - the remaining Run-3 L1Calo RoIs
129
130 // ------------------------- Helper methods ----------------------------------
132 StatusCode createCombinedTauRoIs(xAOD::TrigComposite& l1tr, const EventContext& eventContext) const;
133};
134
135#endif // HLTSEEDING_L1TRIGGERRESULTMAKER_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< xAOD::eFexTauRoIContainer > m_cTauRoIKey
SG::ReadHandleKeyArray< xAOD::jFexSRJetRoIContainer > m_jFexSRJetRoIKeys
SG::ReadHandleKeyArray< xAOD::jFexTauRoIContainer > m_jFexTauRoIKeys
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_l1TriggerResultWHKey
SG::ReadHandleKeyArray< xAOD::gFexGlobalRoIContainer > m_gMETComponentsJwojKeys
SG::ReadHandleKeyArray< xAOD::gFexJetRoIContainer > m_gFexSRJetRoIKeys
SG::ReadHandleKeyArray< xAOD::jFexFwdElRoIContainer > m_jFexFwdElRoIKeys
StatusCode createCombinedTauRoIs(xAOD::TrigComposite &l1tr, const EventContext &eventContext) const
Create the combined Tau container matching eTau to jTau.
ToolHandleArray< IRoIThresholdsTool > m_thresholdPatternTools
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::CTPResult > m_CTPKey
SG::ReadHandleKeyArray< xAOD::eFexTauRoIContainer > m_eFexTauRoIKeys
SG::ReadHandleKeyArray< xAOD::gFexJetRoIContainer > m_gFexLRJetRoIKeys
SG::ReadHandleKeyArray< xAOD::eFexEMRoIContainer > m_eFexEMRoIKeys
SG::ReadHandleKeyArray< xAOD::gFexGlobalRoIContainer > m_gScalarEJwojKeys
L1TriggerResultMaker(const std::string &name, ISvcLocator *svcLoc)
Standard constructor.
SG::ReadHandleKeyArray< xAOD::MuonRoIContainer > m_muRoIKeys
SG::ReadHandleKeyArray< xAOD::jFexLRJetRoIContainer > m_jFexLRJetRoIKeys
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_cjTauLinkKey
virtual StatusCode execute(const EventContext &eventContext) const override
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
TrigComposite_v1 TrigComposite
Declare the latest version of the class.