12#include "TLorentzVector.h"
18 m_fsrTool(
"FSR::FsrPhotonTool/FsrPhotonTool", this) {
40 return StatusCode::SUCCESS;
59 std::vector<const xAOD::Muon*> selectedMuons;
60 double tmp_energy = -999.;
61 double fsr_energy = 0.;
62 TLorentzVector fsr_tlv;
67 for( ; mu_itr != mu_end; ++mu_itr ) {
86 fsr_energy = photon->e();
92 fsr_energy = electron->e();
99 if ( fsr_energy > tmp_energy ) {
100 tmp_energy = fsr_energy;
107 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
@ Ok
The correction was done successfully.
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
PhotonContainer_v1 PhotonContainer
Definition of the current "photon container version".
ElectronContainer_v1 ElectronContainer
Definition of the current "electron container version".
Photon_v1 Photon
Definition of the current "egamma version".
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
Electron_v1 Electron
Definition of the current "egamma version".