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 "FastJet3.h" // Py8 overhead on top of FastJets package
5 #include "Event.h"
6 
7 //#include "SimDataFormats/GeneratorProducts/interface/LHECommonBlocks.h"
8 //#include "GeneratorInterface/LHEInterface/interface/LHERunInfo.h"
9 //#include "GeneratorInterface/LHEInterface/interface/LHEEvent.h"
10 
11 namespace lhef {
12 
13  class LHEEvent;
14 
15 }
16 
18 {
19  public:
20  typedef Pythia8::Event Event;
21  typedef Pythia8::Particle Particle;
22 
25 
26  virtual const std::vector<fastjet::PseudoJet> fillJetAlgoInput( const Event&, const Event&,
27  const lhef::LHEEvent* lhee=0,
28  const std::vector<int>* partonList=0 );
29  void setJetEtaMax( double max ) { fJetEtaMax=max; return; }
30 
31  protected:
32 
33  enum partonTypes { ID_TOP=6, ID_GLUON=21, ID_PHOTON=22 };
34  double fJetEtaMax;
35 
36  int getAncestor( int, const Event&, const Event& );
37 
38  std::vector<fastjet::PseudoJet> fJetInput;
39 
40 };
41 
43 {
44 
45  public:
46 
49 
50  const std::vector<fastjet::PseudoJet> fillJetAlgoInput( const Event&, const Event&,
51  const lhef::LHEEvent*,
52  const std::vector<int>* partonList=0 );
53 };
54 
55 #endif
void setJetEtaMax(double max)
Definition: Py8toJetInput.h:29
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:21
const T & max(const T &a, const T &b)
double fJetEtaMax
Definition: Py8toJetInput.h:34
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:20
std::vector< fastjet::PseudoJet > fJetInput
Definition: Py8toJetInput.h:38