11 int subDet = muonRecHit->geographicalId().subdetId();
13 switch (granularity) {
16 recHitsForFit.push_back(muonRecHit);
24 recHitsForFit = muonRecHit->transientHits();
27 recHitsForFit.push_back(muonRecHit);
38 for (TransientTrackingRecHit::ConstRecHitContainer::const_iterator segment = segments2D.begin();
39 segment != segments2D.end();
45 copy(rechit1D.begin(), rechit1D.end(), back_inserter(recHitsForFit));
50 recHitsForFit.push_back(muonRecHit);
54 recHitsForFit = (*muonRecHit).transientHits();
61 <<
"it will be set to 0";
const std::string metname
static TransientTrackingRecHit::ConstRecHitContainer breakInSubRecHits(TransientTrackingRecHit::ConstRecHitPointer, int granularity)
takes a muon rechit and returns its sub-rechits given a certain granularity
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
std::vector< ConstRecHitPointer > ConstRecHitContainer