Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clang warnings in Calibration/IsolatedParticles. #3747

Merged
merged 1 commit into from May 9, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Calibration/IsolatedParticles/interface/CaloSimInfo.icc
Expand Up @@ -157,7 +157,7 @@ namespace spr{
std::vector< typename T::const_iterator> matchedhit;
for (int ihit=0; ihit < hit.size(); ihit++) {
bool keephit = false;
for (int idetid=0; idetid < coneRecHitDetIds.size(); idetid++) {
for (size_t idetid=0; idetid < coneRecHitDetIds.size(); idetid++) {
if (hit.at(ihit)->id() == coneRecHitDetIds.at(idetid)) {
keephit = true;
break;
Expand Down
6 changes: 1 addition & 5 deletions Calibration/IsolatedParticles/plugins/IsolatedGenParticles.h
Expand Up @@ -127,11 +127,7 @@ class IsolatedGenParticles : public edm::EDAnalyzer {
double a_coneR, a_charIsoR, a_neutIsoR, a_mipR;

bool debugL1Info_;
int verbosity, debugTrks_;
bool printTrkHitPattern_;
int myverbose_;
bool useJetTrigger_;
double drLeadJetVeto_, ptMinLeadJet_;
int verbosity;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused data members...

edm::InputTag L1extraTauJetSource_, L1extraCenJetSource_, L1extraFwdJetSource_;
edm::InputTag L1extraMuonSource_, L1extraIsoEmSource_, L1extraNonIsoEmSource_;
edm::InputTag L1GTReadoutRcdSource_, L1GTObjectMapRcdSource_;
Expand Down
11 changes: 0 additions & 11 deletions Calibration/IsolatedParticles/plugins/IsolatedTracksCone.h
Expand Up @@ -202,17 +202,6 @@ class IsolatedTracksCone : public edm::EDAnalyzer {

std::vector<double>* t_nRH_h3x3 ;
std::vector<double>* t_nRH_h5x5 ;
std::vector<double>* t_nRH_h3x3dR ;
std::vector<double>* t_nRH_h5x5dR ;
std::vector<double>* t_nRH_h7x7dR ;
std::vector<double>* t_nRH_h9x9dR ;
std::vector<double>* t_nRH_h40cm ;

std::vector<double>* t_nRH_hsim3x3dR ;
std::vector<double>* t_nRH_hsim5x5dR ;
std::vector<double>* t_nRH_hsim7x7dR ;
std::vector<double>* t_nRH_hsim9x9dR ;
std::vector<double>* t_nRH_hsim40cm ;

std::vector<double>* t_hsim3x3Matched ;
std::vector<double>* t_hsim5x5Matched ;
Expand Down
6 changes: 0 additions & 6 deletions Calibration/IsolatedParticles/plugins/IsolatedTracksNxN.h
Expand Up @@ -142,10 +142,6 @@ class IsolatedTracksNxN : public edm::EDAnalyzer {

// map of trig bit, algo name and num events passed
std::map< std::pair<unsigned int,std::string>, int> l1AlgoMap;
/// number of DAQ partitions
unsigned int m_numberDaqPartitions;
/// trigger masks & veto masks
const L1GtTriggerMask* m_l1GtTmAlgo;
std::vector<unsigned int> m_triggerMaskAlgoTrig;

double pvTracksPtMin_;
Expand Down Expand Up @@ -259,9 +255,7 @@ class IsolatedTracksNxN : public edm::EDAnalyzer {
std::vector<double> *t_trackOutPosOutHitDr, *t_trackL;

std::vector<double> *t_maxNearP31x31;
std::vector<double> *t_maxNearP25x25;
std::vector<double> *t_maxNearP21x21;
std::vector<double> *t_maxNearP15x15;

std::vector<int> *t_ecalSpike11x11;
std::vector<double> *t_e7x7, *t_e9x9, *t_e11x11, *t_e15x15;
Expand Down