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 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
RunningAverage.h
OrderedMultiHits
Definition: OrderedMultiHits.h:8
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
edm
HLT enums.
Definition: AlignableModifier.h:19
MultiHitGenerator::clear
void clear() override
Definition: MultiHitGenerator.cc:16
MultiHitGenerator::MultiHitGenerator
MultiHitGenerator(MultiHitGenerator const &other)
Definition: MultiHitGenerator.h:25
Event
trackingPlots.other
other
Definition: trackingPlots.py:1465
MultiHitGenerator::localRA
edm::RunningAverage localRA
Definition: MultiHitGenerator.h:45
OrderedHitsGenerator
Definition: OrderedHitsGenerator.h:14
MultiHitGenerator
Definition: MultiHitGenerator.h:22
MultiHitGenerator::MultiHitGenerator
MultiHitGenerator(unsigned int size=400)
Definition: MultiHitGenerator.h:24
edm::EventSetup
Definition: EventSetup.h:57
OrderedMultiHits.h
BaseTrackerRecHit.h
mayown_ptr.h
MultiHitGenerator::~MultiHitGenerator
~MultiHitGenerator() override
Definition: MultiHitGenerator.h:27
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
HLT_2018_cff.region
region
Definition: HLT_2018_cff.py:81479
TrackingRegion
Definition: TrackingRegion.h:38
MultiHitGenerator::hitSets
virtual void hitSets(const TrackingRegion &reg, OrderedMultiHits &prs, const edm::EventSetup &es)
Definition: MultiHitGenerator.h:32
EventSetup
edm::Event
Definition: Event.h:73
MultiHitGenerator::run
const OrderedMultiHits & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final
Definition: MultiHitGenerator.cc:5
MultiHitGenerator::theHitSets
OrderedMultiHits theHitSets
Definition: MultiHitGenerator.h:42
edm::RunningAverage
Definition: RunningAverage.h:17
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
OrderedHitsGenerator.h