#include <BeamHaloProducer.h>
|
| BeamHaloProducer (const ParameterSet &) |
| Constructor. More...
|
|
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
|
virtual | ~BeamHaloProducer () |
| Destructor. More...
|
|
| EDProducer ()=default |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducerBase () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 23 of file BeamHaloProducer.h.
BeamHaloProducer::BeamHaloProducer |
( |
const ParameterSet & |
pset | ) |
|
BeamHaloProducer::~BeamHaloProducer |
( |
| ) |
|
|
virtual |
bool BeamHaloProducer::call_bh_set_parameters |
( |
int * |
ival, |
|
|
float * |
fval, |
|
|
const std::string |
cval_string |
|
) |
| |
|
private |
bool BeamHaloProducer::call_ki_bhg_fill |
( |
int & |
iret, |
|
|
float & |
weight |
|
) |
| |
|
private |
bool BeamHaloProducer::call_ki_bhg_init |
( |
long & |
seed | ) |
|
|
private |
bool BeamHaloProducer::call_ki_bhg_stat |
( |
int & |
iret | ) |
|
|
private |
void BeamHaloProducer::clear |
( |
void |
| ) |
|
|
private |
|
inlineoverrideprivatevirtual |
void BeamHaloProducer::endRunProduce |
( |
Run & |
r, |
|
|
const EventSetup & |
es |
|
) |
| |
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
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(), AlCaHLTBitMon_ParallelJobs::p, edm::Event::put(), edm::Event::streamID(), histoStyle::weight, create_public_pileup_plots::weights, and wrapper.
135 <<
"BeamHaloProducer: function call_ki_bhg_fill returned " << iret << endl;
144 for (
int theindex = 1; theindex<=
wrapper.number_entries(); theindex++) {
145 HepMC::GenVertex* Vtx =
new HepMC::GenVertex(HepMC::FourVector(
wrapper.x(theindex),
wrapper.y(theindex),
wrapper.z(theindex),
wrapper.t(theindex)));
149 Vtx->add_particle_out(Part);
150 evt->add_vertex(Vtx);
156 weights.push_back(weight);
158 std::auto_ptr<HepMCProduct> CMProduct(
new HepMCProduct());
159 if (
evt) CMProduct->addHepMCData(
evt);
160 e.
put(CMProduct,
"unsmeared");
EventNumber_t event() const
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool call_ki_bhg_fill(int &iret, float &weight)
StreamID streamID() const
static HepMC::HEPEVT_Wrapper wrapper
void BeamHaloProducer::setRandomEngine |
( |
CLHEP::HepRandomEngine * |
v | ) |
|
float edm::BeamHaloProducer::EG_MAX_ |
|
private |
float edm::BeamHaloProducer::EG_MIN_ |
|
private |
std::string edm::BeamHaloProducer::G3FNAME_ |
|
private |
int edm::BeamHaloProducer::GENMOD_ |
|
private |
bool edm::BeamHaloProducer::isInitialized_ |
|
private |
int edm::BeamHaloProducer::IW_HAD_ |
|
private |
int edm::BeamHaloProducer::IW_MUO_ |
|
private |
int edm::BeamHaloProducer::LHC_B1_ |
|
private |
int edm::BeamHaloProducer::LHC_B2_ |
|
private |