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

HitAnalysis: Fix clang warnings.

clang warnings: unused variables and private data members.
parent b10ef939
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
// Base class
......@@ -249,7 +249,6 @@ StatusCode CaloHitAnalysis::execute() {
for (unsigned int i=0; i<4; i++) {
const DataHandle<LArHitContainer> iter;
if (evtStore()->retrieve(iter,lArKey[i]) == StatusCode::SUCCESS) {
LArHitContainer::const_iterator hi;
for (auto hi : *iter ) {
GeoLArHit ghit(*hi);
if (!ghit) continue;
......@@ -331,7 +330,6 @@ StatusCode CaloHitAnalysis::execute() {
for (unsigned int j=0; j<3; j++) {
if (m_calib != "on") continue;
const DataHandle<CaloCalibrationHitContainer> iterator;
CaloCalibrationHitContainer::const_iterator hit_i;
if(evtStore()->retrieve(iterator, LArCalibKey[j]) == StatusCode::SUCCESS) {
//Not tested
for (auto hit_i : *iterator) {
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
#ifndef sTGC_HIT_ANALYSIS_H
......@@ -51,9 +51,6 @@ class sTGCHitAnalysis : public AthAlgorithm {
TH1 *m_h_r_A;
TH1 *m_h_r_C;
std::vector<float>* m_hits_x;
TTree * m_tree;
std::string m_ntupleFileName;
std::string m_path;
......
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