Main Page
Namespaces
Classes
Package Documentation
GIT Directory
WorkBook
Offline Guide
Release schedule
•
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 "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
17
class
Py8toJetInput
18
{
19
public
:
20
typedef
Pythia8::Event
Event
;
21
typedef
Pythia8::Particle
Particle
;
22
23
Py8toJetInput
():
fJetEtaMax
(10.) {}
24
~Py8toJetInput
() {}
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
42
class
Py8toJetInputHEPEVT
:
public
Py8toJetInput
43
{
44
45
public
:
46
47
Py8toJetInputHEPEVT
() {}
48
~Py8toJetInputHEPEVT
() {}
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
Py8toJetInput::setJetEtaMax
void setJetEtaMax(double max)
Definition:
Py8toJetInput.h:29
lhef::LHEEvent
Definition:
LHEEvent.h:25
Py8toJetInput::Py8toJetInput
Py8toJetInput()
Definition:
Py8toJetInput.h:23
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:21
Py8toJetInput
Definition:
Py8toJetInput.h:17
max
const T & max(const T &a, const T &b)
Definition:
MaterialBudgetTrackerHistos.cc:4
Py8toJetInput::ID_GLUON
Definition:
Py8toJetInput.h:33
Py8toJetInput::~Py8toJetInput
~Py8toJetInput()
Definition:
Py8toJetInput.h:24
Py8toJetInput::fJetEtaMax
double fJetEtaMax
Definition:
Py8toJetInput.h:34
Py8toJetInputHEPEVT::Py8toJetInputHEPEVT
Py8toJetInputHEPEVT()
Definition:
Py8toJetInput.h:47
Py8toJetInput::partonTypes
partonTypes
Definition:
Py8toJetInput.h:33
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:33
Py8toJetInput::Event
Pythia8::Event Event
Definition:
Py8toJetInput.h:20
Py8toJetInput::fJetInput
std::vector< fastjet::PseudoJet > fJetInput
Definition:
Py8toJetInput.h:38
Py8toJetInput::ID_TOP
Definition:
Py8toJetInput.h:33
Py8toJetInputHEPEVT
Definition:
Py8toJetInput.h:42
Py8toJetInputHEPEVT::~Py8toJetInputHEPEVT
~Py8toJetInputHEPEVT()
Definition:
Py8toJetInput.h:48
Generated for CMSSW Reference Manual by
1.8.5