CMS 3D CMS Logo

PythiaDauVFilterMatchID.h
Go to the documentation of this file.
1 #ifndef PYTHIADAUVFILTERMATCHID_h
2 #define PYTHIADAUVFILTERMATCHID_h
3 // -*- C++ -*-
4 //
5 // Package: PythiaDauVFilterMatchID
6 // Class: PythiaDauVFilterMatchID
7 //
15 //
16 // Original Author: Daniele Pedrini
17 // Created: Apr 29 2008
18 // Adapted by Stephan Wiederkehr
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 // user include files
29 
32 
34 
35 #include "Pythia8/Pythia.h"
36 
37 //
38 // class decleration
39 //
40 namespace edm {
41  class HepMCProduct;
42 }
43 
44 struct decayTarget {
45  int pdgID;
47 
48 };
49 
51  public:
53  ~PythiaDauVFilterMatchID() override;
54 
55 
56  bool filter(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
57  private:
58  const int fVerbose;
60  std::vector<int> dauIDs;
61  const int particleID;
62  const int motherID;
63  const bool chargeconju;
64  const int ndaughters;
65  std::vector<double> minptcut;
66  const double maxptcut;
67  std::vector<double> minetacut;
68  std::vector<double> maxetacut;
69  std::unique_ptr<Pythia8::Pythia> fLookupGen; // this instance is for accessing particleData information
70 };
71 #endif
std::unique_ptr< Pythia8::Pythia > fLookupGen
std::vector< double > minetacut
std::vector< double > maxetacut
double maxEta
std::vector< double > minptcut
const edm::EDGetTokenT< edm::HepMCProduct > token_
HLT enums.