CMS 3D CMS Logo

statemachine::AnotherLumi Class Reference

#include <FWCore/Framework/src/EPStates.h>

List of all members.

Public Types

typedef mpl::list
< sc::transition< Event,
HandleEvent >, sc::transition
< Lumi, AnotherLumi >,
sc::custom_reaction< File > > 
reactions

Public Member Functions

 AnotherLumi (my_context ctx)
bool checkInvariant ()
sc::result react (File const &file)
 ~AnotherLumi ()


Detailed Description

Definition at line 346 of file EPStates.h.


Member Typedef Documentation

typedef mpl::list< sc::transition<Event, HandleEvent>, sc::transition<Lumi, AnotherLumi>, sc::custom_reaction<File> > statemachine::AnotherLumi::reactions

Definition at line 356 of file EPStates.h.


Constructor & Destructor Documentation

statemachine::AnotherLumi::AnotherLumi ( my_context  ctx  ) 

Definition at line 687 of file EPStates.cc.

References checkInvariant().

00687                                          :
00688     my_base(ctx)
00689   { 
00690     context<HandleLumis>().finalizeLumi();
00691     context<HandleLumis>().setupCurrentLumi();
00692     checkInvariant();
00693   }

statemachine::AnotherLumi::~AnotherLumi (  ) 

Definition at line 695 of file EPStates.cc.

References checkInvariant().

00695                             {
00696     checkInvariant();
00697   }


Member Function Documentation

bool statemachine::AnotherLumi::checkInvariant (  ) 

Definition at line 699 of file EPStates.cc.

References first, statemachine::INVALID_LUMI, statemachine::INVALID_RUN, and edm::second().

Referenced by AnotherLumi(), react(), and ~AnotherLumi().

00699                                    {
00700     assert(context<HandleRuns>().currentRun() != INVALID_RUN);
00701     assert(context<HandleLumis>().currentLumi().first == context<HandleRuns>().currentRun());
00702     assert(context<HandleLumis>().currentLumi().second != INVALID_LUMI);
00703     assert(context<HandleLumis>().currentLumiEmpty() == true);
00704     return true;
00705   }

sc::result statemachine::AnotherLumi::react ( File const &  file  ) 

Definition at line 707 of file EPStates.cc.

References checkInvariant().

00708   {
00709     checkInvariant();
00710     if (!context<HandleFiles>().shouldWeCloseOutput()) {
00711       return transit<HandleNewInputFile3>();
00712     }
00713     return forward_event();
00714   }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:52:36 2009 for CMSSW by  doxygen 1.5.4