CMS 3D CMS Logo

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) : Pythia6Gun(pset) {
21  ParameterSet pgun_params = pset.getParameter<ParameterSet>("PGunParameters");
22  fPartIDs = pgun_params.getParameter<std::vector<int> >("ParticleID");
23 }
24 
EDProducer.h
edm
HLT enums.
Definition: AlignableModifier.h:19
gen::Pythia6ParticleGun::~Pythia6ParticleGun
~Pythia6ParticleGun() override
Definition: Pythia6ParticleGun.cc:25
Pythia6ParticleGun.h
gen::Pythia6Gun
Definition: Pythia6Gun.h:40
gen
Definition: PythiaDecays.h:13
gen::Pythia6ParticleGun::fPartIDs
std::vector< int > fPartIDs
Definition: Pythia6ParticleGun.h:36
edm::ParameterSet
Definition: ParameterSet.h:36
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
EventSetup.h
Exception.h
ParameterSet.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27