Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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/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 {
class
Event
;
class
EventSetup
; }
11
12
class
HIPixelMedianVtxProducer
:
public
edm::EDProducer
13
{
14
public
:
15
explicit
HIPixelMedianVtxProducer
(
const
edm::ParameterSet
& ps);
16
~HIPixelMedianVtxProducer
(){};
17
virtual
void
produce
(
edm::Event
&
ev
,
const
edm::EventSetup
& es);
18
19
private
:
20
void
beginJob
(){};
21
22
edm::EDGetTokenT<reco::TrackCollection>
theTrackCollection
;
23
double
thePtMin
;
24
unsigned
int
thePeakFindThresh
;
25
double
thePeakFindMaxZ
;
26
int
thePeakFindBinning
;
27
int
theFitThreshold
;
28
double
theFitMaxZ
;
29
int
theFitBinning
;
30
};
31
32
struct
ComparePairs
33
{
34
bool
operator()
(
const
reco::Track
* t1,
35
const
reco::Track
* t2)
36
{
37
return
(t1->
vz
() < t2->
vz
());
38
};
39
};
40
41
#endif
HIPixelMedianVtxProducer::thePeakFindThresh
unsigned int thePeakFindThresh
Definition:
HIPixelMedianVtxProducer.h:24
ComparePairs
Definition:
HIPixelMedianVtxProducer.h:32
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:90
TrackFwd.h
HIPixelMedianVtxProducer::beginJob
void beginJob()
Definition:
HIPixelMedianVtxProducer.h:20
edm::EDGetTokenT< reco::TrackCollection >
HIPixelMedianVtxProducer::theFitBinning
int theFitBinning
Definition:
HIPixelMedianVtxProducer.h:29
edm::EDProducer
Definition:
EDProducer.h:35
HIPixelMedianVtxProducer::produce
virtual void produce(edm::Event &ev, const edm::EventSetup &es)
Definition:
HIPixelMedianVtxProducer.cc:36
ParameterSet.h
HIPixelMedianVtxProducer
Definition:
HIPixelMedianVtxProducer.h:12
EventSetup
HIPixelMedianVtxProducer::thePeakFindMaxZ
double thePeakFindMaxZ
Definition:
HIPixelMedianVtxProducer.h:25
edm::EventSetup
Definition:
EventSetup.h:44
HIPixelMedianVtxProducer::theFitMaxZ
double theFitMaxZ
Definition:
HIPixelMedianVtxProducer.h:28
EDProducer.h
reco::TrackBase::vz
double vz() const
z coordinate of the reference point on track
Definition:
TrackBase.h:632
HIPixelMedianVtxProducer::theFitThreshold
int theFitThreshold
Definition:
HIPixelMedianVtxProducer.h:27
HIPixelMedianVtxProducer::thePtMin
double thePtMin
Definition:
HIPixelMedianVtxProducer.h:23
HIPixelMedianVtxProducer::~HIPixelMedianVtxProducer
~HIPixelMedianVtxProducer()
Definition:
HIPixelMedianVtxProducer.h:16
reco::Track
Definition:
Track.h:28
Event
HIPixelMedianVtxProducer::HIPixelMedianVtxProducer
HIPixelMedianVtxProducer(const edm::ParameterSet &ps)
Definition:
HIPixelMedianVtxProducer.cc:21
edm::ParameterSet
Definition:
ParameterSet.h:36
ComparePairs::operator()
bool operator()(const reco::Track *t1, const reco::Track *t2)
Definition:
HIPixelMedianVtxProducer.h:34
HIPixelMedianVtxProducer::thePeakFindBinning
int thePeakFindBinning
Definition:
HIPixelMedianVtxProducer.h:26
edm::Event
Definition:
Event.h:61
Track.h
HIPixelMedianVtxProducer::theTrackCollection
edm::EDGetTokenT< reco::TrackCollection > theTrackCollection
Definition:
HIPixelMedianVtxProducer.h:20
Generated for CMSSW Reference Manual by
1.8.5