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 {
19  class Event;
20  class EventSetup;
21 } // namespace edm
22 
24 public:
25  explicit HitPairGenerator(unsigned int size = 4000);
26  HitPairGenerator(HitPairGenerator const& other) : localRA(other.localRA.mean()) {}
27 
28  ~HitPairGenerator() override {}
29 
30  const OrderedHitPairs& run(const TrackingRegion& region, const edm::Event& ev, const edm::EventSetup& es) override;
31 
32  virtual void hitPairs(const TrackingRegion& reg,
33  OrderedHitPairs& prs,
34  const edm::Event& ev,
35  const edm::EventSetup& es) = 0;
36 
37  void clear() final;
38 
39 private:
42 };
43 
44 #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:151
OrderedHitPairs thePairs
HLT enums.
~HitPairGenerator() override