|
ATLAS Offline Software
|
Go to the documentation of this file.
27 "Turn on removal of overlapping calo muons");
29 "Remove electrons in DR cone of muons");
31 "Delta-R cone for flagging overlaps");
33 "Calculate delta-R using rapidity");
43 ATH_MSG_DEBUG(
"Configuring removal of overlapping calo muons");
51 return StatusCode::SUCCESS;
64 ATH_MSG_ERROR(
"First container arg is not of type ElectronContainer!");
65 return StatusCode::FAILURE;
69 ATH_MSG_ERROR(
"Second container arg is not of type MuonContainer!");
70 return StatusCode::FAILURE;
74 return StatusCode::SUCCESS;
103 for(
const auto muon : muons) {
105 if(
muon->muonType() != xAOD::Muon::CaloTagged)
continue;
109 muon->trackParticle(xAOD::Muon::InnerDetectorTrackParticle);
120 for(
const auto muon : muons){
125 muon->trackParticle(xAOD::Muon::InnerDetectorTrackParticle);
137 bool removeEle = (elTrk == muTrk);
147 return StatusCode::SUCCESS;
DataVector adapter that acts like it holds const pointers.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
::StatusCode StatusCode
StatusCode definition for legacy code.
DataVector adapter that acts like it holds const pointers.
const xAOD::TrackParticle * getOriginalTrackParticle(const xAOD::Electron *el)
Helper function for getting the "Original" Track Particle (i.e before GSF) via the electron.
Class describing a TrackParticle.