CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HitTripletGenerator Class Referenceabstract

#include <HitTripletGenerator.h>

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

Public Member Functions

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

Private Attributes

OrderedHitTriplets theTriplets
 

Additional Inherited Members

- Public Attributes inherited from OrderedHitsGenerator
unsigned int theMaxElement
 

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.

4 {
5  theTriplets.reserve(nSize);
6 }
OrderedHitTriplets theTriplets
virtual HitTripletGenerator::~HitTripletGenerator ( )
inlinevirtual

Definition at line 20 of file HitTripletGenerator.h.

20 { }

Member Function Documentation

void HitTripletGenerator::clear ( void  )
virtual

Reimplemented from OrderedHitsGenerator.

Definition at line 16 of file HitTripletGenerator.cc.

References theTriplets.

17 {
18  theTriplets.clear();
19 }
OrderedHitTriplets theTriplets
virtual void HitTripletGenerator::hitTriplets ( const TrackingRegion reg,
OrderedHitTriplets prs,
const edm::EventSetup es 
)
inlinevirtual

Reimplemented in CosmicHitTripletGenerator, and CosmicHitTripletGeneratorFromLayerTriplet.

Definition at line 26 of file HitTripletGenerator.h.

Referenced by run().

27  {}
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.

10 {
11  theTriplets.clear();
12  hitTriplets(region, theTriplets, ev, es);
13  return theTriplets;
14 }
OrderedHitTriplets theTriplets
virtual void hitTriplets(const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::EventSetup &es)

Member Data Documentation

OrderedHitTriplets HitTripletGenerator::theTriplets
private

Definition at line 35 of file HitTripletGenerator.h.

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