GaudiAtomicSequencer.cpp
Go to the documentation of this file.
1 // Include files
2 
3 // from Gaudi
4 #include "GaudiAlg/GaudiAtomicSequencer.h"
5 
6 //-----------------------------------------------------------------------------
7 // Implementation file for class : GaudiAtomicSequencer
8 //
9 // 2014-05-26 : Daniel Funke
10 //-----------------------------------------------------------------------------
11 
12 //=============================================================================
13 // Standard constructor, initializes variables
14 //=============================================================================
16  ISvcLocator* pSvcLocator)
17  : GaudiSequencer ( name , pSvcLocator )
18 {}
19 //=============================================================================
20 // Destructor
21 //=============================================================================
23 
24 //=============================================================================
25 // Initialisation. Check parameters
26 //=============================================================================
28 
29  //in the GaudiSequencer::initalize the sysInitialize of all contained algorithms is called
30  //thereafter we have correct DataObjectHandles in the Algorithms
32 
33  if (msgLevel(MSG::DEBUG)) debug() << "==> Initialise" << endmsg;
34  if ( !status.isSuccess() ) return status;
35 
36  addSubAlgorithmDataObjectHandles();
37 
38  return status;
39 }
40 
41 
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:244
StatusCode initialize() override
Algorithm initialization.
bool isSuccess() const
Test for a status code of SUCCESS.
Definition: StatusCode.h:76
Sequencer for executing several algorithms, stopping when one is faulty.
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
virtual ~GaudiAtomicSequencer()
Destructor.
GaudiAtomicSequencer(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
virtual StatusCode initialize()
Algorithm initialization.
MSG::Level msgLevel() const
get the output level from the embedded MsgStream