CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Py8toJetInput.h
Go to the documentation of this file.
1 #ifndef gen_Py8toJetInput_h
2 #define gen_Py8toJetInput_h
3 
4 #include "Pythia8Plugins/FastJet3.h" // Py8 overhead on top of FastJets package
5 #include "Pythia8/Event.h"
6 
7 namespace lhef {
8 
9  class LHEEvent;
10 
11 }
12 
14 {
15  public:
16  typedef Pythia8::Event Event;
17  typedef Pythia8::Particle Particle;
18 
21 
22  virtual const std::vector<fastjet::PseudoJet> fillJetAlgoInput( const Event&, const Event&,
23  const lhef::LHEEvent* lhee=0,
24  const std::vector<int>* partonList=0 );
25  void setJetEtaMax( double max ) { fJetEtaMax=max; return; }
26 
27  protected:
28 
29  enum partonTypes { ID_TOP=6, ID_GLUON=21, ID_PHOTON=22 };
30  double fJetEtaMax;
31 
32  int getAncestor( int, const Event&, const Event& );
33 
34  std::vector<fastjet::PseudoJet> fJetInput;
35 
36 };
37 
39 {
40 
41  public:
42 
45 
46  const std::vector<fastjet::PseudoJet> fillJetAlgoInput( const Event&, const Event&,
47  const lhef::LHEEvent*,
48  const std::vector<int>* partonList=0 );
49 };
50 
51 #endif
void setJetEtaMax(double max)
Definition: Py8toJetInput.h:25
int getAncestor(int, const Event &, const Event &)
virtual const std::vector< fastjet::PseudoJet > fillJetAlgoInput(const Event &, const Event &, const lhef::LHEEvent *lhee=0, const std::vector< int > *partonList=0)
Definition: Py8toJetInput.cc:8
Pythia8::Particle Particle
Definition: Py8toJetInput.h:17
const T & max(const T &a, const T &b)
double fJetEtaMax
Definition: Py8toJetInput.h:30
const std::vector< fastjet::PseudoJet > fillJetAlgoInput(const Event &, const Event &, const lhef::LHEEvent *, const std::vector< int > *partonList=0)
Pythia8::Event Event
Definition: Py8toJetInput.h:16
std::vector< fastjet::PseudoJet > fJetInput
Definition: Py8toJetInput.h:34