From 2649d88f3079661d718e6c95ffe0db2637083169 Mon Sep 17 00:00:00 2001 From: Shaun Roe <shaun.roe@cern.ch> Date: Wed, 11 Dec 2019 21:25:15 +0100 Subject: [PATCH] solve clang warnings (unused members) --- .../BasicVtxValidationNtupleTool.h | 1 - .../TrkVertexFitterValidationTools/McEventNtupleTool.h | 1 - .../src/BasicVtxValidationNtupleTool.cxx | 1 - .../TrkVertexFitterValidationTools/src/McEventNtupleTool.cxx | 2 -- 4 files changed, 5 deletions(-) diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationTools/TrkVertexFitterValidationTools/BasicVtxValidationNtupleTool.h b/Tracking/TrkValidation/TrkVertexFitterValidationTools/TrkVertexFitterValidationTools/BasicVtxValidationNtupleTool.h index 827845417c2a..a6b9bd493cbb 100755 --- a/Tracking/TrkValidation/TrkVertexFitterValidationTools/TrkVertexFitterValidationTools/BasicVtxValidationNtupleTool.h +++ b/Tracking/TrkValidation/TrkVertexFitterValidationTools/TrkVertexFitterValidationTools/BasicVtxValidationNtupleTool.h @@ -77,7 +77,6 @@ private: mutable int m_numTracksPerVertex; //!< number of the tracks per vertex //tracks - mutable int m_numTracks; //!< total number of the tracks // perigee of original tracks with vertex point as origin mutable std::vector<float> *m_d0; diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationTools/TrkVertexFitterValidationTools/McEventNtupleTool.h b/Tracking/TrkValidation/TrkVertexFitterValidationTools/TrkVertexFitterValidationTools/McEventNtupleTool.h index 8e25132d99b2..0e12c82a37bf 100755 --- a/Tracking/TrkValidation/TrkVertexFitterValidationTools/TrkVertexFitterValidationTools/McEventNtupleTool.h +++ b/Tracking/TrkValidation/TrkVertexFitterValidationTools/TrkVertexFitterValidationTools/McEventNtupleTool.h @@ -57,7 +57,6 @@ private: double m_zPosRes; TTree * m_vtx_tree; - TTree * m_quark_tree; // vertex mutable int m_numTrueVertices; //!< number of the gen vertices diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/BasicVtxValidationNtupleTool.cxx b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/BasicVtxValidationNtupleTool.cxx index fe284e9ac42f..9ce132cf85ae 100755 --- a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/BasicVtxValidationNtupleTool.cxx +++ b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/BasicVtxValidationNtupleTool.cxx @@ -63,7 +63,6 @@ Trk::BasicVtxValidationNtupleTool::BasicVtxValidationNtupleTool( m_chi2{}, m_chi2prob{}, m_numTracksPerVertex{}, - m_numTracks{}, m_d0(nullptr), m_z0(nullptr), m_phi0(nullptr), diff --git a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/McEventNtupleTool.cxx b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/McEventNtupleTool.cxx index 5a494f59b66b..49e42059a13a 100755 --- a/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/McEventNtupleTool.cxx +++ b/Tracking/TrkValidation/TrkVertexFitterValidationTools/src/McEventNtupleTool.cxx @@ -41,7 +41,6 @@ Trk::McEventNtupleTool::McEventNtupleTool( m_radiusRes(0.044), m_zPosRes(0.221), m_vtx_tree(nullptr), - m_quark_tree(nullptr), m_numTrueVertices{}, m_true_pri_x{}, m_true_pri_y{}, @@ -193,7 +192,6 @@ StatusCode Trk::McEventNtupleTool::fillMcEventData(const HepMC::GenEvent& myEven m_true_pri_x = (*pv_map_itr).second->position().x(); m_true_pri_y = (*pv_map_itr).second->position().y(); m_true_pri_z = (*pv_map_itr).second->position().z(); - //std::cout<<"number of secondary vertices = "<<sec_vtx_ids_vec.size()<<std::endl; for (unsigned int sec_vtx_itr = 0; sec_vtx_itr < sec_vtx_ids_vec.size(); ++sec_vtx_itr) { std::map<int,HepMC::GenVertex *> sec_map = sec_vtx_ids_vec[sec_vtx_itr]; -- GitLab