ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
EgammaAnalysisAlgorithms
EgammaAnalysisAlgorithms
EgammaFSRForMuonsCollectorAlg.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
// EgammaFSRForMuonsCollectorAlg
7
// Author: RD Schaffer, R.D.Schaffer@cern.ch
8
// Algorithm to collect photons and electrons which close in dR
9
// to muons as FSR candidates
11
12
#ifndef ASG_ANALYSIS_ALGORITHMS_EGAMMA_FSR_FOR_MUONS_COLLECTOR_ALG_H
13
#define ASG_ANALYSIS_ALGORITHMS_EGAMMA_FSR_FOR_MUONS_COLLECTOR_ALG_H
14
15
#include <
AnaAlgorithm/AnaAlgorithm.h
>
16
#include <
xAODBase/IParticleContainer.h
>
17
#include "
xAODMuon/MuonContainer.h
"
18
#include <
SystematicsHandles/SysReadHandle.h
>
19
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
20
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
21
22
23
namespace
CP
24
{
26
class
EgammaFSRForMuonsCollectorAlg
final :
public
EL::AnaAlgorithm
27
{
28
public
:
30
EgammaFSRForMuonsCollectorAlg
(
const
std::string &
name
,
31
ISvcLocator *pSvcLocator);
32
33
StatusCode
initialize
()
override
;
34
StatusCode
execute
(
const
EventContext& ctx)
override
;
35
36
private
:
38
40
41
Gaudi::Property<float>
m_dRMax
{
this
,
"deltaR_Max"
, 0.2,
"DeltaR max for accepting a particle when comparing to compareParticles"
};
42
44
SysListHandle
m_systematicsList
{
this
};
45
46
SysReadHandle<xAOD::IParticleContainer>
m_egammaContKey
{
this
,
"ElectronOrPhotonContKey"
,
""
,
"Electrons or photons for dR comparison"
};
47
48
SysReadHandle<xAOD::MuonContainer>
m_muonContKey
{
this
,
"MuonContKey"
,
"AnalysisMuons"
,
"Muons to compare with for selecting FSR"
};
49
51
SysReadSelectionHandle
m_wpSelection
{
this
,
"wpSelection"
,
""
,
"the input WP selection to OR with FSR"
};
52
54
SysWriteDecorHandle<char>
m_outputDec
{
this
,
"selectionDecoration"
,
""
,
"the output combined WP||FSR selection"
};
55
56
Gaudi::Property<bool>
m_vetoFSR
{
this
,
"vetoFSR"
,
false
,
"boolean to revert FSR logic to rather veto FSR electrons or photons"
};
57
58
};
59
}
60
#endif
AnaAlgorithm.h
MuonContainer.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteDecorHandle.h
CP::EgammaFSRForMuonsCollectorAlg::EgammaFSRForMuonsCollectorAlg
EgammaFSRForMuonsCollectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition
EgammaFSRForMuonsCollectorAlg.cxx:22
CP::EgammaFSRForMuonsCollectorAlg::m_wpSelection
SysReadSelectionHandle m_wpSelection
the input WP selection to combine with FSR
Definition
EgammaFSRForMuonsCollectorAlg.h:51
CP::EgammaFSRForMuonsCollectorAlg::m_outputDec
SysWriteDecorHandle< char > m_outputDec
the output combined WP||FSR selection
Definition
EgammaFSRForMuonsCollectorAlg.h:54
CP::EgammaFSRForMuonsCollectorAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
EgammaFSRForMuonsCollectorAlg.h:44
CP::EgammaFSRForMuonsCollectorAlg::m_vetoFSR
Gaudi::Property< bool > m_vetoFSR
Definition
EgammaFSRForMuonsCollectorAlg.h:56
CP::EgammaFSRForMuonsCollectorAlg::m_dRMax
Gaudi::Property< float > m_dRMax
Protected data:
Definition
EgammaFSRForMuonsCollectorAlg.h:41
CP::EgammaFSRForMuonsCollectorAlg::m_egammaContKey
SysReadHandle< xAOD::IParticleContainer > m_egammaContKey
Definition
EgammaFSRForMuonsCollectorAlg.h:46
CP::EgammaFSRForMuonsCollectorAlg::initialize
StatusCode initialize() override
Definition
EgammaFSRForMuonsCollectorAlg.cxx:27
CP::EgammaFSRForMuonsCollectorAlg::m_muonContKey
SysReadHandle< xAOD::MuonContainer > m_muonContKey
Definition
EgammaFSRForMuonsCollectorAlg.h:48
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::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition
SysReadSelectionHandle.h:32
CP::SysWriteDecorHandle
a data handle for reading systematics varied input data
Definition
SysWriteDecorHandle.h:42
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:315
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0