Skip to content
Snippets Groups Projects
Commit 38a158e9 authored by scott snyder's avatar scott snyder
Browse files

TRT_ElectronPidTools: Fix compilation warnings.

Compilation warnings: unused variables.



Former-commit-id: 15962cce
parent 3b8bed6e
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
if(sum_ToT_by_sum_L>0 && nHits>0){
// correct for data/MC normalisation
// 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);
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
// Jared - ToT Implementation
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);
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