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

CTPPS pixel clusterizer: call calibration by reference and use of map instead of set #20642

Merged
merged 4 commits into from
Oct 6, 2017
Merged
Changes from 1 commit
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 RecoCTPPS/PixelLocal/src/RPixDetClusterizer.cc
Expand Up @@ -81,7 +81,7 @@ void RPixDetClusterizer::buildClusters(unsigned int detId, const std::vector<CTP
void RPixDetClusterizer::make_cluster(RPixCalibDigi const &aSeed, std::vector<CTPPSPixelCluster> &clusters ){
/// check if seed already used
unsigned int seedIndex = aSeed.column()*maxRow + aSeed.row();
if(calib_rpix_digi_map_.empty() || calib_rpix_digi_map_.find(seedIndex)==calib_rpix_digi_map_.end() ){
if( calib_rpix_digi_map_.find(seedIndex)==calib_rpix_digi_map_.end() ){
return;
}
// creating a temporary cluster
Expand Down