1 #ifndef RecoTracker_TkSeedingLayers_HitExtractor_H
2 #define RecoTracker_TkSeedingLayers_HitExtractor_H
15 namespace edm {
class Event;
class EventSetup;
class ConsumesCollector;}
16 namespace ctfseeding {
class SeedingLayer; }
18 namespace ctfseeding {
25 using Hits=std::vector<HitPointer>;
44 template <
typename DSTV,
typename A,
typename B>
47 std::pair<A,B>
const &
sel) {
48 typename DSTV::Range range = dstv.equal_range(sel.first,sel.second);
50 for(
typename DSTV::const_iterator
id=range.first;
id!=range.second;
id++)
51 ts += std::distance((*id).begin(), (*id).end());
53 for(
typename DSTV::const_iterator
id=range.first;
id!=range.second;
id++){
54 for (
auto const &
h : (*
id) ) v.emplace_back(
h);
void range2SeedingHits(DSTV const &dstv, HitExtractor::Hits &v, std::pair< A, B > const &sel)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
PixelRecoRange< float > Range
volatile std::atomic< bool > shutdown_flag false