Skip to content

Commit

Permalink
more cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
fabferro committed Jul 20, 2022
1 parent ad10e4b commit 7414392
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RecoPPS/Local/plugins/CTPPSPixelLocalTrackProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ CTPPSPixelLocalTrackProducer::CTPPSPixelLocalTrackProducer(const edm::ParameterS
numberOfPlanesPerPot_(parameterSet.getParameter<int>("numberOfPlanesPerPot")) {
std::string patternFinderAlgorithm = parameterSet.getParameter<std::string>("patternFinderAlgorithm");
std::string trackFitterAlgorithm = parameterSet.getParameter<std::string>("trackFinderAlgorithm");
std::vector<uint32_t> listOfAllPlanes_;

// pattern algorithm selector
if (patternFinderAlgorithm == "RPixRoadFinder") {
Expand All @@ -100,8 +99,9 @@ CTPPSPixelLocalTrackProducer::CTPPSPixelLocalTrackProducer(const edm::ParameterS
<< "Pattern finder algorithm" << patternFinderAlgorithm << " does not exist";
}

std::vector<uint32_t> listOfAllPlanes;
for (uint32_t i = 0; i < numberOfPlanesPerPot_; ++i) {
listOfAllPlanes_.push_back(i);
listOfAllPlanes.push_back(i);
}

//tracking algorithm selector
Expand All @@ -111,7 +111,7 @@ CTPPSPixelLocalTrackProducer::CTPPSPixelLocalTrackProducer(const edm::ParameterS
throw cms::Exception("CTPPSPixelLocalTrackProducer")
<< "Tracking fitter algorithm" << trackFitterAlgorithm << " does not exist";
}
trackFinder_->setListOfPlanes(listOfAllPlanes_);
trackFinder_->setListOfPlanes(listOfAllPlanes);
trackFinder_->initialize();
produces<edm::DetSetVector<CTPPSPixelLocalTrack>>();
}
Expand Down

0 comments on commit 7414392

Please sign in to comment.