#include <BeamHaloProducer.h>
Public Member Functions | |
BeamHaloProducer (const ParameterSet &) | |
Constructor. More... | |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
virtual | ~BeamHaloProducer () |
Destructor. More... | |
Public Member Functions inherited from edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources > | |
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) |
Private Member Functions | |
virtual void | beginLuminosityBlock (LuminosityBlock const &, EventSetup const &) override |
bool | call_bh_set_parameters (int *ival, float *fval, const std::string cval_string) |
bool | call_ki_bhg_fill (int &iret, float &weight) |
bool | call_ki_bhg_init (long &seed) |
bool | call_ki_bhg_stat (int &iret) |
void | clear () |
virtual void | endLuminosityBlock (LuminosityBlock const &, EventSetup const &) override |
virtual void | endRunProduce (Run &r, const EventSetup &es) override |
virtual void | produce (Event &e, const EventSetup &es) override |
Private Attributes | |
float | EG_MAX_ |
float | EG_MIN_ |
HepMC::GenEvent * | evt |
std::string | G3FNAME_ |
int | GENMOD_ |
bool | isInitialized_ |
int | IW_HAD_ |
int | IW_MUO_ |
int | LHC_B1_ |
int | LHC_B2_ |
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 23 of file BeamHaloProducer.h.
BeamHaloProducer::BeamHaloProducer | ( | const ParameterSet & | pset | ) |
Constructor.
Definition at line 59 of file BeamHaloProducer.cc.
References call_bh_set_parameters(), gather_cfg::cout, objects.autophobj::float, edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Destructor.
Definition at line 53 of file BeamHaloProducer.cc.
|
overrideprivatevirtual |
Definition at line 104 of file BeamHaloProducer.cc.
References call_ki_bhg_init(), edm::LuminosityBlock::index(), isInitialized_, and SurveyInfoScenario_cff::seed.
|
private |
Definition at line 175 of file BeamHaloProducer.cc.
References BHSETPARAM.
Referenced by BeamHaloProducer().
|
private |
Definition at line 185 of file BeamHaloProducer.cc.
References KI_BHG_FILL.
Referenced by produce().
|
private |
Definition at line 180 of file BeamHaloProducer.cc.
References KI_BHG_INIT.
Referenced by beginLuminosityBlock().
|
private |
|
private |
Definition at line 96 of file BeamHaloProducer.cc.
|
inlineoverrideprivatevirtual |
|
overrideprivatevirtual |
Definition at line 166 of file BeamHaloProducer.cc.
References eostools::move(), and edm::Run::put().
|
overrideprivatevirtual |
Definition at line 116 of file BeamHaloProducer.cc.
References call_ki_bhg_fill(), edm::EventID::event(), edm::errors::EventCorruption, evt, Exception, GenParticle::GenParticle, edm::EventBase::id(), eostools::move(), AlCaHLTBitMon_ParallelJobs::p, edm::Event::put(), edm::Event::streamID(), create_public_lumi_plots::weights, and wrapper.
void BeamHaloProducer::setRandomEngine | ( | CLHEP::HepRandomEngine * | v | ) |
Definition at line 100 of file BeamHaloProducer.cc.
References _BeamHalo_randomEngine, and findQualityFiles::v.
|
private |
Definition at line 56 of file BeamHaloProducer.h.
|
private |
Definition at line 55 of file BeamHaloProducer.h.
|
private |
Definition at line 48 of file BeamHaloProducer.h.
Referenced by produce().
|
private |
Definition at line 57 of file BeamHaloProducer.h.
|
private |
Definition at line 50 of file BeamHaloProducer.h.
|
private |
Definition at line 59 of file BeamHaloProducer.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 54 of file BeamHaloProducer.h.
|
private |
Definition at line 53 of file BeamHaloProducer.h.
|
private |
Definition at line 51 of file BeamHaloProducer.h.
|
private |
Definition at line 52 of file BeamHaloProducer.h.