21 template <
class T>
T sqr(
T t) {
return t*
t;}
26 : theHitsGenerator(ohg), theComparitor(asc), theSeedCreator(asp)
43 unsigned int nHitss = hitss.
size();
44 if (seedCollection.empty()) seedCollection.reserve(nHitss);
46 for (
unsigned int iHits = 0; iHits < nHitss; ++iHits) {
virtual unsigned int size() const =0
SeedGeneratorFromRegionHits(OrderedHitsGenerator *aGenerator, SeedComparitor *aComparitor=0, SeedCreator *aSeedCreator=0)
~SeedGeneratorFromRegionHits()
virtual bool compatible(const SeedingHitSet &hits, const TrackingRegion ®ion) const =0
virtual void init(const edm::EventSetup &es)=0
virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter)=0
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)