CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
statemachine::Machine Class Reference

#include <EPStates.h>

Inheritance diagram for statemachine::Machine:

Public Member Functions

EmptyRunLumiMode emptyRunLumiMode () const
 
edm::IEventProcessor const & ep () const
 
edm::IEventProcessorep ()
 
FileMode fileMode () const
 
 Machine (edm::IEventProcessor *ep, FileMode fileMode, EmptyRunLumiMode emptyRunLumiMode)
 
void rewindAndPrepareForNextLoop (Restart const &restart)
 
void startingNewLoop (File const &file)
 
void startingNewLoop (Stop const &stop)
 

Private Attributes

EmptyRunLumiMode emptyRunLumiMode_
 
edm::propagate_const< edm::IEventProcessor * > ep_
 
FileMode fileMode_
 

Detailed Description

Definition at line 93 of file EPStates.h.

Constructor & Destructor Documentation

statemachine::Machine::Machine ( edm::IEventProcessor ep,
FileMode  fileMode,
EmptyRunLumiMode  emptyRunLumiMode 
)

Definition at line 25 of file EPStates.cc.

27  :
28  ep_(ep),
31  }
FileMode fileMode() const
Definition: EPStates.cc:35
EmptyRunLumiMode emptyRunLumiMode_
Definition: EPStates.h:113
EmptyRunLumiMode emptyRunLumiMode() const
Definition: EPStates.cc:36
edm::propagate_const< edm::IEventProcessor * > ep_
Definition: EPStates.h:111

Member Function Documentation

EmptyRunLumiMode statemachine::Machine::emptyRunLumiMode ( ) const

Definition at line 36 of file EPStates.cc.

References emptyRunLumiMode_.

36 { return emptyRunLumiMode_; }
EmptyRunLumiMode emptyRunLumiMode_
Definition: EPStates.h:113
edm::IEventProcessor const & statemachine::Machine::ep ( ) const

Definition at line 33 of file EPStates.cc.

References ep_.

33 { return *ep_; }
edm::propagate_const< edm::IEventProcessor * > ep_
Definition: EPStates.h:111
edm::IEventProcessor & statemachine::Machine::ep ( )

Definition at line 34 of file EPStates.cc.

References ep_.

34 { return *ep_; }
edm::propagate_const< edm::IEventProcessor * > ep_
Definition: EPStates.h:111
FileMode statemachine::Machine::fileMode ( ) const

Definition at line 35 of file EPStates.cc.

References fileMode_.

35 { return fileMode_; }
void statemachine::Machine::rewindAndPrepareForNextLoop ( Restart const &  restart)

Definition at line 47 of file EPStates.cc.

References ep_.

47  {
48  ep_->prepareForNextLoop();
49  ep_->rewindInput();
50  }
edm::propagate_const< edm::IEventProcessor * > ep_
Definition: EPStates.h:111
void statemachine::Machine::startingNewLoop ( File const &  file)

Definition at line 38 of file EPStates.cc.

References ep_.

38  {
39  ep_->startingNewLoop();
40  }
edm::propagate_const< edm::IEventProcessor * > ep_
Definition: EPStates.h:111
void statemachine::Machine::startingNewLoop ( Stop const &  stop)

Definition at line 42 of file EPStates.cc.

References ep_.

42  {
43  if(ep_->alreadyHandlingException()) return;
44  ep_->startingNewLoop();
45  }
edm::propagate_const< edm::IEventProcessor * > ep_
Definition: EPStates.h:111

Member Data Documentation

EmptyRunLumiMode statemachine::Machine::emptyRunLumiMode_
private

Definition at line 113 of file EPStates.h.

Referenced by emptyRunLumiMode().

edm::propagate_const<edm::IEventProcessor*> statemachine::Machine::ep_
private

Definition at line 111 of file EPStates.h.

Referenced by ep(), rewindAndPrepareForNextLoop(), and startingNewLoop().

FileMode statemachine::Machine::fileMode_
private

Definition at line 112 of file EPStates.h.

Referenced by fileMode().