CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 { class VoronoiBackground {
11 public:
13  VoronoiBackground(double pt0, double pt1, double mt0, double mt1, double v);
14  virtual ~VoronoiBackground();
15 
16  double pt() const{ return pt_posteq; }
17  double pt_equalized() const{ return pt_posteq; }
18  double pt_subtracted() const{ return pt_preeq; }
19 
20  double mt() const{ return mt_posteq; }
21  double mt_equalized() const{ return mt_posteq; }
22  double mt_initial() const{ return mt_preeq; }
23 
24  double area() const{ return voronoi_area; }
25 
26 protected:
27 
28  double pt_preeq;
29  double pt_posteq;
30 
31  double mt_preeq;
32  double mt_posteq;
33 
34  double voronoi_area;
35 
36 };
37 
40 
41 
42 }
43 
44 #endif
45 
46 
double mt_equalized() const
edm::ValueMap< reco::VoronoiBackground > VoronoiMap
double pt_equalized() const
edm::Ref< reco::CandidateView > CandidateViewRef
double mt_initial() const
double pt_subtracted() const