CMS 3D CMS Logo

HIPixelMedianVtxProducer.h
Go to the documentation of this file.
1 #ifndef HIPixelMedianVtxProducer_H
2 #define HIPixelMedianVtxProducer_H
3 
6 
9 
10 namespace edm {
11  class Event;
12  class EventSetup;
13 } // namespace edm
14 
16 public:
17  explicit HIPixelMedianVtxProducer(const edm::ParameterSet& ps);
19  void produce(edm::Event& ev, const edm::EventSetup& es) override;
20 
21 private:
22  void beginJob() override{};
23 
25  double thePtMin;
26  unsigned int thePeakFindThresh;
30  double theFitMaxZ;
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
RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
EDProducer.h
HIPixelMedianVtxProducer::~HIPixelMedianVtxProducer
~HIPixelMedianVtxProducer() override
Definition: HIPixelMedianVtxProducer.h:18
HIPixelMedianVtxProducer::theFitThreshold
int theFitThreshold
Definition: HIPixelMedianVtxProducer.h:29
edm::EDGetTokenT< reco::TrackCollection >
edm
HLT enums.
Definition: AlignableModifier.h:19
HIPixelMedianVtxProducer::thePeakFindBinning
int thePeakFindBinning
Definition: HIPixelMedianVtxProducer.h:28
edm::one::EDProducer
Definition: EDProducer.h:30
HIPixelMedianVtxProducer::thePeakFindMaxZ
double thePeakFindMaxZ
Definition: HIPixelMedianVtxProducer.h:27
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
Track.h
TrackFwd.h
reco::Track
Definition: Track.h:27
Event
HIPixelMedianVtxProducer::theTrackCollection
edm::EDGetTokenT< reco::TrackCollection > theTrackCollection
Definition: HIPixelMedianVtxProducer.h:22
ComparePairs
Definition: HIPixelMedianVtxProducer.h:34
edm::ParameterSet
Definition: ParameterSet.h:47
HIPixelMedianVtxProducer::theFitMaxZ
double theFitMaxZ
Definition: HIPixelMedianVtxProducer.h:30
HIPixelMedianVtxProducer::HIPixelMedianVtxProducer
HIPixelMedianVtxProducer(const edm::ParameterSet &ps)
Definition: HIPixelMedianVtxProducer.cc:22
HIPixelMedianVtxProducer::produce
void produce(edm::Event &ev, const edm::EventSetup &es) override
Definition: HIPixelMedianVtxProducer.cc:39
HIPixelMedianVtxProducer::beginJob
void beginJob() override
Definition: HIPixelMedianVtxProducer.h:22
edm::EventSetup
Definition: EventSetup.h:58
HIPixelMedianVtxProducer
Definition: HIPixelMedianVtxProducer.h:15
HIPixelMedianVtxProducer::thePeakFindThresh
unsigned int thePeakFindThresh
Definition: HIPixelMedianVtxProducer.h:26
HIPixelMedianVtxProducer::thePtMin
double thePtMin
Definition: HIPixelMedianVtxProducer.h:25
HIPixelMedianVtxProducer::theFitBinning
int theFitBinning
Definition: HIPixelMedianVtxProducer.h:31
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
EventSetup
ParameterSet.h
ComparePairs::operator()
bool operator()(const reco::Track *t1, const reco::Track *t2)
Definition: HIPixelMedianVtxProducer.h:35
edm::Event
Definition: Event.h:73