CMS 3D CMS Logo

HitPairGenerator.h
Go to the documentation of this file.
1 #ifndef HitPairGenerator_H
2 #define HitPairGenerator_H
3 
4 #include <vector>
5 
16 
17 class TrackingRegion;
18 namespace edm { class Event; class EventSetup; }
19 
21 public:
22 
23  explicit HitPairGenerator(unsigned int size=4000);
24  HitPairGenerator(HitPairGenerator const & other) : localRA(other.localRA.mean()){}
25 
26  virtual ~HitPairGenerator() { }
27 
28  virtual const OrderedHitPairs & run(
29  const TrackingRegion& region, const edm::Event & ev, const edm::EventSetup& es);
30 
31  virtual void hitPairs( const TrackingRegion& reg, OrderedHitPairs & prs,
32  const edm::Event & ev, const edm::EventSetup& es) = 0;
33 
34  virtual void clear() final;
35 
36 private:
39 
40 };
41 
42 #endif
size
Write out results.
HitPairGenerator(HitPairGenerator const &other)
edm::RunningAverage localRA
bool ev
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
Definition: matutil.cc:167
OrderedHitPairs thePairs
HLT enums.
virtual ~HitPairGenerator()