22 template <
class T> T
sqr( T
t) {
return t*
t;}
26 : theHitsGenerator(ohg), theComparitor(asc), theSeedCreator(asp)
33 : theHitsGenerator(aGenerator), theComparitor(aComparitor)
51 unsigned int nHitss = hitss.
size();
52 if (seedCollection.empty()) seedCollection.reserve(nHitss);
54 for (
unsigned int iHits = 0; iHits < nHitss; ++iHits) {
virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const TrackingRegion ®ion, const edm::EventSetup &es)=0
virtual unsigned int size() const =0
SeedGeneratorFromRegionHits(OrderedHitsGenerator *aGenerator, SeedComparitor *aComparitor=0, SeedCreator *aSeedCreator=0)
tuple SeedFromConsecutiveHitsCreator
~SeedGeneratorFromRegionHits()
virtual const OrderedSeedingHits & run(const TrackingRegion ®, const edm::Event &ev, const edm::EventSetup &es)=0
std::vector< TrajectorySeed > TrajectorySeedCollection
SeedComparitor * theComparitor
SeedCreator * theSeedCreator
OrderedHitsGenerator * theHitsGenerator
void run(TrajectorySeedCollection &seedCollection, const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es)
Square< F >::type sqr(const F &f)
virtual bool compatible(const SeedingHitSet &hits, const edm::EventSetup &es)=0