Classes | |
class | HitConv |
class | HitExtractor |
class | HitExtractorPIX |
class | HitExtractorSTRP |
class | SeedingLayer |
Typedefs | |
typedef std::vector< SeedingLayer > | SeedingLayers |
typedef std::vector < std::vector< SeedingLayer > > | SeedingLayerSets |
Functions | |
template<typename DSTV , typename A , typename B > | |
void | range2SeedingHits (DSTV const &dstv, HitExtractor::Hits &v, std::pair< A, B > const &sel, const SeedingLayer &sl, const edm::EventSetup &es) |
typedef std::vector<SeedingLayer> ctfseeding::SeedingLayers |
Definition at line 8 of file SeedingLayerSets.h.
typedef std::vector<std::vector<SeedingLayer> > ctfseeding::SeedingLayerSets |
Definition at line 9 of file SeedingLayerSets.h.
void ctfseeding::range2SeedingHits | ( | DSTV const & | dstv, |
HitExtractor::Hits & | v, | ||
std::pair< A, B > const & | sel, | ||
const SeedingLayer & | sl, | ||
const edm::EventSetup & | es | ||
) | [inline] |
Definition at line 45 of file HitExtractor.h.
Referenced by ctfseeding::HitExtractorPIX::hits(), and ctfseeding::HitExtractorSTRP::hits().
{ typename DSTV::Range range = dstv.equal_range(sel.first,sel.second); size_t ts = v.size(); for(typename DSTV::const_iterator id=range.first; id!=range.second; id++) ts += std::distance((*id).begin(), (*id).end()); v.reserve(ts); for(typename DSTV::const_iterator id=range.first; id!=range.second; id++){ std::transform((*id).begin(), (*id).end(), std::back_inserter(v), HitConv(sl,es)); } }