#include <RandomtXiGunProducer.h>
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 |
bool | fLog_t |
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) |
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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
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::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 9 of file RandomtXiGunProducer.h.
RandomtXiGunProducer::RandomtXiGunProducer | ( | const ParameterSet & | pset | ) |
Definition at line 25 of file RandomtXiGunProducer.cc.
References edm::BaseRandomtXiGunProducer::fLog_t, fMaxt, fMaxXi, fMint, fMinXi, edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().
|
override |
Definition at line 39 of file RandomtXiGunProducer.cc.
|
private |
Definition at line 141 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 18 of file RandomtXiGunProducer.h.
References edm::BaseRandomtXiGunProducer::fpEnergy, edm::BaseRandomtXiGunProducer::PData, funct::pow(), and mathSSE::sqrt().
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 43 of file RandomtXiGunProducer.cc.
References funct::abs(), edm::EventID::event(), beamvalidation::exit(), edm::BaseRandomtXiGunProducer::fEvt, edm::BaseRandomtXiGunProducer::fFireBackward, edm::BaseRandomtXiGunProducer::fFireForward, edm::BaseRandomtXiGunProducer::fLog_t, 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(), SiStripPI::max, Minimum_t(), eostools::move(), edm::BaseRandomtXiGunProducer::PData, phi, funct::pow(), edm::Event::put(), edm::Event::streamID(), and submitPVValidationJobs::t.
|
protected |
Definition at line 29 of file RandomtXiGunProducer.h.
Referenced by produce(), and RandomtXiGunProducer().
|
protected |
Definition at line 31 of file RandomtXiGunProducer.h.
Referenced by produce(), and RandomtXiGunProducer().
|
protected |
Definition at line 23 of file RandomtXiGunProducer.h.
Referenced by produce(), and RandomtXiGunProducer().
|
protected |
Definition at line 30 of file RandomtXiGunProducer.h.
Referenced by produce(), and RandomtXiGunProducer().