CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ZgammaMassFilter.h
Go to the documentation of this file.
1 #ifndef ZgammaMassFilter_h
2 #define ZgammaMassFilter_h
3 // -*- C++ -*-
4 //
5 // Package: ZgammaMassFilter
6 // Class: ZgammaMassFilter
7 //
8 /*
9 
10  Description: filter events based on the Pythia particle information
11 
12  Implementation: inherits from generic EDFilter
13 
14 */
15 //
16 // Original Author: Alexey Ferapontov
17 // Created: Thu July 26 11:57:54 CDT 2012
18 // $Id: ZgammaMassFilter.h,v 1.1 2012/08/10 12:46:29 lenzip Exp $
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 // user include files
29 
32 
34 
35 
36 //
37 // class decleration
38 //
39 namespace edm {
40  class HepMCProduct;
41 }
42 
44  public:
45  explicit ZgammaMassFilter(const edm::ParameterSet&);
47 
48 
49  virtual bool filter(edm::Event&, const edm::EventSetup&);
50  private:
51  // ----------memeber function----------------------
52  int charge(const int& Id);
53 
54  // ----------member data ---------------------------
55 
57 
58  double minPhotonPt;
59  double minLeptonPt;
60 
61  double minPhotonEta;
62  double minLeptonEta;
63 
64  double maxPhotonEta;
65  double maxLeptonEta;
66 
68  double minZgMass;
69 
70 };
71 #endif
edm::EDGetTokenT< edm::HepMCProduct > token_
virtual bool filter(edm::Event &, const edm::EventSetup &)
ZgammaMassFilter(const edm::ParameterSet &)
int charge(const int &Id)