ATLAS Offline Software
Loading...
Searching...
No Matches
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
21
22
23namespace CP
24{
27 {
28 public:
30 EgammaFSRForMuonsCollectorAlg(const std::string &name,
31 ISvcLocator *pSvcLocator);
32
33 StatusCode initialize() override;
34 StatusCode execute() 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
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
EgammaFSRForMuonsCollectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
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
Select isolated Photons, Electrons and Muons.