13 ISvcLocator *pSvcLocator):
26 ss <<
"\nTOB creators\n";
28 ss << tool->toString() <<
'\n';
31 ss <<
"\nTIP writers\n";
33 ss << tool->toString() <<
'\n';
37 std::ofstream out(name() +
"_init.log");
42 return StatusCode::SUCCESS;
51 using TipWord = std::bitset<ITIPwriterAlgTool::s_nbits_TIP>;
58 auto tipword = std::make_unique<TipWord>();
61 CHECK(tool -> updateTIP(*tipword, ctx));
66 ss <<
"\nRun " << ctx <<
' ' <<
"TIP:\n" << *tipword <<
'\n';
69 std::ofstream out(name() +
"_tip.log", std::ios_base::app);
80 return StatusCode::SUCCESS;
#define CHECK(...)
Evaluate an expression and check for errors.
Define macros for attributes used to control the static checker.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
ToolHandleArray< ITIPwriterAlgTool > m_TIPwriters
Gaudi::Property< bool > m_enableDumps
GlobalSimulationAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< TIPword > m_tipWordKey
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandleArray< IGlobalSimAlgTool > m_algTools
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...