CMS 3D CMS Logo

Public Member Functions | Private Attributes

HitPairGenerator Class Reference

#include <HitPairGenerator.h>

Inheritance diagram for HitPairGenerator:
OrderedHitsGenerator CombinedHitPairGenerator CosmicHitPairGenerator CosmicHitPairGeneratorFromLayerPair HitPairGeneratorFromLayerPair

List of all members.

Public Member Functions

virtual void clear ()
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.

{
  thePairs.reserve(nSize);
}
virtual HitPairGenerator::~HitPairGenerator ( ) [inline, virtual]

Definition at line 22 of file HitPairGenerator.h.

{ }

Member Function Documentation

virtual void HitPairGenerator::clear ( void  ) [inline, virtual]

Reimplemented from OrderedHitsGenerator.

Definition at line 36 of file HitPairGenerator.h.

References thePairs.

{ thePairs.clear(); } 
virtual HitPairGenerator* HitPairGenerator::clone ( ) const [pure virtual]
virtual void HitPairGenerator::hitPairs ( const TrackingRegion reg,
OrderedHitPairs prs,
const edm::EventSetup es 
) [inline, virtual]
virtual void HitPairGenerator::hitPairs ( const TrackingRegion reg,
OrderedHitPairs prs,
const edm::Event ev,
const edm::EventSetup es 
) [pure virtual]
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.

{
  thePairs.clear();
  hitPairs(region, thePairs, ev, es);
  return thePairs;
}

Member Data Documentation

Definition at line 39 of file HitPairGenerator.h.

Referenced by clear(), HitPairGenerator(), and run().