13 ISvcLocator *pSvcLocator):
28 ss << tool->toString() <<
'\n';
33 ss << tool->toString() <<
'\n';
37 std::ofstream out(name() +
"_init.log");
42 return StatusCode::SUCCESS;
54 using TipWord = std::bitset<ITIPwriterAlgTool::s_nbits_TIP>;
61 auto tipword = std::make_unique<TipWord>();
64 CHECK(tool -> updateTIP(*tipword, ctx));
69 ss <<
"\nRun " << ctx <<
' ' <<
"TIP:\n" << *tipword <<
'\n';
72 std::ofstream out(name() +
"_tip.log", std::ios_base::app);
83 return StatusCode::SUCCESS;
#define CHECK(...)
Evaluate an expression and check for errors.
Define macros for attributes used to control the static checker.
ServiceHandle< StoreGateSvc > & evtStore()
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 to read in LArStripNeighborhoods, and run the eRatio Algorithm.
int run(int argc, char *argv[])