19 TypeID const& runProductType,
45 eventProductProvenance_(eventProductBranchDescription_.branchID()),
46 commonProcessParameterSet_(fillCommonProcessParameterSet()),
47 processParameterSet_() {
65 typedef std::vector<std::string>
vstring;
70 modlbl.push_back(moduleLabel);
79 pseudoInput.addParameter<
std::string>(
"@module_label", moduleLabel);
96 if (runInfo ==
nullptr)
98 typedef std::vector<std::string>
vstring;
99 auto const& heprup = *runInfo->
getHEPRUP();
109 for (
auto const& header : runInfo->
getHeaders()) {
void setIsProvenanceSetOnRead(bool value=true) noexcept
ParameterSet processParameterSet_
ParameterSetID id() const
bool registerProcessHistory(ProcessHistory const &processHistory)
std::string const & processName() const
LHEProvenanceHelper(TypeID const &eventProductType, TypeID const &runProductType, ProductRegistry &productRegistry)
void emplace_back(Args &&...args)
BranchDescription const runProductBranchDescription_
std::string const & moduleLabel() const
ParameterSet fillCommonProcessParameterSet()
void addParameter(std::string const &name, T const &value)
static bool isTagComparedInMerge(const std::string &tag)
const std::vector< Header > & getHeaders() const
std::string const & moduleName() const
std::string getReleaseVersion()
ProcessHistoryID lheInit(ProcessHistoryRegistry &processHistoryRegistry)
const HEPRUP * getHEPRUP() const
ParameterSet const commonProcessParameterSet_
std::string moduleName(StableProvenance const &provenance, ProcessHistory const &history)
static std::string const triggerPaths
ProcessHistoryID id() const
ParameterSet const & registerIt()
std::vector< std::string > vstring
BranchDescription const eventProductBranchDescription_
void lheAugment(lhef::LHERunInfo const *runInfo)
void copyProduct(BranchDescription const &productdesc)