7 #include <boost/bind.hpp> 37 ProducerSourceFromFiles(params, desc,
false),
69 newFileOpened =
false;
83 std::unique_ptr<LHERunInfoProduct> product(
129 auto product = std::make_unique<LHERunInfoProduct>(*runInfoProductLast_);
156 std::unique_ptr<LHEEventProduct> product(
183 std::shared_ptr<edm::RunAuxiliary>
192 std::shared_ptr<edm::LuminosityBlockAuxiliary>
194 if (
processingMode() ==
Runs)
return std::shared_ptr<edm::LuminosityBlockAuxiliary>();
const std::vector< std::string > & getComments() const
void incrementFileIndex()
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
static Timestamp invalidTimestamp()
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void addHeader(const Header &header)
void addComment(const std::string &line)
edm::ProcessHistoryID phid_
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
void fillRunInfoProduct(lhef::LHERunInfo const &, LHERunInfoProduct &)
edm::LHEProvenanceHelper lheProvenanceHelper_
std::unique_ptr< LHERunInfoProduct > runInfoProductLast_
void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lumiPrincipal) override
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
void addWeight(const WGT &wgt)
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
LuminosityBlockNumber_t luminosityBlock() const
boost::shared_ptr< lhef::LHEEvent > partonLevel_
bool setRunAndEventInfo(edm::EventID &, edm::TimeValue_t &, edm::EventAuxiliary::ExperimentType &) override
BranchDescription const runProductBranchDescription_
void fillLuminosityBlockPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
const std::vector< Header > & getHeaders() const
void putRunInfoProduct(edm::RunPrincipal &)
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const
unsigned long long TimeValue_t
LHESource(const edm::ParameterSet ¶ms, const edm::InputSourceDescription &desc)
void readEvent_(edm::EventPrincipal &eventPrincipal) override
ProcessHistoryID lheInit(ProcessHistoryRegistry &processHistoryRegistry)
void addComment(const std::string &line)
boost::shared_ptr< lhef::LHERunInfo > runInfoLast_
TimeValue_t presentTime() const
void setProcessHistoryID(ProcessHistoryID const &phid)
std::unique_ptr< lhef::LHEReader > reader_
void readRun_(edm::RunPrincipal &runPrincipal) override
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
EventID const & eventID() const
ProductProvenance eventProductProvenance_
BranchDescription const eventProductBranchDescription_
void lheAugment(lhef::LHERunInfo const *runInfo)