![]() |
![]() |
#include <BeamHaloProducer.h>
Private Member Functions | |
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 () |
void | endLuminosityBlock (LuminosityBlock const &, EventSetup const &) override |
void | endRunProduce (Run &r, const EventSetup &es) override |
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 | |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
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 |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
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 () |
![]() | |
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 () |
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 22 of file BeamHaloProducer.h.
BeamHaloProducer::BeamHaloProducer | ( | const ParameterSet & | pset | ) |
Constructor.
Definition at line 55 of file BeamHaloProducer.cc.
References call_bh_set_parameters(), gather_cfg::cout, dqmMemoryStats::float, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Destructor.
Definition at line 50 of file BeamHaloProducer.cc.
|
overrideprivate |
Definition at line 91 of file BeamHaloProducer.cc.
References call_ki_bhg_init(), isInitialized_, and fileCollector::seed.
|
private |
Definition at line 159 of file BeamHaloProducer.cc.
References BHSETPARAM.
Referenced by BeamHaloProducer().
|
private |
Definition at line 169 of file BeamHaloProducer.cc.
References KI_BHG_FILL.
Referenced by produce().
|
private |
Definition at line 164 of file BeamHaloProducer.cc.
References KI_BHG_INIT, and fileCollector::seed.
Referenced by beginLuminosityBlock().
|
private |
|
private |
Definition at line 87 of file BeamHaloProducer.cc.
|
inlineoverrideprivate |
Definition at line 41 of file BeamHaloProducer.h.
|
overrideprivate |
Definition at line 151 of file BeamHaloProducer.cc.
References eostools::move(), and writedatasetfile::run.
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 102 of file BeamHaloProducer.cc.
References call_ki_bhg_fill(), MillePedeFileConverter_cfg::e, edm::errors::EventCorruption, evt, Exception, genParticles2HepMC_cfi::genEventInfo, GenParticle::GenParticle, ZgammaFilter_cfi::HepMCProduct, eostools::move(), AlCaHLTBitMon_ParallelJobs::p, hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights, and wrapper.
void BeamHaloProducer::setRandomEngine | ( | CLHEP::HepRandomEngine * | v | ) |
Definition at line 89 of file BeamHaloProducer.cc.
References _BeamHalo_randomEngine, and findQualityFiles::v.
|
private |
Definition at line 53 of file BeamHaloProducer.h.
|
private |
Definition at line 52 of file BeamHaloProducer.h.
|
private |
Definition at line 45 of file BeamHaloProducer.h.
Referenced by produce().
|
private |
Definition at line 54 of file BeamHaloProducer.h.
|
private |
Definition at line 47 of file BeamHaloProducer.h.
|
private |
Definition at line 56 of file BeamHaloProducer.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 51 of file BeamHaloProducer.h.
|
private |
Definition at line 50 of file BeamHaloProducer.h.
|
private |
Definition at line 48 of file BeamHaloProducer.h.
|
private |
Definition at line 49 of file BeamHaloProducer.h.