#include <RecoTracker/TkHitPairs/interface/HitPairGenerator.h>
Public Member Functions | |
virtual HitPairGenerator * | clone () const =0 |
HitPairGenerator (unsigned int size=30000) | |
virtual void | hitPairs (const TrackingRegion ®, OrderedHitPairs &prs, const edm::Event &ev, const edm::EventSetup &es)=0 |
virtual void | hitPairs (const TrackingRegion ®, OrderedHitPairs &prs, const edm::EventSetup &es) |
virtual const OrderedHitPairs & | run (const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es) |
virtual | ~HitPairGenerator () |
Private Attributes | |
OrderedHitPairs | thePairs |
Definition at line 17 of file HitPairGenerator.h.
HitPairGenerator::HitPairGenerator | ( | unsigned int | size = 30000 |
) |
Definition at line 3 of file HitPairGenerator.cc.
References thePairs.
00004 { 00005 thePairs.reserve(nSize); 00006 }
virtual HitPairGenerator::~HitPairGenerator | ( | ) | [inline, virtual] |
virtual HitPairGenerator* HitPairGenerator::clone | ( | ) | const [pure virtual] |
Implemented in CombinedHitPairGenerator, CosmicHitPairGenerator, CosmicHitPairGeneratorFromLayerPair, and HitPairGeneratorFromLayerPair.
Referenced by PixelTripletHLTGenerator::init(), and TripletGenerator::init().
virtual void HitPairGenerator::hitPairs | ( | const TrackingRegion & | reg, | |
OrderedHitPairs & | prs, | |||
const edm::Event & | ev, | |||
const edm::EventSetup & | es | |||
) | [pure virtual] |
virtual void HitPairGenerator::hitPairs | ( | const TrackingRegion & | reg, | |
OrderedHitPairs & | prs, | |||
const edm::EventSetup & | es | |||
) | [inline, virtual] |
Reimplemented in CosmicHitPairGenerator, and CosmicHitPairGeneratorFromLayerPair.
Definition at line 28 of file HitPairGenerator.h.
Referenced by TripletGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), and run().
const OrderedHitPairs & HitPairGenerator::run | ( | const TrackingRegion & | region, | |
const edm::Event & | ev, | |||
const edm::EventSetup & | es | |||
) | [virtual] |
Implements OrderedHitsGenerator.
Definition at line 8 of file HitPairGenerator.cc.
References hitPairs(), and thePairs.
00010 { 00011 thePairs.clear(); 00012 hitPairs(region, thePairs, ev, es); 00013 return thePairs; 00014 }
OrderedHitPairs HitPairGenerator::thePairs [private] |