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
15
16// Framework includes
19#include <AsgTools/ToolHandle.h>
20
21// Trigger Include
23
24#include <string>
25#include <vector>
26
27namespace CP
28{
31
32 class TrigMatchingAlg final : public EL::AnaAlgorithm
33 {
35 public:
36 TrigMatchingAlg(const std::string& name, ISvcLocator* pSvcLocator);
37
38 public:
39 virtual StatusCode initialize() final override;
40 virtual StatusCode execute(const EventContext& ctx) final override;
41
43 private:
44 ToolHandle<Trig::IMatchingTool> m_trigMatchingTool;
45
48
50 Gaudi::Property<std::string> m_matchingDecoration {this, "matchingDecoration", {}, "The decoration for trigger matching"};
51
53 Gaudi::Property<std::vector<std::string>> m_trigSingleMatchingList {this, "trigSingleMatchingList", {}, "List of triggers for Matching"};
54
56 Gaudi::Property<std::vector<std::string>> m_trigSingleMatchingListDummy {this, "trigSingleMatchingListDummy", {}, "List of triggers for dummy matching decorations"};
57
59 SysReadHandle<xAOD::IParticleContainer> m_particlesHandle { this, "particles", "", "the particle container to use"};
60
63 {
64 std::string chain;
65 float dR{};
67 };
68 std::vector<MatchingChain> m_matchingChains;
69
72 {
73 std::string chain;
75 };
76 std::vector<DummyChain> m_dummyChains;
77
78 };
79
80} // namespace CP
81
82#endif /* TRIGGER_ANALYSIS_ALGORITHMS__TRIG_MATCHING_ALG_H */
Helper class to provide type-safe access to aux data.
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
std::vector< DummyChain > m_dummyChains
Gaudi::Property< std::vector< std::string > > m_trigSingleMatchingListDummy
list of triggers for dummy matching decorations
virtual StatusCode initialize() final override
std::vector< MatchingChain > m_matchingChains
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
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.
SG::Decorator< T, ALLOC > Decorator
Helper class to provide type-safe access to aux data, specialized for JaggedVecElt.
Definition AuxElement.h:576
per-chain dummy matching decorations, built in initialize()
SG::Decorator< char > decorator
per-chain matching configuration, built in initialize()