CMS 3D CMS Logo

HitPairGenerator Class Reference

#include <RecoTracker/TkHitPairs/interface/HitPairGenerator.h>

Inheritance diagram for HitPairGenerator:

OrderedHitsGenerator CombinedHitPairGenerator CosmicHitPairGenerator CosmicHitPairGeneratorFromLayerPair HitPairGeneratorFromLayerPair

List of all members.

Public Member Functions

virtual HitPairGeneratorclone () const =0
 HitPairGenerator (unsigned int size=30000)
virtual void hitPairs (const TrackingRegion &reg, OrderedHitPairs &prs, const edm::Event &ev, const edm::EventSetup &es)=0
virtual void hitPairs (const TrackingRegion &reg, OrderedHitPairs &prs, const edm::EventSetup &es)
virtual const OrderedHitPairsrun (const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es)
virtual ~HitPairGenerator ()

Private Attributes

OrderedHitPairs thePairs


Detailed Description

Definition at line 17 of file HitPairGenerator.h.


Constructor & Destructor Documentation

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]

Definition at line 22 of file HitPairGenerator.h.

00022 { }


Member Function Documentation

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]

Implemented in CombinedHitPairGenerator, CosmicHitPairGenerator, CosmicHitPairGeneratorFromLayerPair, and HitPairGeneratorFromLayerPair.

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().

00029                                                                                {}

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 }


Member Data Documentation

OrderedHitPairs HitPairGenerator::thePairs [private]

Definition at line 37 of file HitPairGenerator.h.

Referenced by HitPairGenerator(), and run().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:24:19 2009 for CMSSW by  doxygen 1.5.4