File indexing completed on 2023-03-17 11:04:47
0001 #ifndef FWCore_Sources_LHEProvenanceHelper_h
0002 #define FWCore_Sources_LHEProvenanceHelper_h
0003
0004 #include "DataFormats/Provenance/interface/BranchDescription.h"
0005 #include "DataFormats/Provenance/interface/ProcessHistoryID.h"
0006 #include "DataFormats/Provenance/interface/ProductProvenance.h"
0007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0008
0009 namespace lhef {
0010 class LHERunInfo;
0011 }
0012
0013 namespace edm {
0014 class ProcessHistoryRegistry;
0015 class ProductRegistry;
0016 class TypeID;
0017 struct LHEProvenanceHelper {
0018 explicit LHEProvenanceHelper(TypeID const& eventProductType,
0019 TypeID const& runProductType,
0020 ProductRegistry& productRegistry);
0021 ParameterSet fillCommonProcessParameterSet();
0022 void lheAugment(lhef::LHERunInfo const* runInfo);
0023 ProcessHistoryID lheInit(ProcessHistoryRegistry& processHistoryRegistry);
0024 BranchDescription const eventProductBranchDescription_;
0025 BranchDescription const runProductBranchDescription_;
0026 ProductProvenance eventProductProvenance_;
0027 ParameterSet const commonProcessParameterSet_;
0028 ParameterSet processParameterSet_;
0029 };
0030 }
0031 #endif