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) : Pythia6Gun(pset) {
17  ParameterSet pgun_params = pset.getParameter<ParameterSet>("PGunParameters");
18  fPartonID = pgun_params.getParameter<int>("PartonID");
19 }
20 
22 
23 void Pythia6PartonGun::joinPartons(double qmax) {
24  int njoin = 2;
25  int ijoin[] = {1, 2};
26  pyjoin_(njoin, ijoin);
27  int i1 = 1;
28  int i2 = 2;
29  pyshow_(i1, i2, qmax);
30 
31  return;
32 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
void pyjoin_(int &njoin, int ijoin[])
void joinPartons(double qmax)
HLT enums.
void pyshow_(int &i1, int &i2, double &)