#include <Pythia6EGun.h>
Public Member Functions | |
Pythia6EGun (const edm::ParameterSet &) | |
virtual | ~Pythia6EGun () |
Public Member Functions inherited from gen::Pythia6ParticleGun | |
Pythia6ParticleGun (const edm::ParameterSet &) | |
virtual | ~Pythia6ParticleGun () |
Public Member Functions inherited from gen::Pythia6Gun | |
void | beginJob () override |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
void | produce (edm::Event &, const edm::EventSetup &) override |
Pythia6Gun (const edm::ParameterSet &) | |
virtual | ~Pythia6Gun () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Member Functions | |
void | generateEvent (CLHEP::HepRandomEngine *) |
Protected Member Functions inherited from gen::Pythia6Gun | |
HepMC::GenParticle * | addAntiParticle (int &, int &, double &, double &, double &) |
void | attachPy6DecaysToGenEvent () |
void | loadEvent (edm::Event &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Attributes | |
bool | fAddAntiParticle |
double | fMaxE |
double | fMaxEta |
double | fMinE |
double | fMinEta |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from gen::Pythia6ParticleGun | |
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 |
Pythia6Service * | fPy6Service |
int | fPylistVerbosity |
Definition at line 12 of file Pythia6EGun.h.
Pythia6EGun::Pythia6EGun | ( | const edm::ParameterSet & | pset | ) |
Definition at line 18 of file Pythia6EGun.cc.
References fAddAntiParticle, fMaxE, fMaxEta, fMinE, fMinEta, and edm::ParameterSet::getParameter().
|
virtual |
Definition at line 33 of file Pythia6EGun.cc.
|
protectedvirtual |
Implements gen::Pythia6Gun.
Definition at line 37 of file Pythia6EGun.cc.
References gen::Pythia6Gun::addAntiParticle(), eta, create_public_lumi_plots::exp, fAddAntiParticle, gen::Pythia6Gun::fEvt, fMaxE, fMaxEta, gen::Pythia6Gun::fMaxPhi, fMinE, fMinEta, gen::Pythia6Gun::fMinPhi, gen::Pythia6ParticleGun::fPartIDs, gen::Pythia6Gun::fPy6Service, GenParticle::GenParticle, i, gen::p, phi(), gen::py1ent_(), gen::pyexec_(), gen::pymass_(), and gen::pyr_().
|
private |
Definition at line 30 of file Pythia6EGun.h.
Referenced by generateEvent(), and Pythia6EGun().
|
private |
Definition at line 29 of file Pythia6EGun.h.
Referenced by generateEvent(), and Pythia6EGun().
|
private |
Definition at line 27 of file Pythia6EGun.h.
Referenced by generateEvent(), and Pythia6EGun().
|
private |
Definition at line 28 of file Pythia6EGun.h.
Referenced by generateEvent(), and Pythia6EGun().
|
private |
Definition at line 26 of file Pythia6EGun.h.
Referenced by generateEvent(), and Pythia6EGun().