ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMatchingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef TRIGGER_ANALYSIS_ALGORITHMS__TRIG_MATCHING_ALG_H
8#define TRIGGER_ANALYSIS_ALGORITHMS__TRIG_MATCHING_ALG_H
9
10// Algorithm includes
17
18// Framework includes
22#include <AsgTools/AsgTool.h>
23#include <AsgTools/ToolHandle.h>
25
26// Trigger Include
28
29namespace CP
30{
33
34 class TrigMatchingAlg final : public EL::AnaAlgorithm
35 {
37 public:
38 TrigMatchingAlg(const std::string& name, ISvcLocator* pSvcLocator);
39
40 public:
41 virtual StatusCode initialize() final override;
42 virtual StatusCode execute(const EventContext& ctx) final override;
43
45 private:
46 ToolHandle<Trig::IMatchingTool> m_trigMatchingTool;
47
50
52 Gaudi::Property<std::string> m_matchingDecoration {this, "matchingDecoration", {}, "The decoration for trigger matching"};
53
55 std::unordered_map<std::string, SG::Decorator<char>> m_matchingDecorators;
56
58 Gaudi::Property<std::vector<std::string>> m_trigSingleMatchingList {this, "trigSingleMatchingList", {}, "List of triggers for Matching"};
59
61 Gaudi::Property<std::vector<std::string>> m_trigSingleMatchingListDummy {this, "trigSingleMatchingListDummy", {}, "List of triggers for dummy matching decorations"};
62
64 SysReadHandle<xAOD::IParticleContainer> m_particlesHandle { this, "particles", "", "the particle container to use"};
65
66 };
67
68} // namespace CP
69
70#endif /* TRIGGER_ANALYSIS_ALGORITHMS__TRIG_MATCHING_ALG_H */
71
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
input particle collection
Gaudi::Property< std::vector< std::string > > m_trigSingleMatchingListDummy
list of triggers for dummy matching decorations
virtual StatusCode initialize() final override
TrigMatchingAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
ToolHandle< Trig::IMatchingTool > m_trigMatchingTool
trigger decision tool handle
Gaudi::Property< std::string > m_matchingDecoration
the decoration for trigger matching
SysListHandle m_systematicsList
the systematics list we run
std::unordered_map< std::string, SG::Decorator< char > > m_matchingDecorators
the decorators for m_matchingDecoration and triggers combination
Gaudi::Property< std::vector< std::string > > m_trigSingleMatchingList
list of triggers
the (new) base class for EventLoop algorithms
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.