ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
TriggerAnalysisAlgorithms
TriggerAnalysisAlgorithms
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
11
#include <
AnaAlgorithm/AnaAlgorithm.h
>
12
#include <
SystematicsHandles/SysReadHandle.h
>
13
#include <
SystematicsHandles/SysWriteHandle.h
>
14
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
15
#include <
SystematicsHandles/SysFilterReporterParams.h
>
16
#include <
AsgTools/PropertyWrapper.h
>
17
18
// Framework includes
19
#include <
AsgMessaging/AsgMessaging.h
>
20
#include <
xAODBase/IParticleContainer.h
>
21
#include <
xAODEventInfo/EventInfo.h
>
22
#include <
AsgTools/AsgTool.h
>
23
#include <
AsgTools/ToolHandle.h
>
24
#include <
AsgTools/AnaToolHandle.h
>
25
26
// Trigger Include
27
#include <
TriggerMatchingTool/IMatchingTool.h
>
28
29
namespace
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
49
SysListHandle
m_systematicsList
{
this
};
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
AnaAlgorithm.h
AnaToolHandle.h
AsgMessaging.h
AsgTool.h
IMatchingTool.h
PropertyWrapper.h
SysFilterReporterParams.h
SysReadHandle.h
SysWriteDecorHandle.h
SysWriteHandle.h
ToolHandle.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition
SysReadHandle.h:33
CP::TrigMatchingAlg::m_particlesHandle
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
input particle collection
Definition
TrigMatchingAlg.h:64
CP::TrigMatchingAlg::m_trigSingleMatchingListDummy
Gaudi::Property< std::vector< std::string > > m_trigSingleMatchingListDummy
list of triggers for dummy matching decorations
Definition
TrigMatchingAlg.h:61
CP::TrigMatchingAlg::initialize
virtual StatusCode initialize() final override
Definition
TrigMatchingAlg.cxx:22
CP::TrigMatchingAlg::TrigMatchingAlg
TrigMatchingAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition
TrigMatchingAlg.cxx:15
CP::TrigMatchingAlg::m_trigMatchingTool
ToolHandle< Trig::IMatchingTool > m_trigMatchingTool
trigger decision tool handle
Definition
TrigMatchingAlg.h:46
CP::TrigMatchingAlg::m_matchingDecoration
Gaudi::Property< std::string > m_matchingDecoration
the decoration for trigger matching
Definition
TrigMatchingAlg.h:52
CP::TrigMatchingAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
TrigMatchingAlg.h:49
CP::TrigMatchingAlg::m_matchingDecorators
std::unordered_map< std::string, SG::Decorator< char > > m_matchingDecorators
the decorators for m_matchingDecoration and triggers combination
Definition
TrigMatchingAlg.h:55
CP::TrigMatchingAlg::m_trigSingleMatchingList
Gaudi::Property< std::vector< std::string > > m_trigSingleMatchingList
list of triggers
Definition
TrigMatchingAlg.h:58
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:73
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:321
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
IParticleContainer.h
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0