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 // system include files
21 #include <memory>
22 
23 // user include files
26 
29 
31 
32 //
33 // class decleration
34 //
35 namespace edm {
36  class HepMCProduct;
37 }
38 
39 class MCZll : public edm::EDFilter {
40 public:
41  explicit MCZll(const edm::ParameterSet&);
42  ~MCZll() override;
43  void endJob() override;
44 
45  bool filter(edm::Event&, const edm::EventSetup&) override;
46 
47 private:
48  // ----------member data ---------------------------
51  double leptonPtMin_;
52  double leptonPtMax_;
53  double leptonEtaMin_;
54  double leptonEtaMax_;
55  std::pair<double, double> zMassRange_;
56  unsigned int nEvents_;
57  unsigned int nAccepted_;
58  bool filter_;
59 };
60 #endif
edm::EDGetTokenT< edm::HepMCProduct > token_
Definition: MCZll.h:49
bool filter_
Definition: MCZll.h:58
double leptonPtMin_
Definition: MCZll.h:51
double leptonEtaMin_
Definition: MCZll.h:53
Definition: MCZll.h:39
int leptonFlavour_
Definition: MCZll.h:50
double leptonEtaMax_
Definition: MCZll.h:54
double leptonPtMax_
Definition: MCZll.h:52
std::pair< double, double > zMassRange_
Definition: MCZll.h:55
unsigned int nEvents_
Definition: MCZll.h:56
HLT enums.
unsigned int nAccepted_
Definition: MCZll.h:57