CMS 3D CMS Logo

Pythia6PartonGun.cc
Go to the documentation of this file.
1 
2 #include <iostream>
3 
4 #include "Pythia6PartonGun.h"
5 
7 
10 
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 
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 }
T getParameter(std::string const &) const
void pyjoin_(int &njoin, int ijoin[])
void joinPartons(double qmax)
HLT enums.
void pyshow_(int &i1, int &i2, double &)