Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:23

0001 
0002 #include <iostream>
0003 
0004 #include "Pythia6ParticleGun.h"
0005 
0006 #include "FWCore/Utilities/interface/Exception.h"
0007 
0008 #include "FWCore/Framework/interface/EDProducer.h"
0009 #include "FWCore/Framework/interface/EventSetup.h"
0010 
0011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0012 
0013 //#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
0014 
0015 //#include "FWCore/Framework/interface/MakerMacros.h"
0016 
0017 using namespace edm;
0018 using namespace gen;
0019 
0020 Pythia6ParticleGun::Pythia6ParticleGun(const ParameterSet& pset) : Pythia6Gun(pset) {
0021   ParameterSet pgun_params = pset.getParameter<ParameterSet>("PGunParameters");
0022   fPartIDs = pgun_params.getParameter<std::vector<int> >("ParticleID");
0023 }
0024 
0025 Pythia6ParticleGun::~Pythia6ParticleGun() {}