Main Page
Namespaces
Classes
Package Documentation
RecoHI
HiTracking
plugins
HIPixelMedianVtxProducer.h
Go to the documentation of this file.
1
#ifndef HIPixelMedianVtxProducer_H
2
#define HIPixelMedianVtxProducer_H
3
4
#include "
FWCore/Framework/interface/one/EDProducer.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
7
#include "
DataFormats/TrackReco/interface/Track.h
"
8
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
9
10
namespace
edm
{
11
class
Event
;
12
class
EventSetup
;
13
}
// namespace edm
14
15
class
HIPixelMedianVtxProducer
:
public
edm::one::EDProducer
<> {
16
public
:
17
explicit
HIPixelMedianVtxProducer
(
const
edm::ParameterSet
& ps);
18
~HIPixelMedianVtxProducer
()
override
{};
19
void
produce(
edm::Event
&
ev
,
const
edm::EventSetup
& es)
override
;
20
21
private
:
22
void
beginJob
()
override
{};
23
24
edm::EDGetTokenT<reco::TrackCollection>
theTrackCollection
;
25
double
thePtMin
;
26
unsigned
int
thePeakFindThresh
;
27
double
thePeakFindMaxZ
;
28
int
thePeakFindBinning
;
29
int
theFitThreshold
;
30
double
theFitMaxZ
;
31
int
theFitBinning
;
32
};
33
34
struct
ComparePairs
{
35
bool
operator()
(
const
reco::Track
*
t1
,
const
reco::Track
*
t2
) {
return
(t1->
vz
() < t2->
vz
()); };
36
};
37
38
#endif
HIPixelMedianVtxProducer::thePeakFindThresh
unsigned int thePeakFindThresh
Definition:
HIPixelMedianVtxProducer.h:26
ComparePairs
Definition:
HIPixelMedianVtxProducer.h:34
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrackFwd.h
edm::EDGetTokenT< reco::TrackCollection >
HIPixelMedianVtxProducer::theFitBinning
int theFitBinning
Definition:
HIPixelMedianVtxProducer.h:31
bk::beginJob
void beginJob()
Definition:
Breakpoints.cc:14
ParameterSet.h
HIPixelMedianVtxProducer
Definition:
HIPixelMedianVtxProducer.h:15
EventSetup
RandomServiceHelper.t1
t1
Definition:
RandomServiceHelper.py:256
HIPixelMedianVtxProducer::~HIPixelMedianVtxProducer
~HIPixelMedianVtxProducer() override
Definition:
HIPixelMedianVtxProducer.h:18
HIPixelMedianVtxProducer::thePeakFindMaxZ
double thePeakFindMaxZ
Definition:
HIPixelMedianVtxProducer.h:27
edm::EventSetup
Definition:
EventSetup.h:57
HIPixelMedianVtxProducer::theFitMaxZ
double theFitMaxZ
Definition:
HIPixelMedianVtxProducer.h:30
reco::TrackBase::vz
double vz() const
z coordinate of the reference point on track
Definition:
TrackBase.h:626
HIPixelMedianVtxProducer::theFitThreshold
int theFitThreshold
Definition:
HIPixelMedianVtxProducer.h:29
HIPixelMedianVtxProducer::thePtMin
double thePtMin
Definition:
HIPixelMedianVtxProducer.h:25
reco::Track
Definition:
Track.h:27
EDProducer.h
Event
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
ComparePairs::operator()
bool operator()(const reco::Track *t1, const reco::Track *t2)
Definition:
HIPixelMedianVtxProducer.h:35
HIPixelMedianVtxProducer::thePeakFindBinning
int thePeakFindBinning
Definition:
HIPixelMedianVtxProducer.h:28
edm::Event
Definition:
Event.h:72
Track.h
edm::one::EDProducer
Definition:
EDProducer.h:30
HIPixelMedianVtxProducer::theTrackCollection
edm::EDGetTokenT< reco::TrackCollection > theTrackCollection
Definition:
HIPixelMedianVtxProducer.h:22
RandomServiceHelper.t2
t2
Definition:
RandomServiceHelper.py:257
Generated for CMSSW Reference Manual by
1.8.11