CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MCSmartSingleParticleFilter.h
Go to the documentation of this file.
1 #ifndef MCSmartSingleParticleFilter_h
2 #define MCSmartSingleParticleFilter_h
3 // -*- C++ -*-
4 //
5 // Package: MCSmartSingleParticleFilter
6 // Class: MCSmartSingleParticleFilter
7 //
8 /*
9 
10  Description: filter events based on the Pythia particleID, the Pt and the production vertex
11 
12  Implementation: inherits from generic EDFilter
13 
14 */
15 // Created: J. Alcaraz, 04/07/2008
16 //
17 
18 
19 // system include files
20 #include <memory>
21 
22 // user include files
25 
28 
30 
31 
32 //
33 // class declaration
34 //
35 namespace edm {
36  class HepMCProduct;
37 }
38 
40  public:
43 
44 
45  virtual bool filter(edm::Event&, const edm::EventSetup&);
46  private:
47  // ----------member data ---------------------------
48 
50  std::vector<int> particleID;
51  std::vector<double> pMin;
52  std::vector<double> ptMin;
53  std::vector<double> etaMin;
54  std::vector<double> etaMax;
55  std::vector<int> status;
56  std::vector<double> decayRadiusMin;
57  std::vector<double> decayRadiusMax;
58  std::vector<double> decayZMin;
59  std::vector<double> decayZMax;
60 };
61 #endif
virtual bool filter(edm::Event &, const edm::EventSetup &)
MCSmartSingleParticleFilter(const edm::ParameterSet &)
edm::EDGetTokenT< edm::HepMCProduct > token_