test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HitTripletGenerator.h
Go to the documentation of this file.
1 #ifndef HitTripletGenerator_H
2 #define HitTripletGenerator_H
3 
10 
12 
13 
14 class TrackingRegion;
15 namespace edm { class Event; class EventSetup; }
16 #include <vector>
17 
19 public:
20 
21  HitTripletGenerator(unsigned int size=500);
23 
24  virtual ~HitTripletGenerator() { }
25 
26  virtual const OrderedHitTriplets & run(
27  const TrackingRegion& region, const edm::Event & ev, const edm::EventSetup& es) final;
28 
29  // temporary interface, for bckwd compatibility
30  virtual void hitTriplets( const TrackingRegion& reg, OrderedHitTriplets & prs,
31  const edm::EventSetup& es){}
32 
33  virtual void hitTriplets( const TrackingRegion& reg, OrderedHitTriplets & prs,
34  const edm::Event & ev, const edm::EventSetup& es) = 0;
35 
36  virtual void clear() final;
37 
38 private:
40  edm::RunningAverage localRA;
41 };
42 
43 
44 #endif
OrderedHitTriplets theTriplets
HitTripletGenerator(HitTripletGenerator const &other)
bool ev
HitTripletGenerator(unsigned int size=500)
edm::RunningAverage localRA
virtual void clear() final
virtual void hitTriplets(const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::EventSetup &es)
tuple size
Write out results.
virtual const OrderedHitTriplets & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final