CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Protected Attributes

gen::Pythia6PartonGun Class Reference

#include <Pythia6PartonGun.h>

Inheritance diagram for gen::Pythia6PartonGun:
gen::Pythia6Gun edm::EDProducer edm::ProducerBase edm::ProductRegistryHelper gen::Pythia6PartonEGun gen::Pythia6PartonPtGun

List of all members.

Public Member Functions

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

Protected Member Functions

void joinPartons (double qmax)

Protected Attributes

int fPartonID

Detailed Description

Definition at line 20 of file Pythia6PartonGun.h.


Constructor & Destructor Documentation

Pythia6PartonGun::Pythia6PartonGun ( const edm::ParameterSet pset)

Definition at line 16 of file Pythia6PartonGun.cc.

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

                                                             :
   Pythia6Gun(pset)
{
   
   ParameterSet pgun_params = 
      pset.getParameter<ParameterSet>("PGunParameters"); 
   fPartonID = pgun_params.getParameter< int >("PartonID");
   
}
Pythia6PartonGun::~Pythia6PartonGun ( ) [virtual]

Definition at line 26 of file Pythia6PartonGun.cc.

{
}

Member Function Documentation

void Pythia6PartonGun::joinPartons ( double  qmax) [protected]

Definition at line 30 of file Pythia6PartonGun.cc.

References gen::pyjoin_(), and gen::pyshow_().

Referenced by gen::Pythia6PartonEGun::generateEvent(), and gen::Pythia6PartonPtGun::generateEvent().

{

   int njoin=2;
   int ijoin[]={1,2};
   pyjoin_( njoin, ijoin );
   int i1=1;
   int i2=2;
   pyshow_( i1, i2, qmax );

   return;

}

Member Data Documentation