CMS 3D CMS Logo

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:
42  ~MCSmartSingleParticleFilter() override;
43 
44 
45  bool filter(edm::Event&, const edm::EventSetup&) override;
46  private:
47  // ----------memeber function----------------------
48 
49  // ----------member data ---------------------------
50 
52  std::vector<int> particleID;
53  std::vector<double> pMin;
54  std::vector<double> ptMin;
55  std::vector<double> etaMin;
56  std::vector<double> etaMax;
57  std::vector<int> status;
58  std::vector<double> decayRadiusMin;
59  std::vector<double> decayRadiusMax;
60  std::vector<double> decayZMin;
61  std::vector<double> decayZMax;
62  double betaBoost;
63 };
64 #endif
edm::EDGetTokenT< edm::HepMCProduct > token_
HLT enums.