Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
16
class
TrackingRegion
;
17
namespace
edm {
class
Event
;
class
EventSetup
; }
18
#include <vector>
19
20
class
MultiHitGenerator
:
public
OrderedHitsGenerator
{
21
public
:
22
23
MultiHitGenerator
(
unsigned
int
size
=400) :
localRA
(
size
){}
24
MultiHitGenerator
(
MultiHitGenerator
const
& other) :
localRA
(other.
localRA
.
mean
()){}
25
26
27
virtual
~MultiHitGenerator
() { }
28
29
virtual
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
virtual
void
clear
();
40
41
private
:
42
OrderedMultiHits
theHitSets
;
43
44
protected
:
45
edm::RunningAverage
localRA
;
46
};
47
48
49
#endif
MultiHitGenerator::~MultiHitGenerator
virtual ~MultiHitGenerator()
Definition:
MultiHitGenerator.h:27
timingPdfMaker.mean
int mean
Definition:
timingPdfMaker.py:154
edm::RunningAverage
Definition:
RunningAverage.h:17
MultiHitGenerator::hitSets
virtual void hitSets(const TrackingRegion ®, OrderedMultiHits &prs, const edm::EventSetup &es)
Definition:
MultiHitGenerator.h:33
OrderedMultiHits.h
MultiHitGenerator::clear
virtual void clear()
Definition:
MultiHitGenerator.cc:16
MultiHitGenerator::theHitSets
OrderedMultiHits theHitSets
Definition:
MultiHitGenerator.h:42
MultiHitGenerator::MultiHitGenerator
MultiHitGenerator(MultiHitGenerator const &other)
Definition:
MultiHitGenerator.h:24
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrackingRegion
Definition:
TrackingRegion.h:40
HLT_FULL_cff.region
tuple region
Definition:
HLT_FULL_cff.py:72724
Event
Definition:
Event.h:16
RunningAverage.h
EventSetup
MultiHitGenerator
Definition:
MultiHitGenerator.h:20
edm::EventSetup
Definition:
EventSetup.h:45
mayown_ptr.h
OrderedMultiHits
Definition:
OrderedMultiHits.h:8
BaseTrackerRecHit.h
MultiHitGenerator::run
virtual const OrderedMultiHits & run(const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es) final
Definition:
MultiHitGenerator.cc:5
MultiHitGenerator::localRA
edm::RunningAverage localRA
Definition:
MultiHitGenerator.h:45
MultiHitGenerator::MultiHitGenerator
MultiHitGenerator(unsigned int size=400)
Definition:
MultiHitGenerator.h:23
OrderedHitsGenerator
Definition:
OrderedHitsGenerator.h:10
edm::Event
Definition:
Event.h:65
findQualityFiles.size
tuple size
Write out results.
Definition:
findQualityFiles.py:442
OrderedHitsGenerator.h
Generated for CMSSW Reference Manual by
1.8.5