Skip to content

Commit

Permalink
[ANALYSIS] [LLVM16]Fix set but unused variables warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed May 3, 2023
1 parent 85b455d commit 2f07622
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ void TrackInfoProducerAlgorithm::run(const edm::Ref<std::vector<Trajectory> > tr
std::vector<TrajectoryMeasurement>::iterator traj_mes_iterator;
//edm::LogInfo("TrackInfoProducer") << "Number of Measurements: "<<measurements.size();
TrackInfo::TrajectoryInfo trajinfo;
int nhit = 0;
for (traj_mes_iterator = measurements.begin(); traj_mes_iterator != measurements.end();
++traj_mes_iterator) { //loop on measurements

Expand All @@ -36,7 +35,6 @@ void TrackInfoProducerAlgorithm::run(const edm::Ref<std::vector<Trajectory> > tr
LocalPoint pos;
if (ttrh->isValid())
pos = ttrh->hit()->localPosition();
nhit++;
unsigned int detid = ttrh->hit()->geographicalId().rawId();

TrackingRecHitRef thehitref;
Expand Down Expand Up @@ -164,8 +162,6 @@ void TrackInfoProducerAlgorithm::run(const edm::Ref<std::vector<Trajectory> > tr
}
// else edm::LogInfo("TrackInfoProducer") << "RecHit not associated ";
}
//edm::LogInfo("TrackInfoProducer") << "Found "<<nhit<< " hits";
//if(fwdtrajinfo.size()!=nhit) edm::LogInfo("TrackInfoProducer") << "Number of trackinfos "<<fwdtrajinfo.size()<< " doesn't match!";
output = TrackInfo((traj_iterator->seed()), trajinfo);
}

Expand Down

0 comments on commit 2f07622

Please sign in to comment.