CMS 3D CMS Logo

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