CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MCZll.h
Go to the documentation of this file.
1 #ifndef MCZll_h
2 #define MCZll_h
3 // -*- C++ -*-
4 //
5 // Package: MCZll
6 // Class: MCZll
7 //
8 /*
9 
10  Description: filter events based on the Pythia ProcessID and the Pt_hat
11 
12  Implementation: inherits from generic EDFilter
13 
14 */
15 //
16 // Original Author: Paolo Meridiani
17 //
18 //
19 
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
27 
30 
32 
33 
34 //
35 // class decleration
36 //
37 
38 class MCZll : public edm::EDFilter {
39  public:
40  explicit MCZll(const edm::ParameterSet&);
41  ~MCZll();
42  virtual void endJob() ;
43 
44  virtual bool filter(edm::Event&, const edm::EventSetup&);
45  private:
46  // ----------member data ---------------------------
49  double leptonPtMin_;
50  double leptonPtMax_;
51  double leptonEtaMin_;
52  double leptonEtaMax_;
53  std::pair<double,double> zMassRange_;
54  unsigned int nEvents_;
55  unsigned int nAccepted_;
56  bool filter_;
57 };
58 #endif
std::string label_
Definition: MCZll.h:47
bool filter_
Definition: MCZll.h:56
double leptonPtMin_
Definition: MCZll.h:49
double leptonEtaMin_
Definition: MCZll.h:51
Definition: MCZll.h:38
int leptonFlavour_
Definition: MCZll.h:48
double leptonEtaMax_
Definition: MCZll.h:52
virtual void endJob()
Definition: MCZll.cc:49
~MCZll()
Definition: MCZll.cc:41
double leptonPtMax_
Definition: MCZll.h:50
unsigned int nEvents_
Definition: MCZll.h:54
MCZll(const edm::ParameterSet &)
Definition: MCZll.cc:13
unsigned int nAccepted_
Definition: MCZll.h:55
std::pair< double, double > zMassRange_
Definition: MCZll.h:53
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition: MCZll.cc:57