#include <RandomtXiGunProducer.h>
Public Member Functions | |
RandomtXiGunProducer (const ParameterSet &) | |
virtual | ~RandomtXiGunProducer () |
Public Member Functions inherited from edm::BaseRandomtXiGunProducer | |
BaseRandomtXiGunProducer (const ParameterSet &) | |
void | beginRun (const edm::Run &r, const edm::EventSetup &) override |
void | endRun (const edm::Run &r, const edm::EventSetup &) override |
void | endRunProduce (edm::Run &r, const edm::EventSetup &) override |
virtual | ~BaseRandomtXiGunProducer () |
Public Member Functions inherited from edm::one::EDProducer< one::WatchRuns, EndRunProducer > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Protected Attributes | |
double | fMaxt |
double | fMaxXi |
double | fMint |
double | fMinXi |
Protected Attributes inherited from edm::BaseRandomtXiGunProducer | |
double | fECMS |
HepMC::GenEvent * | fEvt |
bool | fFireBackward |
bool | fFireForward |
double | fMaxPhi |
double | fMinPhi |
std::vector< int > | fPartIDs |
ESHandle< HepPDT::ParticleDataTable > | fPDGTable |
double | fpEnergy |
int | fVerbosity |
const HepPDT::ParticleData * | PData |
Private Member Functions | |
HepMC::FourVector | make_particle (double t, double Xi, double phi, int PartID, int direction) |
double | Minimum_t (double xi) |
virtual void | produce (Event &e, const EventSetup &es) override |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | 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::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Definition at line 10 of file RandomtXiGunProducer.h.
RandomtXiGunProducer::RandomtXiGunProducer | ( | const ParameterSet & | pset | ) |
Definition at line 26 of file RandomtXiGunProducer.cc.
References fMaxt, fMaxXi, fMint, fMinXi, and edm::ParameterSet::getParameter().
|
virtual |
Definition at line 43 of file RandomtXiGunProducer.cc.
|
private |
Definition at line 149 of file RandomtXiGunProducer.cc.
References funct::cos(), edm::BaseRandomtXiGunProducer::fpEnergy, edm::BaseRandomtXiGunProducer::fVerbosity, ResonanceBuilder::mass, edm::BaseRandomtXiGunProducer::PData, funct::sin(), mathSSE::sqrt(), and theta().
Referenced by produce().
|
inlineprivate |
Definition at line 21 of file RandomtXiGunProducer.h.
References edm::BaseRandomtXiGunProducer::fpEnergy, edm::BaseRandomtXiGunProducer::PData, funct::pow(), mathSSE::sqrt(), and hybridSuperClusters_cfi::xi.
Referenced by produce().
|
overrideprivatevirtual |
Definition at line 48 of file RandomtXiGunProducer.cc.
References funct::abs(), gather_cfg::cout, edm::EventID::event(), cmsRelvalreport::exit, edm::BaseRandomtXiGunProducer::fEvt, edm::BaseRandomtXiGunProducer::fFireBackward, edm::BaseRandomtXiGunProducer::fFireForward, edm::BaseRandomtXiGunProducer::fMaxPhi, fMaxt, fMaxXi, edm::BaseRandomtXiGunProducer::fMinPhi, fMint, fMinXi, edm::BaseRandomtXiGunProducer::fPartIDs, edm::BaseRandomtXiGunProducer::fPDGTable, edm::BaseRandomtXiGunProducer::fVerbosity, GenParticle::GenParticle, edm::RandomNumberGenerator::getEngine(), edm::EventBase::id(), make_particle(), hpstanc_transforms::max, Minimum_t(), eostools::move(), source_particleGun_cfi::ParticleID, CastorDigiValidation::PartID, edm::BaseRandomtXiGunProducer::PData, phi, edm::Event::put(), edm::Event::streamID(), and lumiQTWidget::t.
|
protected |
Definition at line 32 of file RandomtXiGunProducer.h.
Referenced by produce(), and RandomtXiGunProducer().
|
protected |
Definition at line 34 of file RandomtXiGunProducer.h.
Referenced by produce(), and RandomtXiGunProducer().
|
protected |
Definition at line 25 of file RandomtXiGunProducer.h.
Referenced by produce(), and RandomtXiGunProducer().
|
protected |
Definition at line 33 of file RandomtXiGunProducer.h.
Referenced by produce(), and RandomtXiGunProducer().