ATLAS Offline Software
Loading...
Searching...
No Matches
EgammaFSRForMuonsCollectorAlg.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// 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
21
22
23namespace CP
24{
27 {
28 public:
31
32 StatusCode initialize() override;
33 StatusCode execute(const EventContext& ctx) override;
34
35 private:
37
39
40 Gaudi::Property<float> m_dRMax{this, "deltaR_Max", 0.2, "DeltaR max for accepting a particle when comparing to compareParticles"};
41
44
45 SysReadHandle<xAOD::IParticleContainer> m_egammaContKey{this, "ElectronOrPhotonContKey", "", "Electrons or photons for dR comparison"};
46
47 SysReadHandle<xAOD::MuonContainer> m_muonContKey{this, "MuonContKey", "AnalysisMuons", "Muons to compare with for selecting FSR"};
48
50 SysReadSelectionHandle m_wpSelection{this, "wpSelection", "", "the input WP selection to OR with FSR"};
51
53 SysWriteDecorHandle<char> m_outputDec{this, "selectionDecoration", "", "the output combined WP||FSR selection"};
54
55 Gaudi::Property<bool> m_vetoFSR {this, "vetoFSR", false, "boolean to revert FSR logic to rather veto FSR electrons or photons"};
56
57 };
58}
59#endif
Algorithm to collect photons and electrons which close in dR to muons as FSR candidates.
SysReadSelectionHandle m_wpSelection
the input WP selection to combine with FSR
SysWriteDecorHandle< char > m_outputDec
the output combined WP||FSR selection
SysListHandle m_systematicsList
the systematics list we run
Gaudi::Property< float > m_dRMax
Protected data:
SysReadHandle< xAOD::IParticleContainer > m_egammaContKey
SysReadHandle< xAOD::MuonContainer > m_muonContKey
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
a data handle for reading systematics varied input data
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.