 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 ISvcLocator *pSvcLocator):
27 return StatusCode::SUCCESS;
39 CHECK(expectedTIP.isValid());
46 CHECK(generatedTIP.isValid());
50 auto esz = (*expectedTIP).size();
51 auto gsz = (*generatedTIP).size();
56 return StatusCode::FAILURE;
59 if (*generatedTIP == *expectedTIP) {
61 return StatusCode::SUCCESS;
65 ATH_MSG_INFO(
"Expected, generated TIP word mismatch. Event "
68 for (std::size_t
i{0};
i != esz; ++
i) {
69 if (generatedTIP->test(
i) != expectedTIP->test(
i)) {
71 <<
" expected " << expectedTIP->test(
i)
72 <<
" generated " << generatedTIP->test(
i));
78 return StatusCode::SUCCESS;
SG::ReadHandleKey< TIPword > m_generatedTIPword_ReadKey
SG::ReadHandleKey< TIPword > m_expectedTIPword_ReadKey
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual StatusCode initialize() override
Gaudi::Property< bool > m_abort_on_mismatch
eEmMultTestComparator(const std::string &name, ISvcLocator *pSvcLocator)