Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:54

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