From ccd1d9d426fd9d65d2c5ac1d6cb391fae602ea71 Mon Sep 17 00:00:00 2001 From: Jochen Meyer <Jochen.Meyer@cern.ch> Date: Wed, 17 Sep 2014 14:41:43 +0200 Subject: [PATCH] fixing some compiler warnings (MuonPhysicsMonitoring-01-04-05) * tagging MuonPhysicsMonitoring-01-04-05 * fixing some compiler warnings --- .../src/MuTrackInsituPerformance.cxx | 8 ++++---- .../MuonPhysicsMonitoring/src/MuTrackPhysMonTool.cxx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/MuonSpectrometer/MuonValidation/MuonDQA/MuonPhysicsMonitoring/src/MuTrackInsituPerformance.cxx b/MuonSpectrometer/MuonValidation/MuonDQA/MuonPhysicsMonitoring/src/MuTrackInsituPerformance.cxx index 553d14e03a7..9e62c2ba829 100755 --- a/MuonSpectrometer/MuonValidation/MuonDQA/MuonPhysicsMonitoring/src/MuTrackInsituPerformance.cxx +++ b/MuonSpectrometer/MuonValidation/MuonDQA/MuonPhysicsMonitoring/src/MuTrackInsituPerformance.cxx @@ -957,7 +957,7 @@ bool MuTrackInsituPerformance::isAssociatedWithMSTrack(const Rec::TrackParticle // applyEnergyIsolation /////////////////////////////////////////////////////////////////////////////// -bool MuTrackInsituPerformance::getCaloEnergyIsolation(const Analysis::Muon* muonCandidate) { +bool MuTrackInsituPerformance::getCaloEnergyIsolation(const Analysis::Muon* /*muonCandidate*/) { /* double eIso = m_muonIsolationTool->isolationEnergy(muonCandidate, m_energyIsoCone); double eIsoRatio = -9999.; @@ -1014,7 +1014,7 @@ const Trk::TrackParameters* MuTrackInsituPerformance::getTrkParams(const Trk::Tr /////////////////////////////////////////////////////////////////////////////// // applyTrackIsolation /////////////////////////////////////////////////////////////////////////////// -bool MuTrackInsituPerformance::applyTrkIsol(const Rec::TrackParticle* ptcl) { +bool MuTrackInsituPerformance::applyTrkIsol(const Rec::TrackParticle* /*ptcl*/) { /* double ptIso = m_muonIsolationTool->trackIsolationEnergy(ptcl, m_trk_coneIso); double ptIsoRatio = -9999; @@ -1084,7 +1084,7 @@ bool MuTrackInsituPerformance::isPassedTrackQualityCuts(const Rec::TrackParticle m_mutrk_pT->Fill(pt/1000.); //////////////////////////////////////////////////////////////////////////////////// - bool selfIsRemoved = false; + //bool selfIsRemoved = false; ATH_MSG_DEBUG(" > Calculating Track isolation.. " ); // double trkIso = m_isolationTool->trackIsolationEnergy(trk, m_trk_coneIso, true , &selfIsRemoved ); @@ -1105,7 +1105,7 @@ bool MuTrackInsituPerformance::isPassedTrackQualityCuts(const Rec::TrackParticle } double trkIso = 0; if (trkIso <= 0) return false; - double trkIso_rel = -9999; + //double trkIso_rel = -9999; //////////////////////////////////////////////////////////////////////////////////// diff --git a/MuonSpectrometer/MuonValidation/MuonDQA/MuonPhysicsMonitoring/src/MuTrackPhysMonTool.cxx b/MuonSpectrometer/MuonValidation/MuonDQA/MuonPhysicsMonitoring/src/MuTrackPhysMonTool.cxx index 522a3e6a2d6..c0079f21228 100755 --- a/MuonSpectrometer/MuonValidation/MuonDQA/MuonPhysicsMonitoring/src/MuTrackPhysMonTool.cxx +++ b/MuonSpectrometer/MuonValidation/MuonDQA/MuonPhysicsMonitoring/src/MuTrackPhysMonTool.cxx @@ -335,7 +335,7 @@ StatusCode MuTrackPhysMonTool::fillHistograms() //apply event selection----------------------------------- int nZ=0; - double pt1=0.; + //double pt1=0.; double pt2=0.; double phi1=0.; double phi2=0.; @@ -343,13 +343,13 @@ StatusCode MuTrackPhysMonTool::fillHistograms() double charge2=0.; double probePtMax=0; - int probePtMaxId=0; + //int probePtMaxId=0; std::vector< std::pair<const Rec::TrackParticle *,const Rec::TrackParticle *> > myZmuons; for (unsigned int i=0; i<myTagMuons.size(); i++) { const Rec::TrackParticle *track1 = myTagMuons[i]; charge1 = track1->charge(); - pt1 = track1->pt(); + //pt1 = track1->pt(); phi1 = track1->phi(); for (unsigned int j=0; j<myProbeTracks.size(); j++) { @@ -390,7 +390,7 @@ StatusCode MuTrackPhysMonTool::fillHistograms() myZmuons.push_back(std::make_pair(track1,track2)); if (pt2>probePtMax) { probePtMax=pt2; - probePtMaxId=myZmuons.size()-1; + //probePtMaxId=myZmuons.size()-1; } } } -- GitLab