Skip to content
Snippets Groups Projects
Commit 4c1ddd9c authored by Lucy Lewitt's avatar Lucy Lewitt Committed by Frank Winklmeier
Browse files

ElectronRescalerTidyUp

ElectronRescalerTidyUp
parent 1c8855e7
No related branches found
No related tags found
1 merge request!66517ElectronRescalerTidyUp
......@@ -33,16 +33,6 @@ electronRescaler::finalize()
StatusCode
electronRescaler::execute(const EventContext& ctx) const {
//const EgammaRecContainer* inputElRecs = nullptr;
//const EgammaRecContainer* inputPhRecs = nullptr;
//xAOD::ElectronContainer* electrons = nullptr;
//xAOD::PhotonContainer* photons = nullptr;
/*
* From here on if a Read/Write handle
* is retrieved the above will be !=
* nullptr for electron or photons or both
*/
SG::ReadHandle<xAOD::ElectronContainer> inputContainer(m_electronInputKey,ctx);
SG::WriteHandle<xAOD::ElectronContainer> outputContainer(m_electronOutputKey,ctx);
ATH_CHECK(outputContainer.record(std::make_unique<xAOD::ElectronContainer>(),
......@@ -57,5 +47,4 @@ electronRescaler::execute(const EventContext& ctx) const {
}
return StatusCode::SUCCESS;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment