/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Public Member Functions | Private Attributes
SimSequencer Class Reference

#include <SimSequencer.h>

List of all members.

Classes

class  Configure

Public Member Functions

 SimSequencer (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~SimSequencer ()
virtual StatusCode initialize ()
virtual StatusCode execute ()
virtual StatusCode finalize ()
void setExecuteThisEvent (bool b)

Private Attributes

bool m_executeThisEvent
bool m_executionDefault
list __all__ = ['Configure','SimSequencerConf']

Detailed Description

Definition at line 18 of file SimSequencer.h.


Constructor & Destructor Documentation

SimSequencer::SimSequencer ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 3 of file SimSequencer.cc.

  : GaudiSequencer(name,pSvcLocator)
{  
    declareProperty( "executionStateDefault" ,
        m_executionDefault=true,
        "If true the subsequence will be executed by default") ; 
    m_executeThisEvent=m_executionDefault;
}
SimSequencer::~SimSequencer ( ) [virtual]

Definition at line 12 of file SimSequencer.cc.

{
}

Member Function Documentation

StatusCode SimSequencer::initialize ( ) [virtual]

Definition at line 16 of file SimSequencer.cc.

{
   debug() << "Initializing: " << this->name() << endreq;
      
   return this->GaudiSequencer::initialize();
}
StatusCode SimSequencer::execute ( ) [virtual]

Definition at line 23 of file SimSequencer.cc.

{
    info() << " execute()" << endreq;
    if(m_executeThisEvent){
        debug() << "executing this event" << endreq;
        return this->GaudiSequencer::execute();
    }
    
    debug() << " will not execute this event since buffer has data in it."
            << endreq;
    
    // reset the value so it executes the next event by default
    setExecuteThisEvent(m_executionDefault);
    return StatusCode::SUCCESS;
}
StatusCode SimSequencer::finalize ( ) [virtual]

Definition at line 39 of file SimSequencer.cc.

{
    debug() << "Finalizing: " << this->name() << endreq;
    return this->GaudiSequencer::finalize();;
}
void SimSequencer::setExecuteThisEvent ( bool  b) [inline]

Definition at line 28 of file SimSequencer.h.


Member Data Documentation

Definition at line 31 of file SimSequencer.h.

Definition at line 32 of file SimSequencer.h.

list SimSequencer::__all__ = ['Configure','SimSequencerConf'] [private]

Definition at line 3 of file __init__.py.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:14:31 for SimSequencer by doxygen 1.7.4