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
19
20
21namespace CP
22{
25 {
26 public:
28 EgammaFSRForMuonsCollectorAlg(const std::string &name,
29 ISvcLocator *pSvcLocator);
30
31 StatusCode initialize() override;
32 StatusCode execute() override;
33
34 private:
36
38
39 Gaudi::Property<float> m_dRMax{this, "deltaR_Max", 0.2, "DeltaR max for accepting a particle when comparing to compareParticles"};
40
41 Gaudi::Property<std::string> m_passWPorFSRName{this, "passWPorFSRName", "passWPorFSR", "Name for decoration for electron or photon which either passes their corresponding WP selection or the dR selection for a muon FSR."};
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
50 Gaudi::Property<std::string> m_selectionName {this, "selectionDecoration", "", "the decoration for the combined WP and FSR selection"};
51
52 Gaudi::Property<bool> m_vetoFSR {this, "vetoFSR", false, "boolean to revert FSR logic to rather veto FSR electrons or photons"};
53
55 std::unique_ptr<SG::Decorator<char> > m_wpDec;
56
57 };
58}
59#endif
EgammaFSRForMuonsCollectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Gaudi::Property< std::string > m_selectionName
SysListHandle m_systematicsList
the systematics list we run
Gaudi::Property< std::string > m_passWPorFSRName
Gaudi::Property< float > m_dRMax
Protected data:
std::unique_ptr< SG::Decorator< char > > m_wpDec
Decorator for electron or photon working point - used to add additional el/ph.
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
the (new) base class for EventLoop algorithms
Select isolated Photons, Electrons and Muons.