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
MultiHitGenerator Class Referenceabstract

#include <MultiHitGenerator.h>

Inheritance diagram for MultiHitGenerator:
OrderedHitsGenerator CombinedMultiHitGenerator MultiHitGeneratorFromPairAndLayers MultiHitGeneratorFromChi2

Public Member Functions

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

Private Attributes

OrderedMultiHits theHitSets
 

Additional Inherited Members

- Public Attributes inherited from OrderedHitsGenerator
unsigned int theMaxElement
 

Detailed Description

Definition at line 15 of file MultiHitGenerator.h.

Constructor & Destructor Documentation

MultiHitGenerator::MultiHitGenerator ( unsigned int  size = 500)

Definition at line 3 of file MultiHitGenerator.cc.

References theHitSets.

4 {
5  theHitSets.reserve(nSize);
6 }
OrderedMultiHits theHitSets
virtual MultiHitGenerator::~MultiHitGenerator ( )
inlinevirtual

Definition at line 20 of file MultiHitGenerator.h.

20 { }

Member Function Documentation

void MultiHitGenerator::clear ( void  )
virtual

Reimplemented from OrderedHitsGenerator.

Definition at line 16 of file MultiHitGenerator.cc.

References theHitSets.

17 {
18  theHitSets.clear();
19 }
OrderedMultiHits theHitSets
virtual void MultiHitGenerator::hitSets ( const TrackingRegion reg,
OrderedMultiHits prs,
const edm::EventSetup es 
)
inlinevirtual

Definition at line 26 of file MultiHitGenerator.h.

Referenced by run().

27  {}
virtual void MultiHitGenerator::hitSets ( const TrackingRegion reg,
OrderedMultiHits prs,
const edm::Event ev,
const edm::EventSetup es 
)
pure virtual
const OrderedMultiHits & MultiHitGenerator::run ( const TrackingRegion region,
const edm::Event ev,
const edm::EventSetup es 
)
virtual

Implements OrderedHitsGenerator.

Definition at line 8 of file MultiHitGenerator.cc.

References hitSets(), and theHitSets.

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

Member Data Documentation

OrderedMultiHits MultiHitGenerator::theHitSets
private

Definition at line 35 of file MultiHitGenerator.h.

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