CMS 3D CMS Logo

MultiHitGenerator.h
Go to the documentation of this file.
1 #ifndef MultiHitGenerator_H
2 #define MultiHitGenerator_H
3 
10 
14 
15 
16 class TrackingRegion;
17 namespace edm { class Event; class EventSetup; }
18 #include <vector>
19 
21 public:
22 
23  MultiHitGenerator(unsigned int size=400) : localRA(size){}
24  MultiHitGenerator( MultiHitGenerator const & other) : localRA(other.localRA.mean()){}
25 
26 
27  ~MultiHitGenerator() override { }
28 
29  const OrderedMultiHits & run(
30  const TrackingRegion& region, const edm::Event & ev, const edm::EventSetup& es) final;
31 
32  // temporary interface, for bckwd compatibility
33  virtual void hitSets( const TrackingRegion& reg, OrderedMultiHits & prs,
34  const edm::EventSetup& es){}
35 
36  virtual void hitSets( const TrackingRegion& reg, OrderedMultiHits & prs,
37  const edm::Event & ev, const edm::EventSetup& es) = 0;
38 
39  void clear() override;
40 
41 private:
43 
44 protected:
46 };
47 
48 
49 #endif
size
Write out results.
virtual void hitSets(const TrackingRegion &reg, OrderedMultiHits &prs, const edm::EventSetup &es)
OrderedMultiHits theHitSets
MultiHitGenerator(MultiHitGenerator const &other)
bool ev
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
Definition: matutil.cc:167
~MultiHitGenerator() override
edm::RunningAverage localRA
HLT enums.
MultiHitGenerator(unsigned int size=400)