CMS 3D CMS Logo

VoronoiBackground.h
Go to the documentation of this file.
1 #ifndef DataFormats_VoronoiBackground_h
2 #define DataFormats_VoronoiBackground_h
3 
6 
7 #include <string>
8 #include <vector>
9 
10 namespace reco {
12  public:
14  VoronoiBackground(double pt0, double pt1, double mt0, double mt1, double v);
15  virtual ~VoronoiBackground();
16 
17  double pt() const { return pt_posteq; }
18  double pt_equalized() const { return pt_posteq; }
19  double pt_subtracted() const { return pt_preeq; }
20 
21  double mt() const { return mt_posteq; }
22  double mt_equalized() const { return mt_posteq; }
23  double mt_initial() const { return mt_preeq; }
24 
25  double area() const { return voronoi_area; }
26 
27  protected:
28  double pt_preeq;
29  double pt_posteq;
30 
31  double mt_preeq;
32  double mt_posteq;
33 
34  double voronoi_area;
35  };
36 
39 
40 } // namespace reco
41 
42 #endif
edm::ValueMap< reco::VoronoiBackground > VoronoiMap
edm::Ref< reco::CandidateView > CandidateViewRef
double pt_subtracted() const
fixed size matrix