ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMatchingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
18
19// Framework includes
23#include <AsgTools/AsgTool.h>
24#include <AsgTools/ToolHandle.h>
26
27// Trigger Include
29
30namespace CP
31{
34
35 class TrigMatchingAlg final : public EL::AnaAlgorithm
36 {
38 public:
39 TrigMatchingAlg(const std::string& name, ISvcLocator* pSvcLocator);
40
41 public:
42 virtual StatusCode initialize() final override;
43 virtual StatusCode execute() final override;
44
46 private:
47 ToolHandle<Trig::IMatchingTool> m_trigMatchingTool;
48
51
53 Gaudi::Property<std::string> m_matchingDecoration {this, "matchingDecoration", {}, "The decoration for trigger matching"};
54
56 std::unordered_map<std::string, SG::Decorator<char>> m_matchingDecorators;
57
59 Gaudi::Property<std::vector<std::string>> m_trigSingleMatchingList {this, "trigSingleMatchingList", {}, "List of triggers for Matching"};
60
62 Gaudi::Property<std::vector<std::string>> m_trigSingleMatchingListDummy {this, "trigSingleMatchingListDummy", {}, "List of triggers for dummy matching decorations"};
63
65 SysReadHandle<xAOD::IParticleContainer> m_particlesHandle { this, "particles", "", "the particle container to use"};
66
68 SysReadSelectionHandle m_particleSelection {this, "particleSelection", "", "the selection on the input particles"};
69
70 };
71
72} // namespace CP
73
74#endif /* TRIGGER_ANALYSIS_ALGORITHMS__TRIG_MATCHING_ALG_H */
75
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 systematically varied selection properties from objects
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
virtual StatusCode execute() 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
SysReadSelectionHandle m_particleSelection
input particle selection
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
Select isolated Photons, Electrons and Muons.