00001 #ifndef FWCore_Sources_LHEProvenanceHelper_h 00002 #define FWCore_Sources_LHEProvenanceHelper_h 00003 00004 #include "DataFormats/Provenance/interface/ConstBranchDescription.h" 00005 #include "DataFormats/Provenance/interface/ProcessHistoryID.h" 00006 #include "DataFormats/Provenance/interface/ProductProvenance.h" 00007 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00008 00009 namespace lhef { 00010 class LHERunInfo; 00011 } 00012 00013 namespace edm { 00014 class ProductRegistry; 00015 class TypeID; 00016 struct LHEProvenanceHelper { 00017 explicit LHEProvenanceHelper(TypeID const& eventProductType, TypeID const& runProductType); 00018 void lheAugment(lhef::LHERunInfo const* runInfo); 00019 ProcessHistoryID lheInit(ProductRegistry& productRegistry); 00020 ConstBranchDescription eventProductBranchDescription_; 00021 ConstBranchDescription runProductBranchDescription_; 00022 ProductProvenance eventProductProvenance_; 00023 ParameterSet processParameterSet_; 00024 }; 00025 } 00026 #endif