21 UnitTestAlg7 (
const std::string& name,
22 ISvcLocator* pSvcLocator)
32 ANA_CHECK (
book (TH1F (
"dummy_hist",
"dummy_hist", 50, 0, 50)));
33 return ::StatusCode::SUCCESS;
41 return ::StatusCode::SUCCESS;
49 return ::StatusCode::SUCCESS;
StatusCode book(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.