Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
GeneratorInterface
Pythia6Interface
plugins
Pythia6PartonGun.cc
Go to the documentation of this file.
1
2
#include <iostream>
3
4
#include "
Pythia6PartonGun.h
"
5
6
#include "
FWCore/Utilities/interface/Exception.h
"
7
8
#include "
FWCore/Framework/interface/EDProducer.h
"
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
using namespace
edm;
14
using namespace
gen
;
15
16
Pythia6PartonGun::Pythia6PartonGun(
const
ParameterSet
& pset ) :
17
Pythia6Gun
(pset)
18
{
19
20
ParameterSet
pgun_params =
21
pset.
getParameter
<
ParameterSet
>(
"PGunParameters"
);
22
fPartonID
= pgun_params.
getParameter
<
int
>(
"PartonID"
);
23
24
}
25
26
Pythia6PartonGun::~Pythia6PartonGun
()
27
{
28
}
29
30
void
Pythia6PartonGun::joinPartons
(
double
qmax )
31
{
32
33
int
njoin=2;
34
int
ijoin[]={1,2};
35
pyjoin_
( njoin, ijoin );
36
int
i1=1;
37
int
i2=2;
38
pyshow_
( i1, i2, qmax );
39
40
return
;
41
42
}
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
EventSetup.h
gen::pyjoin_
void pyjoin_(int &njoin, int ijoin[])
relval_steps.gen
def gen
Definition:
relval_steps.py:248
ParameterSet.h
gen::Pythia6Gun
Definition:
Pythia6Gun.h:41
EDProducer.h
Exception.h
gen::Pythia6PartonGun::joinPartons
void joinPartons(double qmax)
Definition:
Pythia6PartonGun.cc:30
Pythia6PartonGun.h
edm::ParameterSet
Definition:
ParameterSet.h:35
gen::pyshow_
void pyshow_(int &i1, int &i2, double &)
gen::Pythia6PartonGun::fPartonID
int fPartonID
Definition:
Pythia6PartonGun.h:34
gen::Pythia6PartonGun::~Pythia6PartonGun
virtual ~Pythia6PartonGun()
Definition:
Pythia6PartonGun.cc:26
Generated for CMSSW Reference Manual by
1.8.5