#include <MeasurementByLayerGrouper.h>
Definition at line 13 of file MeasurementByLayerGrouper.h.
const DetLayer * MeasurementByLayerGrouper::getDetLayer |
( |
const TM & |
tm | ) |
const |
|
private |
Definition at line 10 of file MeasurementByLayerGrouper.cc.
References getDetLayer(), watchdog::group, LogTrace, mps_fire::result, and command_line::start.
13 return vector<pair<
const DetLayer*, vector<TM> > >();
15 vector<pair<const DetLayer*, vector<TM> > >
result;
16 result.reserve(vtm.size());
18 vector<TM>::const_iterator
start = vtm.begin();
20 while(start != vtm.end()) {
21 vector<TM>::const_iterator ipart =
start;
23 while(ipart != vtm.end() &&
34 vector<TM>
group(start, ipart);
39 #ifdef debug_MeasurementByLayerGrouper_
40 for (vector<pair<
const DetLayer*, vector<TM> > >::const_iterator iter = result.begin(); iter != result.end(); iter++){
41 LogTrace(
"MeasurementByLayerGrouper|SiTrackerMultiRecHitUpdator") <<
"DetLayer " << iter->first <<
" has " << iter->second.size() <<
" measurements";
const DetLayer * getDetLayer(const TM &tm) const