Skip to content

Commit

Permalink
Clear coincidence pad vectors before each run
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Dildick committed Jul 8, 2020
1 parent 0b74499 commit 95593e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions L1Trigger/CSCTriggerPrimitives/src/GEMCoPadProcessor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ GEMCoPadProcessor::GEMCoPadProcessor() : theRegion(1), theStation(1), theChamber
void GEMCoPadProcessor::clear() { gemCoPadV.clear(); }

std::vector<GEMCoPadDigi> GEMCoPadProcessor::run(const GEMPadDigiCollection* in_pads) {
clear();

// Build coincidences
for (auto det_range = in_pads->begin(); det_range != in_pads->end(); ++det_range) {
const GEMDetId& id = (*det_range).first;
Expand Down

0 comments on commit 95593e6

Please sign in to comment.