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() 65 fatal() <<
"Unable to load AvalancheSchedulerSvc" <<
endmsg;
71 if ( contextName ==
nullptr ) {
72 info() <<
"Running in whole event context" <<
endmsg;
74 info() <<
"Running in view " << *contextName <<
endmsg;
81 for (
unsigned int viewIndex = 0; viewIndex <
m_viewNumber; ++viewIndex ) {
88 if ( sc.isSuccess() ) {
102 if ( !outputHandle->isValid() )
continue;
constexpr static const auto FAILURE
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
void setFilterPassed(bool state) const override
Set the filter passed flag to the specified state.
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
std::vector< DataObjectHandle< DataObject > * > m_outputHandles
StatusCode initialize() override
standard initialization method
StatusCode initialize() override
Its initialization.
StatusCode finalize() override
the finalization of the algorithm
This class represents an entry point to all the event specific data.
Gaudi::Property< std::string > m_baseViewName
#define DECLARE_COMPONENT(type)
Gaudi::Property< std::string > m_viewNodeName
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
std::vector< DataObjectHandle< DataObject > * > m_inputHandles
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
const EventContext & getContext() const override
get the context
The useful base class for data processing algorithms.
Gaudi::Property< std::vector< std::string > > m_outKeys
StatusCode execute() override
the execution of the algorithm
SmartIF< ISvcLocator > & serviceLocator() const override
The standard service locator.
constexpr static const auto SUCCESS
void setExtension(const T &t)
ViewTester()
the default constructor is disabled
virtual StatusCode scheduleEventView(EventContext const *sourceContext, std::string const &nodeName, EventContext *viewContext)=0
Method to inform the scheduler about event views.
virtual ~ViewTester()
virtual & protected desctrustor
Gaudi::Details::PropertyBase * declareProperty(const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none")
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.
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