19#include <TDirectory.h>
40 if (
m_ths.retrieve().isFailure() ) {
52 info() << h1->GetName() <<
": " << h1->GetEntries() <<
endmsg;
62 info() << h2->GetName() <<
": " << h2->GetEntries() <<
endmsg;
72 info() << h3->GetName() <<
": " << h3->GetEntries() <<
endmsg;
82 info() << tp->GetName() <<
": " << tp->GetEntries() <<
endmsg;
92 info() << tr->GetName() <<
": " << tr->GetEntries() <<
endmsg;
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
#define DECLARE_COMPONENT(type)
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
const std::string & name() const override
The identifying name of the algorithm object.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
constexpr static const auto FAILURE
StatusCode initialize() override
StatusCode finalize() override
ServiceHandle< ITHistSvc > m_ths
THistRead(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute() override