test
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 
10 namespace edm { class Event; class EventSetup; }
11 
13 {
14 public:
15  explicit HIPixelMedianVtxProducer(const edm::ParameterSet& ps);
17  virtual void produce(edm::Event& ev, const edm::EventSetup& es) override;
18 
19 private:
20  void beginJob(){};
21 
23  double thePtMin;
24  unsigned int thePeakFindThresh;
28  double theFitMaxZ;
30 };
31 
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
bool ev
Definition: Event.h:16
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16
virtual void produce(edm::Event &ev, const edm::EventSetup &es) override
double vz() const
z coordinate of the reference point on track
Definition: TrackBase.h:664
HIPixelMedianVtxProducer(const edm::ParameterSet &ps)
bool operator()(const reco::Track *t1, const reco::Track *t2)
edm::EDGetTokenT< reco::TrackCollection > theTrackCollection