CMS 3D CMS Logo

HitTripletGenerator.h
Go to the documentation of this file.
1 #ifndef HitTripletGenerator_H
2 #define HitTripletGenerator_H
3 
10 
12 
13 class TrackingRegion;
14 namespace edm {
15  class Event;
16  class EventSetup;
17 } // namespace edm
18 #include <vector>
19 
21 public:
22  HitTripletGenerator(unsigned int size = 500);
24 
25  ~HitTripletGenerator() override {}
26 
27  const OrderedHitTriplets& run(const TrackingRegion& region, const edm::Event& ev, const edm::EventSetup& es) final;
28 
29  // temporary interface, for bckwd compatibility
30  virtual void hitTriplets(const TrackingRegion& reg, OrderedHitTriplets& prs, const edm::EventSetup& es) {}
31 
32  virtual void hitTriplets(const TrackingRegion& reg,
33  OrderedHitTriplets& 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
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
edm
HLT enums.
Definition: AlignableModifier.h:19
HitTripletGenerator::theTriplets
OrderedHitTriplets theTriplets
Definition: HitTripletGenerator.h:40
Event
trackingPlots.other
other
Definition: trackingPlots.py:1465
OrderedHitTriplets.h
HitTripletGenerator::clear
void clear() final
Definition: HitTripletGenerator.cc:17
HitTripletGenerator::run
const OrderedHitTriplets & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final
Definition: HitTripletGenerator.cc:5
HitTripletGenerator::HitTripletGenerator
HitTripletGenerator(unsigned int size=500)
Definition: HitTripletGenerator.cc:3
OrderedHitsGenerator
Definition: OrderedHitsGenerator.h:14
OrderedHitTriplets
Definition: OrderedHitTriplets.h:9
edm::EventSetup
Definition: EventSetup.h:57
HitTripletGenerator
Definition: HitTripletGenerator.h:20
HitTripletGenerator::hitTriplets
virtual void hitTriplets(const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::EventSetup &es)
Definition: HitTripletGenerator.h:30
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
HitTripletGenerator::~HitTripletGenerator
~HitTripletGenerator() override
Definition: HitTripletGenerator.h:25
HLT_2018_cff.region
region
Definition: HLT_2018_cff.py:81479
TrackingRegion
Definition: TrackingRegion.h:40
EventSetup
HitTripletGenerator::HitTripletGenerator
HitTripletGenerator(HitTripletGenerator const &other)
Definition: HitTripletGenerator.h:23
edm::Event
Definition: Event.h:73
HitTripletGenerator::localRA
edm::RunningAverage localRA
Definition: HitTripletGenerator.h:41
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
OrderedHitsGenerator.h