Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
GeneratorInterface
Pythia8Interface
plugins
Py8toJetInput.h
Go to the documentation of this file.
1
#ifndef gen_Py8toJetInput_h
2
#define gen_Py8toJetInput_h
3
4
#include "Pythia8/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
13
class
Py8toJetInput
14
{
15
public
:
16
typedef
Pythia8::Event
Event
;
17
typedef
Pythia8::Particle
Particle
;
18
19
Py8toJetInput
():
fJetEtaMax
(10.) {}
20
~Py8toJetInput
() {}
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
38
class
Py8toJetInputHEPEVT
:
public
Py8toJetInput
39
{
40
41
public
:
42
43
Py8toJetInputHEPEVT
() {}
44
~Py8toJetInputHEPEVT
() {}
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
Py8toJetInput::setJetEtaMax
void setJetEtaMax(double max)
Definition:
Py8toJetInput.h:25
lhef::LHEEvent
Definition:
LHEEvent.h:25
Py8toJetInput::Py8toJetInput
Py8toJetInput()
Definition:
Py8toJetInput.h:19
Py8toJetInput::getAncestor
int getAncestor(int, const Event &, const Event &)
Definition:
Py8toJetInput.cc:188
Py8toJetInput::fillJetAlgoInput
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
Py8toJetInput::Particle
Pythia8::Particle Particle
Definition:
Py8toJetInput.h:17
Py8toJetInput
Definition:
Py8toJetInput.h:13
max
const T & max(const T &a, const T &b)
Definition:
MaterialBudgetTrackerHistos.cc:4
Py8toJetInput::ID_GLUON
Definition:
Py8toJetInput.h:29
Py8toJetInput::~Py8toJetInput
~Py8toJetInput()
Definition:
Py8toJetInput.h:20
Py8toJetInput::fJetEtaMax
double fJetEtaMax
Definition:
Py8toJetInput.h:30
Py8toJetInputHEPEVT::Py8toJetInputHEPEVT
Py8toJetInputHEPEVT()
Definition:
Py8toJetInput.h:43
Py8toJetInput::partonTypes
partonTypes
Definition:
Py8toJetInput.h:29
Event
Py8toJetInputHEPEVT::fillJetAlgoInput
const std::vector< fastjet::PseudoJet > fillJetAlgoInput(const Event &, const Event &, const lhef::LHEEvent *, const std::vector< int > *partonList=0)
Definition:
Py8toJetInput.cc:253
Py8toJetInput::ID_PHOTON
Definition:
Py8toJetInput.h:29
Py8toJetInput::Event
Pythia8::Event Event
Definition:
Py8toJetInput.h:16
Py8toJetInput::fJetInput
std::vector< fastjet::PseudoJet > fJetInput
Definition:
Py8toJetInput.h:34
Py8toJetInput::ID_TOP
Definition:
Py8toJetInput.h:29
Py8toJetInputHEPEVT
Definition:
Py8toJetInput.h:38
Py8toJetInputHEPEVT::~Py8toJetInputHEPEVT
~Py8toJetInputHEPEVT()
Definition:
Py8toJetInput.h:44
Generated for CMSSW Reference Manual by
1.8.5