CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Pythia6ParticleGun.cc
Go to the documentation of this file.
1 
2 #include <iostream>
3 
4 #include "Pythia6ParticleGun.h"
5 
7 
10 
12 
13 //#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
14 
15 //#include "FWCore/Framework/interface/MakerMacros.h"
16 
17 using namespace edm;
18 using namespace gen;
19 
20 Pythia6ParticleGun::Pythia6ParticleGun( const ParameterSet& pset ) :
21  Pythia6Gun(pset)
22 {
23 
24  ParameterSet pgun_params =
25  pset.getParameter<ParameterSet>("PGunParameters");
26  fPartIDs = pgun_params.getParameter< std::vector<int> >("ParticleID");
27 
28 }
29 
31 {
32 }
33 
T getParameter(std::string const &) const
std::vector< int > fPartIDs