Skip to content
Snippets Groups Projects
Commit 6c450d54 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'warn.TRT_ElectronPidTools-20170913' into 'master'

TRT_ElectronPidTools: Fix compilation warnings.

See merge request !4619

Former-commit-id: 59bb43b4
parents 627bdfae 38a158e9
No related branches found
No related tags found
No related merge requests found
...@@ -313,7 +313,6 @@ InDet::TRT_ElectronPidTool::electronProbability(const Trk::Track& track) const ...@@ -313,7 +313,6 @@ InDet::TRT_ElectronPidTool::electronProbability(const Trk::Track& track) const
if(sum_ToT_by_sum_L>0 && nHits>0){ if(sum_ToT_by_sum_L>0 && nHits>0){
// correct for data/MC normalisation // correct for data/MC normalisation
// unfortunately vertex container not yet available here so pileup correction not applied // unfortunately vertex container not yet available here so pileup correction not applied
ITRT_ToT_dEdx::EGasType gasType;
sum_ToT_by_sum_L*= m_TRTdEdxTool->correctNormalization(true,m_DATA); sum_ToT_by_sum_L*= m_TRTdEdxTool->correctNormalization(true,m_DATA);
prob_El_ToT = m_TRTdEdxTool->getTest(sum_ToT_by_sum_L, pTrk, Trk::electron, Trk::pion, nHits); prob_El_ToT = m_TRTdEdxTool->getTest(sum_ToT_by_sum_L, pTrk, Trk::electron, Trk::pion, nHits);
} }
......
...@@ -403,7 +403,6 @@ InDet::TRT_ElectronPidToolRun2::electronProbability(const Trk::Track& track) con ...@@ -403,7 +403,6 @@ InDet::TRT_ElectronPidToolRun2::electronProbability(const Trk::Track& track) con
// Jared - ToT Implementation // Jared - ToT Implementation
dEdx = m_TRTdEdxTool->dEdx( &track, true, false, true); // Divide by L, exclude HT hits dEdx = m_TRTdEdxTool->dEdx( &track, true, false, true); // Divide by L, exclude HT hits
ITRT_ToT_dEdx::EGasType gasType;
double usedHits = m_TRTdEdxTool->usedHits( &track, true, false); double usedHits = m_TRTdEdxTool->usedHits( &track, true, false);
prob_El_ToT = m_TRTdEdxTool->getTest( dEdx, pTrk, Trk::electron, Trk::pion, usedHits, true ); prob_El_ToT = m_TRTdEdxTool->getTest( dEdx, pTrk, Trk::electron, Trk::pion, usedHits, true );
......
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