Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef FWCore_Framework_CommonParams_h
0002 #define FWCore_Framework_CommonParams_h
0003 
0004 /*----------------------------------------------------------------------
0005 
0006 Class to hold parameters used by the EventProcessor and also by subprocesses.
0007 
0008 ----------------------------------------------------------------------*/
0009 
0010 namespace edm {
0011   //------------------------------------------------------------------
0012   //
0013 
0014   struct CommonParams {
0015     CommonParams() : maxEventsInput_(), maxLumisInput_(), maxSecondsUntilRampdown_() {}
0016 
0017     CommonParams(int maxEvents, int maxLumis, int maxSecondsUntilRampdown)
0018         : maxEventsInput_(maxEvents), maxLumisInput_(maxLumis), maxSecondsUntilRampdown_(maxSecondsUntilRampdown) {}
0019 
0020     int maxEventsInput_;
0021     int maxLumisInput_;
0022     int maxSecondsUntilRampdown_;
0023   };  // struct CommonParams
0024 }  // namespace edm
0025 
0026 #endif