Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:12

0001 #ifndef FWCore_Framework_OutputModuleDescription_h
0002 #define FWCore_Framework_OutputModuleDescription_h
0003 
0004 /*----------------------------------------------------------------------
0005 
0006 OutputModuleDescription : the stuff that is needed to configure an
0007 output module that does not come in through the ParameterSet  
0008 
0009 ----------------------------------------------------------------------*/
0010 
0011 #include "DataFormats/Provenance/interface/BranchIDList.h"
0012 namespace edm {
0013 
0014   class BranchIDListHelper;
0015   class SubProcessParentageHelper;
0016 
0017   struct OutputModuleDescription {
0018     //OutputModuleDescription() : maxEvents_(-1) {}
0019     explicit OutputModuleDescription(BranchIDLists const& branchIDLists,
0020                                      int maxEvents = -1,
0021                                      SubProcessParentageHelper const* subProcessParentageHelper = nullptr)
0022         : branchIDLists_(&branchIDLists),
0023           maxEvents_(maxEvents),
0024           subProcessParentageHelper_(subProcessParentageHelper) {}
0025     BranchIDLists const* branchIDLists_;
0026     int maxEvents_;
0027     SubProcessParentageHelper const* subProcessParentageHelper_;
0028   };
0029 }  // namespace edm
0030 
0031 #endif