CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MCProcessFilter.h
Go to the documentation of this file.
1 #ifndef MCPROCESSFILTER_h
2 #define MCPROCESSFILTER_h
3 // -*- C++ -*-
4 //
5 // Package: MCProcessFilter
6 // Class: MCProcessFilter
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: Filip Moortgat
17 // Created: Mon Sept 11 10:57:54 CET 2006
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 namespace edm {
40  class HepMCProduct;
41 }
42 
44  public:
45  explicit MCProcessFilter(const edm::ParameterSet&);
47 
48 
49  virtual bool filter(edm::Event&, const edm::EventSetup&);
50  private:
51  // ----------member data ---------------------------
52 
54  std::vector<int> processID;
55  std::vector<double> pthatMin;
56  std::vector<double> pthatMax;
57 };
58 #endif
edm::EDGetTokenT< edm::HepMCProduct > token_
std::vector< double > pthatMin
std::vector< int > processID
MCProcessFilter(const edm::ParameterSet &)
std::vector< double > pthatMax
virtual bool filter(edm::Event &, const edm::EventSetup &)