CMS 3D CMS Logo

Pythia6ParticleGun.cc
Go to the documentation of this file.
1 
2 #include <iostream>
3 
4 #include "Pythia6ParticleGun.h"
5 
7 
9 
10 using namespace edm;
11 using namespace gen;
12 
13 Pythia6ParticleGun::Pythia6ParticleGun(const ParameterSet& pset) : Pythia6Gun(pset) {
14  ParameterSet pgun_params = pset.getParameter<ParameterSet>("PGunParameters");
15  fPartIDs = pgun_params.getParameter<std::vector<int> >("ParticleID");
16 }
17 
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::vector< int > fPartIDs
HLT enums.