CMS 3D CMS Logo

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 namespace edm {
38  class HepMCProduct;
39 }
40 
41 class MCZll : public edm::EDFilter {
42  public:
43  explicit MCZll(const edm::ParameterSet&);
44  ~MCZll();
45  virtual void endJob() ;
46 
47  virtual bool filter(edm::Event&, const edm::EventSetup&);
48  private:
49  // ----------member data ---------------------------
52  double leptonPtMin_;
53  double leptonPtMax_;
54  double leptonEtaMin_;
55  double leptonEtaMax_;
56  std::pair<double,double> zMassRange_;
57  unsigned int nEvents_;
58  unsigned int nAccepted_;
59  bool filter_;
60 };
61 #endif
edm::EDGetTokenT< edm::HepMCProduct > token_
Definition: MCZll.h:50
bool filter_
Definition: MCZll.h:59
double leptonPtMin_
Definition: MCZll.h:52
double leptonEtaMin_
Definition: MCZll.h:54
Definition: MCZll.h:41
int leptonFlavour_
Definition: MCZll.h:51
double leptonEtaMax_
Definition: MCZll.h:55
double leptonPtMax_
Definition: MCZll.h:53
unsigned int nEvents_
Definition: MCZll.h:57
HLT enums.
unsigned int nAccepted_
Definition: MCZll.h:58
std::pair< double, double > zMassRange_
Definition: MCZll.h:56