#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 | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
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 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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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(), edm::ParameterSet::getUntrackedParameter(), and muonDTDigis_cfi::pset.
|
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, EgHLTOffHistBins_cfi::mass, edm::BaseRandomtXiGunProducer::PData, phi, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, funct::sin(), mathSSE::sqrt(), submitPVValidationJobs::t, and theta().
Referenced by produce().
|
inlineprivate |
Definition at line 18 of file RandomtXiGunProducer.h.
References edm::BaseRandomtXiGunProducer::fpEnergy, edm::BaseRandomtXiGunProducer::PData, conifer::pow(), mathSSE::sqrt(), and protons_cff::xi.
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 43 of file RandomtXiGunProducer.cc.
References funct::abs(), MillePedeFileConverter_cfg::e, 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, genParticles2HepMC_cfi::genEventInfo, GenParticle::GenParticle, edm::RandomNumberGenerator::getEngine(), ZgammaFilter_cfi::HepMCProduct, make_particle(), SiStripPI::max, Minimum_t(), eostools::move(), LHEGenericFilter_cfi::ParticleID, genfragment_ptgun_cfg::PartID, edm::BaseRandomtXiGunProducer::PData, phi, conifer::pow(), 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().