CMS 3D CMS Logo

HitTripletGenerator.h
Go to the documentation of this file.
1 #ifndef RecoTracker_PixelSeeding_HitTripletGenerator_h
2 #define RecoTracker_PixelSeeding_HitTripletGenerator_h
3 
10 
12 
13 class TrackingRegion;
14 namespace edm {
15  class Event;
16  class EventSetup;
17 } // namespace edm
18 #include <vector>
19 
21 public:
22  HitTripletGenerator(unsigned int size = 500);
24 
25  ~HitTripletGenerator() override {}
26 
27  const OrderedHitTriplets& run(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, const edm::EventSetup& es) {}
31 
32  virtual void hitTriplets(const TrackingRegion& reg,
33  OrderedHitTriplets& prs,
34  const edm::Event& ev,
35  const edm::EventSetup& es) = 0;
36 
37  void clear() final;
38 
39 private:
41  edm::RunningAverage localRA;
42 };
43 
44 #endif
size
Write out results.
OrderedHitTriplets theTriplets
HitTripletGenerator(HitTripletGenerator const &other)
HitTripletGenerator(unsigned int size=500)
edm::RunningAverage localRA
virtual void hitTriplets(const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::EventSetup &es)
HLT enums.
const OrderedHitTriplets & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final