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 { 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() override{};
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
void beginJob()
Definition: Breakpoints.cc:15
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16
double vz() const
z coordinate of the reference point on track
Definition: TrackBase.h:669
HLT enums.
edm::EDGetTokenT< reco::TrackCollection > theTrackCollection