7 #include<boost/bind.hpp>
28 typedef Trajectory::RecHitContainer::const_iterator TI;
29 unsigned short idx =
theVault.size();
33 (*trj).validRecHits(hits);
38 for (TI
t = hits.begin(), te = hits.end();
t != te; ++
t) {
40 detid = (*t)->geographicalId().rawId();
41 if (detid)
theCache.insert(std::pair<uint32_t, unsigned short>(detid, idx));
46 if (seed->
nHits()==0){
return true; }
49 typedef Trajectory::RecHitContainer::const_iterator TI;
52 SI
first = range.first,
last = range.second, curr;
53 uint32_t
detid = first->geographicalId().rawId();
56 typedef boost::unordered_multimap<uint32_t, unsigned short>::const_iterator
IT;
57 IT it; std::pair<IT,IT> itrange;
62 for (itrange =
theCache.equal_range(detid), it = itrange.first; it != itrange.second; ++it) {
63 assert(it->first == detid);
68 TI te =
theVault[it->second].begin()+ext;
71 TI ts =
theVault[it->second].begin();
73 for (curr = first; curr !=
last; ++curr) {
82 if (curr ==
last)
return false;
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
recHitContainer::const_iterator const_iterator
std::pair< const_iterator, const_iterator > range
std::vector< LinkConnSpec >::const_iterator IT
unsigned int nHits() const