CMS 3D CMS Logo

Public Member Functions | Protected Attributes

gen::Pythia6ParticleGun Class Reference

#include <Pythia6ParticleGun.h>

Inheritance diagram for gen::Pythia6ParticleGun:
gen::Pythia6Gun edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper gen::Pythia6EGun gen::Pythia6JetGun gen::Pythia6PtGun gen::Pythia6PtYDistGun

List of all members.

Public Member Functions

 Pythia6ParticleGun (const edm::ParameterSet &)
virtual ~Pythia6ParticleGun ()

Protected Attributes

std::vector< int > fPartIDs

Detailed Description

Definition at line 29 of file Pythia6ParticleGun.h.


Constructor & Destructor Documentation

Pythia6ParticleGun::Pythia6ParticleGun ( const edm::ParameterSet pset)

Definition at line 20 of file Pythia6ParticleGun.cc.

References fPartIDs, and edm::ParameterSet::getParameter().

                                                                 :
   Pythia6Gun(pset)
{
   
   ParameterSet pgun_params = 
      pset.getParameter<ParameterSet>("PGunParameters"); 
   fPartIDs    = pgun_params.getParameter< std::vector<int> >("ParticleID");

}
Pythia6ParticleGun::~Pythia6ParticleGun ( ) [virtual]

Definition at line 30 of file Pythia6ParticleGun.cc.

{
}

Member Data Documentation

std::vector<int> gen::Pythia6ParticleGun::fPartIDs [protected]