#include <Example/ExternalLHEProducer/src/ExternalLHEProducer.cc>
Classes | |
class | FileCloseSentry |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | beginRunProduce (edm::Run &run, edm::EventSetup const &es) override |
int | closeDescriptors (int preserve) |
virtual void | endJob () override |
virtual void | endRunProduce (edm::Run &, edm::EventSetup const &) override |
void | executeScript () |
virtual void | nextEvent () |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
std::auto_ptr< std::string > | readOutput () |
Private Attributes | |
std::vector< std::string > | args_ |
uint32_t | nEvents_ |
uint32_t | npars_ |
std::string | outputContents_ |
std::string | outputFile_ |
boost::shared_ptr< lhef::LHEEvent > | partonLevel |
std::auto_ptr< lhef::LHEReader > | reader_ |
boost::shared_ptr < lhef::LHERunInfo > | runInfo |
boost::shared_ptr < lhef::LHERunInfo > | runInfoLast |
boost::ptr_deque < LHERunInfoProduct > | runInfoProducts |
std::string | scriptName_ |
bool | wasMerged |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 64 of file ExternalLHEProducer.cc.
|
explicit |
Definition at line 125 of file ExternalLHEProducer.cc.
|
virtual |
Definition at line 141 of file ExternalLHEProducer.cc.
|
overrideprivatevirtual |
Definition at line 215 of file ExternalLHEProducer.cc.
References LHERunInfoProduct::addComment(), LHERunInfoProduct::addHeader(), args_, edm::hlt::Exception, executeScript(), edm::Service< T >::isAvailable(), LogDebug, edm::RandomNumberGenerator::mySeed(), nEvents_, nextEvent(), outputContents_, AlCaHLTBitMon_ParallelJobs::p, edm::Run::put(), reader_, readOutput(), runInfo, runInfoLast, runInfoProducts, runGlobalFakeInputProducer::skip, and wasMerged.
|
private |
Definition at line 293 of file ExternalLHEProducer.cc.
References dqmPostProcessing_online::DIR, dir, and NULL.
Referenced by executeScript().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 208 of file ExternalLHEProducer.cc.
References reader_.
|
overrideprivatevirtual |
Definition at line 281 of file ExternalLHEProducer.cc.
References edm::Run::put(), and runInfoProducts.
|
private |
Definition at line 332 of file ExternalLHEProducer.cc.
References dir2webdir::argc, args_, getDQMSummary::argv, closeDescriptors(), edm::hlt::Exception, i, NULL, sysUtil::pid, pipe::pipe(), SiPixelLorentzAngle_cfi::read, scriptName_, ntuplemaker::status, and TablePrint::write.
Referenced by beginRunProduce().
|
static |
Definition at line 445 of file ExternalLHEProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatevirtual |
Definition at line 461 of file ExternalLHEProducer.cc.
References partonLevel, reader_, runInfo, and runInfoLast.
Referenced by beginRunProduce(), and produce().
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 152 of file ExternalLHEProducer.cc.
References LHEEventProduct::addComment(), LHERunInfoProduct::addComment(), LHERunInfoProduct::addHeader(), LHEEventProduct::addWeight(), nextEvent(), partonLevel, edm::Event::put(), runInfo, runInfoProducts, and wasMerged.
|
private |
Definition at line 417 of file ExternalLHEProducer.cc.
References BUFSIZE, edm::hlt::Exception, gen::n, outputFile_, SiPixelLorentzAngle_cfi::read, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by beginRunProduce().
|
private |
Definition at line 88 of file ExternalLHEProducer.cc.
Referenced by beginRunProduce(), executeScript(), ExternalLHEProducer(), valtools.webpage::parseArgs(), and batchmanager.BatchManager::ParseOptions().
|
private |
Definition at line 90 of file ExternalLHEProducer.cc.
Referenced by beginRunProduce().
|
private |
Definition at line 89 of file ExternalLHEProducer.cc.
Referenced by ExternalLHEProducer().
|
private |
Definition at line 91 of file ExternalLHEProducer.cc.
Referenced by beginRunProduce().
|
private |
Definition at line 87 of file ExternalLHEProducer.cc.
Referenced by readOutput().
|
private |
Definition at line 96 of file ExternalLHEProducer.cc.
Referenced by nextEvent(), and produce().
|
private |
Definition at line 93 of file ExternalLHEProducer.cc.
Referenced by beginRunProduce(), endJob(), and nextEvent().
|
private |
Definition at line 95 of file ExternalLHEProducer.cc.
Referenced by beginRunProduce(), nextEvent(), and produce().
|
private |
Definition at line 94 of file ExternalLHEProducer.cc.
Referenced by beginRunProduce(), and nextEvent().
|
private |
Definition at line 97 of file ExternalLHEProducer.cc.
Referenced by beginRunProduce(), endRunProduce(), and produce().
|
private |
Definition at line 86 of file ExternalLHEProducer.cc.
Referenced by executeScript().
|
private |
Definition at line 98 of file ExternalLHEProducer.cc.
Referenced by beginRunProduce(), and produce().