CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
gen::Pythia6ParticleGun Class Reference

#include <Pythia6ParticleGun.h>

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

Public Member Functions

 Pythia6ParticleGun (const edm::ParameterSet &)
 
virtual ~Pythia6ParticleGun ()
 
- Public Member Functions inherited from gen::Pythia6Gun
void beginJob ()
 
void beginRun (edm::Run &, edm::EventSetup const &)
 
void endJob ()
 
void endRun (edm::Run &, edm::EventSetup const &)
 
void produce (edm::Event &, const edm::EventSetup &)
 
 Pythia6Gun (const edm::ParameterSet &)
 
virtual ~Pythia6Gun ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
boost::function< void(const
BranchDescription &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 

Protected Attributes

std::vector< int > fPartIDs
 
- Protected Attributes inherited from gen::Pythia6Gun
HepMC::GenEvent * fEvt
 
bool fHepMCVerbosity
 
int fMaxEventsToPrint
 
double fMaxPhi
 
double fMinPhi
 
std::vector< int > fPartIDs
 
Pythia6ServicefPy6Service
 
int fPylistVerbosity
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
typedef WorkerT< EDProducerWorkerType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from gen::Pythia6Gun
HepMC::GenParticle * addAntiParticle (int &, int &, double &, double &, double &)
 
void attachPy6DecaysToGenEvent ()
 
virtual void generateEvent ()=0
 
void loadEvent (edm::Event &)
 
- Protected Member Functions inherited from edm::EDProducer
CurrentProcessingContext const * currentContext () const
 
- Protected Member Functions inherited from edm::ProducerBase
template<class TProducer , class TMethod >
void callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod)
 

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().

20  :
21  Pythia6Gun(pset)
22 {
23 
24  ParameterSet pgun_params =
25  pset.getParameter<ParameterSet>("PGunParameters");
26  fPartIDs = pgun_params.getParameter< std::vector<int> >("ParticleID");
27 
28 }
T getParameter(std::string const &) const
std::vector< int > fPartIDs
Pythia6Gun(const edm::ParameterSet &)
Definition: Pythia6Gun.cc:25
Pythia6ParticleGun::~Pythia6ParticleGun ( )
virtual

Definition at line 30 of file Pythia6ParticleGun.cc.

31 {
32 }

Member Data Documentation

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