#include <Example/ExternalLHEProducer/src/ExternalLHEProducer.cc>
Classes | |
class | FileCloseSentry |
Public Member Functions | |
ExternalLHEProducer (const edm::ParameterSet &iConfig) | |
~ExternalLHEProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run &run, edm::EventSetup const &es) |
int | closeDescriptors (int preserve) |
virtual void | endLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual void | endRun (edm::Run &, edm::EventSetup const &) |
void | executeScript () |
virtual void | nextEvent () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
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::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 65 of file ExternalLHEProducer.cc.
|
explicit |
Definition at line 128 of file ExternalLHEProducer.cc.
ExternalLHEProducer::~ExternalLHEProducer | ( | ) |
Definition at line 144 of file ExternalLHEProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 211 of file ExternalLHEProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 464 of file ExternalLHEProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 217 of file ExternalLHEProducer.cc.
References LHERunInfoProduct::addComment(), LHERunInfoProduct::addHeader(), args_, edm::hlt::Exception, executeScript(), edm::Service< T >::isAvailable(), LogDebug, edm::RandomNumberGenerator::mySeed(), nEvents_, nextEvent(), outputFile_, AlCaHLTBitMon_ParallelJobs::p, edm::Run::put(), reader_, runInfo, runInfoLast, runInfoProducts, createPayload::skip, and wasMerged.
|
private |
Definition at line 312 of file ExternalLHEProducer.cc.
Referenced by executeScript().
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 470 of file ExternalLHEProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 294 of file ExternalLHEProducer.cc.
References edm::hlt::Exception, outputFile_, edm::Run::put(), reader_, and runInfoProducts.
|
private |
Definition at line 351 of file ExternalLHEProducer.cc.
References dir2webdir::argc, args_, dirstructure::argv, closeDescriptors(), edm::hlt::Exception, i, NULL, evf::utils::pid, pipe::pipe(), SiPixelLorentzAngle_cfi::read, scriptName_, ntuplemaker::status, and TablePrint::write.
Referenced by beginRun().
|
static |
Definition at line 476 of file ExternalLHEProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), and edm::ParameterSetDescription::setComment().
|
privatevirtual |
Definition at line 492 of file ExternalLHEProducer.cc.
References partonLevel, reader_, runInfo, and runInfoLast.
Referenced by beginRun(), and produce().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 155 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 436 of file ExternalLHEProducer.cc.
References BUFSIZE, edm::hlt::Exception, n, outputFile_, and SiPixelLorentzAngle_cfi::read.
|
private |
Definition at line 91 of file ExternalLHEProducer.cc.
Referenced by beginRun(), executeScript(), ExternalLHEProducer(), and valtools.webpage::parseArgs().
|
private |
Definition at line 93 of file ExternalLHEProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 92 of file ExternalLHEProducer.cc.
Referenced by ExternalLHEProducer().
|
private |
Definition at line 94 of file ExternalLHEProducer.cc.
|
private |
Definition at line 90 of file ExternalLHEProducer.cc.
Referenced by beginRun(), endRun(), and readOutput().
|
private |
Definition at line 99 of file ExternalLHEProducer.cc.
Referenced by nextEvent(), and produce().
|
private |
Definition at line 96 of file ExternalLHEProducer.cc.
Referenced by beginRun(), endRun(), and nextEvent().
|
private |
Definition at line 98 of file ExternalLHEProducer.cc.
Referenced by beginRun(), nextEvent(), and produce().
|
private |
Definition at line 97 of file ExternalLHEProducer.cc.
Referenced by beginRun(), and nextEvent().
|
private |
Definition at line 100 of file ExternalLHEProducer.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 89 of file ExternalLHEProducer.cc.
Referenced by executeScript().
|
private |
Definition at line 101 of file ExternalLHEProducer.cc.
Referenced by beginRun(), and produce().