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