39 productRegistryUpdate(),
40 *branchIDListHelper()),
63 newFileOpened =
false;
77 std::unique_ptr<LHERunInfoProduct> product = std::make_unique<LHERunInfoProduct>(*runInfoThis->getHEPRUP());
119 auto product = std::make_unique<LHERunInfoProduct>(*runInfoProductLast_);
120 std::unique_ptr<edm::WrapperBase> rdp = std::make_unique<edm::Wrapper<LHERunInfoProduct>>(
std::move(product));
147 std::unique_ptr<LHEEventProduct> product =
162 std::unique_ptr<edm::WrapperBase> edp = std::make_unique<edm::Wrapper<LHEEventProduct>>(
std::move(product));
182 return std::shared_ptr<edm::LuminosityBlockAuxiliary>();
185 auto aux = std::make_shared<edm::LuminosityBlockAuxiliary>(
193 desc.setComment(
"A source which reads LHE files.");
195 desc.addUntracked<
unsigned int>(
"skipEvents", 0
U)->setComment(
"Skip the first 'skipEvents' events.");
197 descriptions.
add(
"source",
desc);
void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lumiPrincipal) override
std::unique_ptr< LHERunInfoProduct > runInfoProductLast_
edm::ProcessHistoryID phid_
void incrementFileIndex()
static Timestamp invalidTimestamp()
void addHeader(const Header &header)
void addComment(const std::string &line)
void fillLuminosityBlockPrincipal(ProcessHistory const *processHistory, DelayedReader *reader=nullptr)
const std::vector< std::string > & getComments() const
void readRun_(edm::RunPrincipal &runPrincipal) override
ProcessHistoryID const & processHistoryID() const
EventID const & eventID() const
BranchListIndexes branchListIndexes_
void addWeight(const WGT &wgt)
std::shared_ptr< lhef::LHERunInfo > runInfoLast_
static void fillDescription(ParameterSetDescription &desc)
std::vector< EventSelectionID > EventSelectionIDVector
LuminosityBlockNumber_t luminosityBlock() const
std::shared_ptr< lhef::LHEEvent > partonLevel_
BranchDescription const runProductBranchDescription_
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const
LH5Source(const edm::ParameterSet ¶ms, const edm::InputSourceDescription &desc)
const std::vector< Header > & getHeaders() const
void putRunInfoProduct(edm::RunPrincipal &)
edm::LHEProvenanceHelper lheProvenanceHelper_
unsigned long long TimeValue_t
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TimeValue_t presentTime() const
ProcessHistoryID lheInit(ProcessHistoryRegistry &processHistoryRegistry)
void addComment(const std::string &line)
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void readEvent_(edm::EventPrincipal &eventPrincipal) 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 fillRunInfoProduct(lhef::LHERunInfo const &, LHERunInfoProduct &)
void lheAugment(lhef::LHERunInfo const *runInfo)
std::unique_ptr< lhef::LH5Reader > reader_
bool setRunAndEventInfo(edm::EventID &, edm::TimeValue_t &, edm::EventAuxiliary::ExperimentType &) override