#include <Alg1.h>
Inheritance diagram for Alg1:
Public Types | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
enum | Status |
Public Member Functions | |
Alg1 (const std::string &name, ISvcLocator *pSvcLocator) | |
Constructor of this form must be provided. | |
StatusCode | initialize () |
Three mandatory member functions of any algorithm. | |
StatusCode | execute () |
StatusCode | finalize () |
StatusCode | beginRun () |
StatusCode | endRun () |
virtual StatusCode | sysStart () |
virtual StatusCode | sysInitialize () |
virtual StatusCode | sysReinitialize () |
virtual StatusCode | sysRestart () |
virtual StatusCode | sysExecute () |
virtual StatusCode | sysStop () |
virtual StatusCode | sysFinalize () |
virtual StatusCode | sysBeginRun () |
virtual StatusCode | sysEndRun () |
virtual const std::string & | name () const |
virtual const std::string & | version () const |
virtual StatusCode | configure () |
virtual StatusCode | terminate () |
virtual StatusCode | start () |
virtual StatusCode | stop () |
virtual StatusCode | reinitialize () |
virtual StatusCode | restart () |
virtual bool | isExecuted () const |
virtual void | setExecuted (bool state) |
virtual void | resetExecuted () |
virtual Gaudi::StateMachine::State | FSMState () const |
virtual Gaudi::StateMachine::State | targetFSMState () const |
virtual bool | isEnabled () const |
virtual bool | filterPassed () const |
virtual void | setFilterPassed (bool state) |
StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
void | setOutputLevel (int level) |
IAuditorSvc * | auditorSvc () const |
IChronoStatSvc * | chronoSvc () const |
IChronoStatSvc * | chronoStatService () const |
IDataProviderSvc * | detSvc () const |
IDataProviderSvc * | detDataService () const |
IConversionSvc * | detCnvSvc () const |
IConversionSvc * | detDataCnvService () const |
IDataProviderSvc * | eventSvc () const |
IDataProviderSvc * | evtSvc () const |
IDataProviderSvc * | eventDataService () const |
IConversionSvc * | eventCnvSvc () const |
IConversionSvc * | eventDataCnvService () const |
IHistogramSvc * | histoSvc () const |
IHistogramSvc * | histogramDataService () const |
IMessageSvc * | msgSvc () const |
IMessageSvc * | messageService () const |
INTupleSvc * | ntupleSvc () const |
INTupleSvc * | ntupleService () const |
IRndmGenSvc * | randSvc () const |
IToolSvc * | toolSvc () const |
IExceptionSvc * | exceptionSvc () const |
ISvcLocator * | serviceLocator () const |
ISvcLocator * | svcLoc () const |
StatusCode | createSubAlgorithm (const std::string &type, const std::string &name, Algorithm *&pSubAlg) |
std::vector< Algorithm * > * | subAlgorithms () const |
virtual StatusCode | setProperty (const Property &p) |
virtual StatusCode | setProperty (const std::string &s) |
virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
StatusCode | setProperty (const std::string &name, const TYPE &value) |
virtual StatusCode | getProperty (Property *p) const |
virtual const Property & | getProperty (const std::string &name) const |
virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
virtual const std::vector< Property * > & | getProperties () const |
StatusCode | setProperties () |
Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
IMonitorSvc * | monitorSvc () const |
void | declareInfo (const std::string &name, const T &var, const std::string &desc) const |
void | declareInfo (const std::string &name, const std::string &format, const void *var, int size, const std::string &desc) const |
unsigned long | addRef () |
unsigned long | release () |
StatusCode | queryInterface (const InterfaceID &riid, void **) |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
Public Attributes | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
Static Public Attributes | |
tuple | g = gm.AppMgr() |
tuple | a1 = g.algorithm('Alg1') |
tuple | msv = g.service('MessageSvc') |
Protected Member Functions | |
bool | isInitialized () const |
bool | isFinalized () const |
int | outputLevel () const |
IntegerProperty & | outputLevelProperty () |
void | initOutputLevel (Property &prop) |
Private Attributes | |
bool | m_initialized |
std::string | m_ThisStageName |
These data members are used in the execution of this algorithm They are set in the initialisation phase by the job options service. | |
IStage * | m_ThisStage |
std::string | m_LowerStageName |
IStage * | m_LowerStage |
FFTimeStamp | m_CurrentTime |
The earliest (smallest) time which this has provided. | |
FakeDataList | m_FakeDataList |
This is for Consumer&Producer only. | |
bool | m_Start |
Here all possible situations are considered. Other Algs are just copies of this while maybe with different configuration.
Wang, Mar 21, 2008
Definition at line 24 of file Alg1.h.
Alg1::Alg1 | ( | const std::string & | name, | |
ISvcLocator * | pSvcLocator | |||
) |
Constructor of this form must be provided.
StatusCode Alg1::initialize | ( | ) | [virtual] |
StatusCode Alg1::execute | ( | ) | [virtual] |
Implements Algorithm.
StatusCode Alg1::finalize | ( | ) | [virtual] |
Reimplemented from Algorithm.
StatusCode Alg1::beginRun | ( | ) | [virtual] |
Reimplemented from Algorithm.
StatusCode Alg1::endRun | ( | ) | [virtual] |
Reimplemented from Algorithm.
bool Alg1::m_initialized [private] |
std::string Alg1::m_ThisStageName [private] |
IStage* Alg1::m_ThisStage [private] |
std::string Alg1::m_LowerStageName [private] |
IStage* Alg1::m_LowerStage [private] |
FFTimeStamp Alg1::m_CurrentTime [private] |
FakeDataList Alg1::m_FakeDataList [private] |
bool Alg1::m_Start [private] |