CMS 3D CMS Logo

Pythia6PartonGun.cc
Go to the documentation of this file.
1 
2 #include <iostream>
3 
4 #include "Pythia6PartonGun.h"
5 
7 
9 
11 
12 using namespace edm;
13 using namespace gen;
14 
15 Pythia6PartonGun::Pythia6PartonGun(const ParameterSet& pset) : Pythia6Gun(pset) {
16  ParameterSet pgun_params = pset.getParameter<ParameterSet>("PGunParameters");
17  fPartonID = pgun_params.getParameter<int>("PartonID");
18 }
19 
21 
22 void Pythia6PartonGun::joinPartons(double qmax) {
23  int njoin = 2;
24  int ijoin[] = {1, 2};
25  pyjoin_(njoin, ijoin);
26  int i1 = 1;
27  int i2 = 2;
28  pyshow_(i1, i2, qmax);
29 
30  return;
31 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
void pyjoin_(int &njoin, int ijoin[])
void joinPartons(double qmax)
HLT enums.
void pyshow_(int &i1, int &i2, double &)