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;
60 const auto&
context = getContext();
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() );
79 info() <<
"Attached view " << viewName <<
" to node " <<
m_viewNodeName.toString() <<
" for " <<
context 82 error() <<
"Unable to attach view " << viewName <<
" to node " <<
m_viewNodeName.toString() <<
" for " 93 if ( !outputHandle->isValid() )
continue;
96 outputHandle->put( std::make_unique<DataObject>() );
99 setFilterPassed(
true );
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...
StatusCode initialize() override
standard initialization method
StatusCode initialize() override
Its initialization.
constexpr static const auto SUCCESS
StatusCode finalize() override
the finalization of the algorithm
Gaudi::Property< std::string > m_baseViewName
#define DECLARE_COMPONENT(type)
Gaudi::Property< std::string > m_viewNodeName
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
const std::string & context() const
Returns the "context" string. Used to identify different processing states.
StatusCode execute() override
the execution of the algorithm
ViewTester()
the default constructor is disabled
constexpr static const auto FAILURE
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_inputHandles
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
T emplace_back(T... args)
Gaudi::Property< unsigned int > m_viewNumber