CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HIPixelMedianVtxProducer.h
Go to the documentation of this file.
1 #ifndef HIPixelMedianVtxProducer_H
2 #define HIPixelMedianVtxProducer_H
3 
6 
9 
11 
12 namespace edm { class Event; class EventSetup; }
13 
15 {
16 public:
17  explicit HIPixelMedianVtxProducer(const edm::ParameterSet& ps);
19  virtual void produce(edm::Event& ev, const edm::EventSetup& es);
20 
21 private:
22  void beginJob(){};
23 
25  double thePtMin;
26  unsigned int thePeakFindThresh;
30  double theFitMaxZ;
32 };
33 
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
virtual void produce(edm::Event &ev, const edm::EventSetup &es)
double vz() const
z coordinate of the reference point on track
Definition: TrackBase.h:147
HIPixelMedianVtxProducer(const edm::ParameterSet &ps)
bool operator()(const reco::Track *t1, const reco::Track *t2)