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 // $Id: MCZll.h,v 1.2 2010/07/21 04:23:24 wmtan Exp $
18 //
19 //
20 
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
33 
34 
35 //
36 // class decleration
37 //
38 
39 class MCZll : public edm::EDFilter {
40  public:
41  explicit MCZll(const edm::ParameterSet&);
42  ~MCZll();
43  virtual void endJob() ;
44 
45  virtual bool filter(edm::Event&, const edm::EventSetup&);
46  private:
47  // ----------member data ---------------------------
48  std::string label_;
50  double leptonPtMin_;
51  double leptonPtMax_;
52  double leptonEtaMin_;
53  double leptonEtaMax_;
54  std::pair<double,double> zMassRange_;
55  unsigned int nEvents_;
56  unsigned int nAccepted_;
57  bool filter_;
58 };
59 #endif
std::string label_
Definition: MCZll.h:48
bool filter_
Definition: MCZll.h:57
double leptonPtMin_
Definition: MCZll.h:50
double leptonEtaMin_
Definition: MCZll.h:52
Definition: MCZll.h:39
int leptonFlavour_
Definition: MCZll.h:49
double leptonEtaMax_
Definition: MCZll.h:53
virtual void endJob()
Definition: MCZll.cc:49
~MCZll()
Definition: MCZll.cc:41
double leptonPtMax_
Definition: MCZll.h:51
unsigned int nEvents_
Definition: MCZll.h:55
MCZll(const edm::ParameterSet &)
Definition: MCZll.cc:13
unsigned int nAccepted_
Definition: MCZll.h:56
std::pair< double, double > zMassRange_
Definition: MCZll.h:54
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition: MCZll.cc:57