CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MCSingleParticleFilter.h
Go to the documentation of this file.
1 #ifndef MCSingleParticleFilter_h
2 #define MCSingleParticleFilter_h
3 // -*- C++ -*-
4 //
5 // Package: MCSingleParticleFilter
6 // Class: MCSingleParticleFilter
7 //
8 /*
9 
10  Description: filter events based on the Pythia particleID 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 // $Id: MCSingleParticleFilter.h,v 1.2 2010/07/21 04:23:24 wmtan Exp $
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 // user include files
29 
32 
34 
35 
36 //
37 // class decleration
38 //
39 
41  public:
44 
45 
46  virtual bool filter(edm::Event&, const edm::EventSetup&);
47  private:
48  // ----------member data ---------------------------
49 
50  std::string label_;
51  std::vector<int> particleID;
52  std::vector<double> ptMin;
53  std::vector<double> etaMin;
54  std::vector<double> etaMax;
55  std::vector<int> status;
56 };
57 #endif
std::vector< double > ptMin
std::vector< double > etaMin
virtual bool filter(edm::Event &, const edm::EventSetup &)
std::vector< double > etaMax
std::vector< int > particleID
MCSingleParticleFilter(const edm::ParameterSet &)