CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/FWCore/Framework/interface/CommonParams.h

Go to the documentation of this file.
00001 #ifndef FWCore_Framework_CommonParams_h
00002 #define FWCore_Framework_CommonParams_h
00003 
00004 /*----------------------------------------------------------------------
00005 
00006 Class to hold parameters used by the EventProcessor and also by subprocesses.
00007 
00008 ----------------------------------------------------------------------*/
00009 
00010 namespace edm {
00011   //------------------------------------------------------------------
00012   //
00013 
00014   struct CommonParams {
00015     CommonParams() :
00016       maxEventsInput_(),
00017       maxLumisInput_() {
00018     }
00019 
00020     CommonParams(int maxEvents,
00021                  int maxLumis) :
00022       maxEventsInput_(maxEvents),
00023       maxLumisInput_(maxLumis) {
00024     }
00025       
00026     int maxEventsInput_;
00027     int maxLumisInput_;
00028   }; // struct CommonParams
00029 }
00030 
00031 #endif