Skip to content
Snippets Groups Projects
Commit 2bc47a9f authored by Mark Andrew Owen's avatar Mark Andrew Owen Committed by Graeme Stewart
Browse files

Fix bug in value of ptcone30 (TrigMuonEF-00-04-38-01)

	* TrigMuonEFTrackIsolation: Fix bug where ptcone30 variable was set to ptcone20 value.
	* TrigMuonEF-00-04-38-01
parent 2492cbb7
No related branches found
No related tags found
No related merge requests found
......@@ -197,12 +197,12 @@ TrigMuonEFTrackIsolation::hltExecute(const HLT::TriggerElement* inputTE, HLT::Tr
}
} else { //isolation tool was ok - store results
m_trkptiso_cone2.push_back(isoResults.at(0) / 1000.0); // convert to GeV
const float ptcone20 = isoResults[0];
const float ptcone30 = isoResults[1];
m_trkptiso_cone2.push_back(ptcone20 / 1000.0); // convert to GeV
m_trkptiso_cone3.push_back(ptcone30 / 1000.0); // convert to GeV
m_trkptiso_cone3.push_back(isoResults.at(1) / 1000.0); // convert to GeV
float ptcone20 = isoResults[0];
float ptcone30 = isoResults[0];
((xAOD::Muon*)muon)->setIsolation( ptcone20, xAOD::Iso::ptcone20 );
((xAOD::Muon*)muon)->setIsolation( ptcone30, xAOD::Iso::ptcone30 );
}// isolation tool ok
......
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