Skip to content
Snippets Groups Projects
Commit c55494aa authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

PyAthenaSvc: Replace begin/endRun with start/stop

parent 3f3aa6e8
No related branches found
No related tags found
No related merge requests found
...@@ -49,8 +49,8 @@ class ATLAS_NOT_THREAD_SAFE Svc ...@@ -49,8 +49,8 @@ class ATLAS_NOT_THREAD_SAFE Svc
//@{ //@{
virtual StatusCode initialize() override; virtual StatusCode initialize() override;
virtual StatusCode reinitialize() override; virtual StatusCode reinitialize() override;
virtual StatusCode beginRun(); virtual StatusCode start() override;
virtual StatusCode endRun(); virtual StatusCode stop() override;
virtual StatusCode finalize() override; virtual StatusCode finalize() override;
//@} //@}
......
...@@ -198,16 +198,16 @@ class Svc( CfgPyService ): ...@@ -198,16 +198,16 @@ class Svc( CfgPyService ):
def finalize(self): def finalize(self):
return StatusCode.Success return StatusCode.Success
def sysBeginRun(self): def sysStart(self):
return self.beginRun() return self.start()
def beginRun(self): def start(self):
return StatusCode.Success return StatusCode.Success
def sysEndRun(self): def sysStop(self):
return self.endRun() return self.stop()
def endRun(self): def stop(self):
return StatusCode.Success return StatusCode.Success
pass # PyAthena.Svc pass # PyAthena.Svc
......
...@@ -75,15 +75,15 @@ Svc::finalize() ...@@ -75,15 +75,15 @@ Svc::finalize()
} }
StatusCode StatusCode
Svc::beginRun() Svc::start()
{ {
return PyAthena::callPyMethod( m_self, "sysBeginRun" ); return PyAthena::callPyMethod( m_self, "sysStart" );
} }
StatusCode StatusCode
Svc::endRun() Svc::stop()
{ {
return PyAthena::callPyMethod( m_self, "sysEndRun" ); return PyAthena::callPyMethod( m_self, "sysStop" );
} }
StatusCode StatusCode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment