7 #include <boost/bind.hpp> 8 #include <boost/ptr_container/ptr_deque.hpp> 38 ProducerSourceFromFiles(params, desc,
false),
72 newFileOpened =
false;
80 boost::shared_ptr<LHERunInfo> runInfoThis =
partonLevel->getRunInfo();
86 std::auto_ptr<LHERunInfoProduct> product(
88 std::for_each(
runInfo->getHeaders().begin(),
93 std::for_each(
runInfo->getComments().begin(),
136 std::unique_ptr<LHERunInfoProduct> product(
138 std::for_each(
runInfo->getHeaders().begin(),
143 std::for_each(
runInfo->getComments().begin(),
162 std::unique_ptr<LHERunInfoProduct> product(
191 std::unique_ptr<LHEEventProduct> product(
218 std::shared_ptr<edm::RunAuxiliary>
227 std::shared_ptr<edm::LuminosityBlockAuxiliary>
229 if (
processingMode() ==
Runs)
return std::shared_ptr<edm::LuminosityBlockAuxiliary>();
boost::shared_ptr< lhef::LHERunInfo > runInfo
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
static Timestamp invalidTimestamp()
void addHeader(const Header &header)
void addComment(const std::string &line)
edm::ProcessHistoryID phid_
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
edm::LHEProvenanceHelper lheProvenanceHelper_
void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lumiPrincipal) override
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
void endRun(edm::Run &run) override
void addWeight(const WGT &wgt)
boost::shared_ptr< lhef::LHEEvent > partonLevel
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
LuminosityBlockNumber_t luminosityBlock() const
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)
void beginRun(edm::Run &run) override
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)
TimeValue_t presentTime() const
edm::RunPrincipal * runPrincipal_
void setProcessHistoryID(ProcessHistoryID const &phid)
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
ProductProvenance eventProductProvenance_
boost::ptr_deque< LHERunInfoProduct > runInfoProducts
BranchDescription const eventProductBranchDescription_
void lheAugment(lhef::LHERunInfo const *runInfo)