Skip to content
Snippets Groups Projects
Commit 2e88bb35 authored by Edward Moyse's avatar Edward Moyse Committed by Graeme Stewart
Browse files

'Merged MuonCombinedBaseTools-01-01-64-branch back into trunk (fix for...

'Merged MuonCombinedBaseTools-01-01-64-branch back into trunk (fix for ATLASRECT-1946).' (MuonCombinedBaseTools-01-01-75)

	* Merged MuonCombinedBaseTools-01-01-64-branch back into trunk (fix for ATLASRECT-1946).
	* Tagged as MuonCombinedBaseTools-01-01-75

2015-04-20 Edward.Moyse@cern.ch
        * Possible fix for ATLASRECTS-1946
        * Tagged as MuonCombinedBaseTools-01-01-64-00
parent 43c4ac19
No related branches found
No related tags found
No related merge requests found
......@@ -1213,6 +1213,20 @@ namespace MuonCombined {
void MuonCreatorTool::fillEnergyLossFromTrack(xAOD::Muon& muon, const std::vector<const Trk::TrackStateOnSurface*>& tsosVector) const
{
// Ensure these are set for every muon
muon.setParameter(static_cast<float>( 0.0 ), xAOD::Muon::EnergyLoss);
muon.setParameter(static_cast<float>( 0.0 ), xAOD::Muon::ParamEnergyLoss);
muon.setParameter(static_cast<float>( 0.0 ), xAOD::Muon::MeasEnergyLoss);
muon.setParameter(static_cast<float>( 0.0 ), xAOD::Muon::EnergyLossSigma);
muon.setParameter(static_cast<float>( 0.0 ), xAOD::Muon::MeasEnergyLossSigma);
muon.setParameter(static_cast<float>( 0.0 ), xAOD::Muon::ParamEnergyLossSigmaPlus);
muon.setParameter(static_cast<float>( 0.0 ), xAOD::Muon::ParamEnergyLossSigmaMinus);
muon.setEnergyLossType( xAOD::Muon::Parametrized ); // Not so nice! Add 'unknown' type?
muon.setParameter(static_cast<float>( 0.0 ), xAOD::Muon::FSR_CandidateEnergy);
float energyloss=0.0;
unsigned int numEnergyLossPerTrack=0;
bool problem=false;
......
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