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);
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:
41  edm::RunningAverage localRA;
42 };
43 
44 #endif
RunningAverage.h
HitPairGenerator::run
const OrderedHitPairs & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) override
Definition: HitPairGenerator.cc:5
OrderedHitPairs
Definition: OrderedHitPairs.h:8
HitPairGenerator::clear
void clear() final
Definition: HitPairGenerator.cc:16
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
edm
HLT enums.
Definition: AlignableModifier.h:19
HitPairGenerator::thePairs
OrderedHitPairs thePairs
Definition: HitPairGenerator.h:40
HitPairGenerator::HitPairGenerator
HitPairGenerator(unsigned int size=4000)
Definition: HitPairGenerator.cc:3
HitPairGenerator::~HitPairGenerator
~HitPairGenerator() override
Definition: HitPairGenerator.h:28
SeedingLayerSetsHits.h
RecHitsSortedInPhi.h
Event
trackingPlots.other
other
Definition: trackingPlots.py:1465
OrderedHitPairs.h
HitPairGenerator::HitPairGenerator
HitPairGenerator(HitPairGenerator const &other)
Definition: HitPairGenerator.h:26
HitPairGenerator
Definition: HitPairGenerator.h:23
OrderedHitsGenerator
Definition: OrderedHitsGenerator.h:14
edm::EventSetup
Definition: EventSetup.h:57
HitPairGenerator::localRA
edm::RunningAverage localRA
Definition: HitPairGenerator.h:41
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
HitPairGenerator::hitPairs
virtual void hitPairs(const TrackingRegion &reg, OrderedHitPairs &prs, const edm::Event &ev, const edm::EventSetup &es)=0
HLT_2018_cff.region
region
Definition: HLT_2018_cff.py:81479
TrackingRegion
Definition: TrackingRegion.h:38
EventSetup
edm::Event
Definition: Event.h:73
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
OrderedHitsGenerator.h