Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions DQM/SiStripCommissioningAnalysis/src/CalibrationAlgorithm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ void CalibrationAlgorithm::extract(const std::vector<TH1*>& histos) {

// Extract histograms
std::vector<TH1*>::const_iterator ihis = histos.begin();
unsigned int cnt = 0;
for (; ihis != histos.end(); ihis++, cnt++) {
for (; ihis != histos.end(); ihis++) {
// Check for NULL pointer
if (!(*ihis)) {
continue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ void CalibrationScanAlgorithm::extract(const std::vector<TH1*>& histos) {

// Extract histograms
std::vector<TH1*>::const_iterator ihis = histos.begin();
unsigned int cnt = 0;
for (; ihis != histos.end(); ihis++, cnt++) {
for (; ihis != histos.end(); ihis++) {
// Check for NULL pointer
if (!(*ihis)) {
continue;
Expand Down
5 changes: 1 addition & 4 deletions DQM/SiStripMonitorHardware/src/SiStripFEDMonitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,8 @@ void SiStripFEDMonitorPlugin::getMajority(const std::vector<std::pair<unsigned i
unsigned int lCounter = 0;

//std::cout << " --- First element: addr = " << lMajAddr << " counter = " << lCounter << std::endl;
unsigned int iele = 0;
//bool foundMaj = false;
for (; lIter != aFeMajVec.end(); ++lIter, ++iele) {
//std::cout << " ---- Ele " << iele << " " << (*lIter).first << " " << (*lIter).second << " ref " << lMajAddr << std::endl;
for (; lIter != aFeMajVec.end(); ++lIter) {
if ((*lIter).second == lMajAddr) {
++lCounter;
//std::cout << " ----- =ref: Counter = " << lCounter << std::endl;
Expand All @@ -444,7 +442,6 @@ void SiStripFEDMonitorPlugin::getMajority(const std::vector<std::pair<unsigned i
lCounter = 0;
lMajAddr = (*lIter).second;
--lIter;
--iele;
}
}
// AV Bug here? The check has to be done regardless foundMaj == false or true
Expand Down
3 changes: 1 addition & 2 deletions DQMServices/Components/plugins/DQMStoreStats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,7 @@ void DQMStoreStats::calcIgProfDump(Folder& root) {
root.mainrows_cumulative(sql_statement);
root.summary(sql_statement);
VIterator<Folder*> subsystems = root.CreateIterator();
size_t ii = 0;
for (subsystems.First(); !subsystems.IsDone(); subsystems.Next(), ++ii) {
for (subsystems.First(); !subsystems.IsDone(); subsystems.Next()) {
subsystems.CurrentItem()->mainrows(sql_statement);
subsystems.CurrentItem()->parents(sql_statement);
subsystems.CurrentItem()->children(sql_statement);
Expand Down
3 changes: 1 addition & 2 deletions Validation/MuonIsolation/src/MuIsoValidation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,7 @@ void MuIsoValidation::analyze(const edm::Event& iEvent, const edm::EventSetup& i
h_nMuons->Fill(theMuonData);

//Fill historgams concerning muon isolation
uint iMuon = 0;
for (MuonIterator muon = muonsHandle->begin(); muon != muonsHandle->end(); ++muon, ++iMuon) {
for (MuonIterator muon = muonsHandle->begin(); muon != muonsHandle->end(); ++muon) {
++nIncMuons;
if (requireCombinedMuon) {
if (muon->combinedMuon().isNull())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -907,9 +907,8 @@ unsigned int Phase2TrackerValidateDigi::getSimTrackId(const edm::DetSetVector<Pi

edm::DetSet<PixelDigiSimLink> link_detset = (*simLinks)[detId];
// Loop over DigiSimLink in this det unit
int iSimLink = 0;
for (edm::DetSet<PixelDigiSimLink>::const_iterator it = link_detset.data.begin(); it != link_detset.data.end();
it++, iSimLink++) {
it++) {
if (channel == it->channel()) {
simTrkId = it->SimTrackId();
break;
Expand Down