CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/GeneratorInterface/LHEInterface/plugins/LHEProvenanceHelper.h

Go to the documentation of this file.
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