7 #include <boost/bind.hpp>
8 #include <boost/ptr_container/ptr_deque.hpp>
35 ProducerSourceFromFiles(params, desc,
false),
69 newFileOpened =
false;
77 boost::shared_ptr<LHERunInfo> runInfoThis =
partonLevel->getRunInfo();
83 std::auto_ptr<LHERunInfoProduct> product(
85 std::for_each(
runInfo->getHeaders().begin(),
90 std::for_each(
runInfo->getComments().begin(),
133 std::unique_ptr<LHERunInfoProduct> product(
135 std::for_each(
runInfo->getHeaders().begin(),
140 std::for_each(
runInfo->getComments().begin(),
159 std::unique_ptr<LHERunInfoProduct> product(
188 std::unique_ptr<LHEEventProduct> product(
boost::shared_ptr< lhef::LHERunInfo > runInfo
void addHeader(const Header &header)
void addComment(const std::string &line)
virtual void endJob() override
edm::ProcessHistoryID phid_
edm::LHEProvenanceHelper lheProvenanceHelper_
virtual void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lumiPrincipal) override
virtual void endRun(edm::Run &run) override
void addWeight(const WGT &wgt)
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp)
boost::shared_ptr< lhef::LHEEvent > partonLevel
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
virtual bool setRunAndEventInfo(edm::EventID &, edm::TimeValue_t &, edm::EventAuxiliary::ExperimentType &) override
boost::shared_ptr< lhef::LHERunInfo > runInfoLast
BranchDescription const runProductBranchDescription_
void fillLuminosityBlockPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
virtual void beginRun(edm::Run &run) override
unsigned long long TimeValue_t
LHESource(const edm::ParameterSet ¶ms, const edm::InputSourceDescription &desc)
virtual void readEvent_(edm::EventPrincipal &eventPrincipal) override
ProcessHistoryID lheInit(ProcessHistoryRegistry &processHistoryRegistry)
void addComment(const std::string &line)
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance)
TimeValue_t presentTime() const
edm::RunPrincipal * runPrincipal_
void setProcessHistoryID(ProcessHistoryID const &phid)
virtual void readRun_(edm::RunPrincipal &runPrincipal) override
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
EventID const & eventID() const
std::auto_ptr< lhef::LHEReader > reader
volatile std::atomic< bool > shutdown_flag false
ProductProvenance eventProductProvenance_
boost::ptr_deque< LHERunInfoProduct > runInfoProducts
BranchDescription const eventProductBranchDescription_
void lheAugment(lhef::LHERunInfo const *runInfo)