Main Page
Namespaces
Classes
Package Documentation
RecoTracker
TkSeedGenerator
interface
MultiHitGenerator.h
Go to the documentation of this file.
1
#ifndef MultiHitGenerator_H
2
#define MultiHitGenerator_H
3
8
#include "
RecoTracker/TkTrackingRegions/interface/OrderedHitsGenerator.h
"
9
#include "
RecoTracker/TkSeedingLayers/interface/OrderedMultiHits.h
"
10
11
#include "
DataFormats/TrackerRecHit2D/interface/BaseTrackerRecHit.h
"
12
#include "
DataFormats/TrackingRecHit/interface/mayown_ptr.h
"
13
#include "
FWCore/Utilities/interface/RunningAverage.h
"
14
15
class
TrackingRegion
;
16
namespace
edm
{
17
class
Event
;
18
class
EventSetup
;
19
}
// namespace edm
20
#include <vector>
21
22
class
MultiHitGenerator
:
public
OrderedHitsGenerator
{
23
public
:
24
MultiHitGenerator
(
unsigned
int
size
= 400) : localRA(
size
) {}
25
MultiHitGenerator
(
MultiHitGenerator
const
&
other
) : localRA(other.localRA.
mean
()) {}
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
:
42
OrderedMultiHits
theHitSets
;
43
44
protected
:
45
edm::RunningAverage
localRA
;
46
};
47
48
#endif
findQualityFiles.size
size
Write out results.
Definition:
findQualityFiles.py:443
edm::RunningAverage
Definition:
RunningAverage.h:17
MultiHitGenerator::hitSets
virtual void hitSets(const TrackingRegion ®, OrderedMultiHits &prs, const edm::EventSetup &es)
Definition:
MultiHitGenerator.h:32
OrderedMultiHits.h
HLT_2018_cff.region
region
Definition:
HLT_2018_cff.py:81376
SiStripPI::mean
Definition:
SiStripPayloadInspectorHelper.h:169
MultiHitGenerator::theHitSets
OrderedMultiHits theHitSets
Definition:
MultiHitGenerator.h:42
MultiHitGenerator::MultiHitGenerator
MultiHitGenerator(MultiHitGenerator const &other)
Definition:
MultiHitGenerator.h:25
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrackingRegion
Definition:
TrackingRegion.h:40
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
RunningAverage.h
EventSetup
MultiHitGenerator
Definition:
MultiHitGenerator.h:22
hitfit::clear
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
Definition:
matutil.cc:151
trackingPlots.other
other
Definition:
trackingPlots.py:1455
edm::EventSetup
Definition:
EventSetup.h:57
mayown_ptr.h
MultiHitGenerator::~MultiHitGenerator
~MultiHitGenerator() override
Definition:
MultiHitGenerator.h:27
OrderedMultiHits
Definition:
OrderedMultiHits.h:8
BaseTrackerRecHit.h
MultiHitGenerator::localRA
edm::RunningAverage localRA
Definition:
MultiHitGenerator.h:45
Event
edm
HLT enums.
Definition:
AlignableModifier.h:19
MultiHitGenerator::MultiHitGenerator
MultiHitGenerator(unsigned int size=400)
Definition:
MultiHitGenerator.h:24
OrderedHitsGenerator
Definition:
OrderedHitsGenerator.h:14
edm::Event
Definition:
Event.h:72
OrderedHitsGenerator.h
Generated for CMSSW Reference Manual by
1.8.11