6 #define ON_DEBUG if ( msgLevel( MSG::DEBUG ) ) 7 #define DEBUG_MSG ON_DEBUG debug() 9 #define ON_VERBOSE if ( msgLevel( MSG::VERBOSE ) ) 10 #define VERBOSE_MSG ON_VERBOSE verbose() 56 fatal() <<
"Unable to load AvalancheSchedulerSvc" <<
endmsg;
64 info() <<
"Running in whole event context" <<
endmsg;
72 for (
unsigned int viewIndex = 0; viewIndex <
m_viewNumber; ++viewIndex ) {
74 auto viewContext = std::make_unique<EventContext>(
context.evt(),
context.slot() );
82 error() <<
"Unable to attach view " << viewName <<
" to node " <<
m_viewNodeName.toString() <<
" for " 93 if ( !outputHandle->isValid() )
continue;
96 outputHandle->put(
std::move( std::make_unique<DataObject>() ) );
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_outputHandles
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
StatusCode initialize() override
standard initialization method
const EventContext & getContext() const
void setFilterPassed(bool state) const
Set the filter passed flag to the specified state.
StatusCode initialize() override
Its initialization.
StatusCode service(const std::string &name, T *&psvc, bool createIf=true) const
Access a service by name, creating it if it doesn't already exist.
constexpr static const auto SUCCESS
StatusCode finalize() override
the finalization of the algorithm
const std::string & context() const
Returns the "context" string. Used to identify different processing states.
Gaudi::Property< std::string > m_baseViewName
virtual StatusCode scheduleEventView(const EventContext *sourceContext, const std::string &nodeName, std::unique_ptr< EventContext > viewContext)=0
Method to inform the scheduler about event views.
#define DECLARE_COMPONENT(type)
Gaudi::Property< std::string > m_viewNodeName
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Gaudi::Details::PropertyBase * declareProperty(const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none")
Gaudi::Property< std::vector< std::string > > m_inpKeys
This class is used for returning status codes from appropriate routines.
StatusCode finalize() override
standard finalization method
The useful base class for data processing algorithms.
Gaudi::Property< std::vector< std::string > > m_outKeys
StatusCode execute() override
the execution of the algorithm
ViewTester()
the default constructor is disabled
constexpr static const auto FAILURE
SmartIF< ISvcLocator > & serviceLocator() const override
The standard service locator.
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_inputHandles
MsgStream & fatal() const
shortcut for the method msgStream(MSG::FATAL)
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Gaudi::Property< unsigned int > m_viewNumber