#include <HitTripletGenerator.h>
Public Member Functions | |
virtual void | clear () |
HitTripletGenerator (unsigned int size=500) | |
virtual void | hitTriplets (const TrackingRegion ®, OrderedHitTriplets &prs, const edm::Event &ev, const edm::EventSetup &es)=0 |
virtual void | hitTriplets (const TrackingRegion ®, OrderedHitTriplets &prs, const edm::EventSetup &es) |
virtual const OrderedHitTriplets & | run (const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es) |
virtual | ~HitTripletGenerator () |
Private Attributes | |
OrderedHitTriplets | theTriplets |
Definition at line 15 of file HitTripletGenerator.h.
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.
{ }
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; }
Definition at line 35 of file HitTripletGenerator.h.
Referenced by clear(), HitTripletGenerator(), and run().