CMS 3D CMS Logo

Public Member Functions | Private Attributes

HitTripletGenerator Class Reference

#include <HitTripletGenerator.h>

Inheritance diagram for HitTripletGenerator:
OrderedHitsGenerator CombinedHitTripletGenerator CosmicHitTripletGenerator CosmicHitTripletGeneratorFromLayerTriplet HitTripletGeneratorFromPairAndLayers PixelTripletHLTGenerator PixelTripletLargeTipGenerator PixelTripletLowPtGenerator PixelTripletNoTipGenerator

List of all members.

Public Member Functions

virtual void clear ()
 HitTripletGenerator (unsigned int size=500)
virtual void hitTriplets (const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::Event &ev, const edm::EventSetup &es)=0
virtual void hitTriplets (const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::EventSetup &es)
virtual const OrderedHitTripletsrun (const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es)
virtual ~HitTripletGenerator ()

Private Attributes

OrderedHitTriplets theTriplets

Detailed Description

Definition at line 15 of file HitTripletGenerator.h.


Constructor & Destructor Documentation

HitTripletGenerator::HitTripletGenerator ( unsigned int  size = 500)

Definition at line 3 of file HitTripletGenerator.cc.

References theTriplets.

{
  theTriplets.reserve(nSize);
}
virtual HitTripletGenerator::~HitTripletGenerator ( ) [inline, virtual]

Definition at line 20 of file HitTripletGenerator.h.

{ }

Member Function Documentation

void HitTripletGenerator::clear ( void  ) [virtual]

Reimplemented from OrderedHitsGenerator.

Definition at line 16 of file HitTripletGenerator.cc.

References theTriplets.

{
  theTriplets.clear();
}
virtual void HitTripletGenerator::hitTriplets ( const TrackingRegion reg,
OrderedHitTriplets prs,
const edm::EventSetup es 
) [inline, virtual]

Reimplemented in CosmicHitTripletGenerator, and CosmicHitTripletGeneratorFromLayerTriplet.

Definition at line 26 of file HitTripletGenerator.h.

Referenced by run().

                               {}
virtual void HitTripletGenerator::hitTriplets ( const TrackingRegion reg,
OrderedHitTriplets prs,
const edm::Event ev,
const edm::EventSetup es 
) [pure virtual]
const OrderedHitTriplets & HitTripletGenerator::run ( const TrackingRegion region,
const edm::Event ev,
const edm::EventSetup es 
) [virtual]

Implements OrderedHitsGenerator.

Definition at line 8 of file HitTripletGenerator.cc.

References hitTriplets(), and theTriplets.

{
  theTriplets.clear();
  hitTriplets(region, theTriplets, ev, es);
  return theTriplets;
}

Member Data Documentation

Definition at line 35 of file HitTripletGenerator.h.

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