20 static void dump() {
cout <<
"MyObject (C/D): " << c_instances <<
"/" << d_instances <<
endl;}
49 info() <<
":HiveTestAlgorithm::initialize " <<
endmsg;
58 int evt = getContext()->evt();
60 info() <<
":HiveTestAlgorithm::getting inputs... " << evt <<
endmsg;
64 info() <<
"Got data " << *i <<
" with value " << obj->
getData() <<
endmsg;
67 info() <<
":HiveTestAlgorithm::registering outputs... " << evt <<
endmsg;
79 info() <<
name( ) <<
":HiveTestAlgorithm::finalize - total events: " << m_total <<
endmsg;
static atomic< int > c_instances
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
MyObject(const MyObject &o)
virtual const std::vector< std::string > get_outputs()
Property * declareProperty(const std::string &name, DataObjectHandle< T > &hndl, const std::string &doc="none") const
static atomic< int > d_instances
This class is used for returning status codes from appropriate routines.
#define DECLARE_ALGORITHM_FACTORY(x)
The useful base class for data processing algorithms.
virtual ~HiveTestAlgorithm()
Destructor.
HiveTestAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor(s)
virtual const std::vector< std::string > get_inputs()
std::vector< std::string > m_outputs
std::vector< std::string > m_inputs
A DataObject is the base class of any identifiable object on any data store.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.