Go to the documentation of this file.
60 newFileOpened =
false;
74 std::unique_ptr<LHERunInfoProduct> product(
new LHERunInfoProduct(*runInfoThis->getHEPRUP()));
141 std::unique_ptr<LHEEventProduct> product(
176 return std::shared_ptr<edm::LuminosityBlockAuxiliary>();
179 auto aux = std::make_shared<edm::LuminosityBlockAuxiliary>(
187 desc.setComment(
"A source which reads LHE files.");
189 desc.addUntracked<
unsigned int>(
"skipEvents", 0
U)->setComment(
"Skip the first 'skipEvents' events.");
190 descriptions.
add(
"source",
desc);
void fillRunInfoProduct(lhef::LHERunInfo const &, LHERunInfoProduct &)
void incrementFileIndex()
std::shared_ptr< lhef::LHEEvent > partonLevel_
std::shared_ptr< lhef::LHERunInfo > runInfoLast_
ProcessHistoryID lheInit(ProcessHistoryRegistry &processHistoryRegistry)
LuminosityBlockNumber_t luminosityBlock() const
void readRun_(edm::RunPrincipal &runPrincipal) override
void addHeader(const Header &header)
const std::vector< std::string > & getComments() const
LuminosityBlockAuxiliary const & aux() const
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
const std::vector< Header > & getHeaders() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::ProcessHistoryID phid_
void addComment(const std::string &line)
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const
edm::LHEProvenanceHelper lheProvenanceHelper_
void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lumiPrincipal) override
EventID const & eventID() const
ProcessHistoryID const & processHistoryID() const
static void fillDescription(ParameterSetDescription &desc)
std::unique_ptr< lhef::LHEReader > reader_
void fillLuminosityBlockPrincipal(ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
bool setRunAndEventInfo(edm::EventID &, edm::TimeValue_t &, edm::EventAuxiliary::ExperimentType &) override
void lheAugment(lhef::LHERunInfo const *runInfo)
ProductProvenance eventProductProvenance_
void putRunInfoProduct(edm::RunPrincipal &)
void readEvent_(edm::EventPrincipal &eventPrincipal) override
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=nullptr)
static Timestamp invalidTimestamp()
TimeValue_t presentTime() const
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< LHERunInfoProduct > runInfoProductLast_
LHESource(const edm::ParameterSet ¶ms, const edm::InputSourceDescription &desc)
const BranchDescription eventProductBranchDescription_
unsigned long long TimeValue_t
const BranchDescription runProductBranchDescription_
void addComment(const std::string &line)
void addWeight(const WGT &wgt)