38 productRegistryUpdate(),
39 *branchIDListHelper()),
62 newFileOpened =
false;
76 std::unique_ptr<LHERunInfoProduct> product = std::make_unique<LHERunInfoProduct>(*runInfoThis->getHEPRUP());
118 auto product = std::make_unique<LHERunInfoProduct>(*runInfoProductLast_);
119 std::unique_ptr<edm::WrapperBase> rdp = std::make_unique<edm::Wrapper<LHERunInfoProduct>>(
std::move(product));
146 std::unique_ptr<LHEEventProduct> product =
161 std::unique_ptr<edm::WrapperBase> edp = std::make_unique<edm::Wrapper<LHEEventProduct>>(
std::move(product));
181 return std::shared_ptr<edm::LuminosityBlockAuxiliary>();
184 auto aux = std::make_shared<edm::LuminosityBlockAuxiliary>(
192 desc.setComment(
"A source which reads LHE files.");
194 desc.addUntracked<
unsigned int>(
"skipEvents", 0
U)->setComment(
"Skip the first 'skipEvents' events.");
195 descriptions.
add(
"source",
desc);
void putOrMerge(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
void incrementFileIndex()
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
static Timestamp invalidTimestamp()
void addHeader(const Header &header)
void addComment(const std::string &line)
edm::ProcessHistoryID phid_
void fillLuminosityBlockPrincipal(ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
const std::vector< std::string > & getComments() const
ProcessHistoryID const & processHistoryID() const
void fillRunInfoProduct(lhef::LHERunInfo const &, LHERunInfoProduct &)
edm::LHEProvenanceHelper lheProvenanceHelper_
EventID const & eventID() const
std::unique_ptr< LHERunInfoProduct > runInfoProductLast_
void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lumiPrincipal) override
BranchListIndexes branchListIndexes_
void addWeight(const WGT &wgt)
std::shared_ptr< lhef::LHERunInfo > runInfoLast_
static void fillDescription(ParameterSetDescription &desc)
std::vector< EventSelectionID > EventSelectionIDVector
bool setRunAndEventInfo(edm::EventID &, edm::TimeValue_t &, edm::EventAuxiliary::ExperimentType &) override
LuminosityBlockNumber_t luminosityBlock() const
BranchDescription const runProductBranchDescription_
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const
std::shared_ptr< lhef::LHEEvent > partonLevel_
const std::vector< Header > & getHeaders() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void putRunInfoProduct(edm::RunPrincipal &)
unsigned long long TimeValue_t
LHESource(const edm::ParameterSet ¶ms, const edm::InputSourceDescription &desc)
TimeValue_t presentTime() const
void readEvent_(edm::EventPrincipal &eventPrincipal) override
ProcessHistoryID lheInit(ProcessHistoryRegistry &processHistoryRegistry)
void addComment(const std::string &line)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::unique_ptr< lhef::LHEReader > reader_
void readRun_(edm::RunPrincipal &runPrincipal) override
void fillEventPrincipal(EventAuxiliary const &aux, ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
LuminosityBlockAuxiliary const & aux() const
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=nullptr)
ProductProvenance eventProductProvenance_
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
BranchDescription const eventProductBranchDescription_
void lheAugment(lhef::LHERunInfo const *runInfo)