Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 ISvcLocator *pSvcLocator):
34 ATH_MSG_ERROR(
"initialisation from file not yet implemented");
35 return StatusCode::FAILURE;
41 return StatusCode::FAILURE;
46 auto ss = std::stringstream();
47 ss <<
"number events with testTobs2 ["
49 <<
"] != number events with testTobs2 ["
53 return StatusCode::FAILURE;
59 return StatusCode::FAILURE;
64 ATH_MSG_ERROR(
"Number of expected results and number of sets of input tobs differ");
65 return StatusCode::FAILURE;
71 return StatusCode::SUCCESS;
78 return StatusCode::SUCCESS;
82 return StatusCode::SUCCESS;
87 return StatusCode::SUCCESS;
91 return StatusCode::SUCCESS;
103 return StatusCode::FAILURE;
114 std::back_inserter(container),
116 return std::make_shared<GenericTob>(bs);});
129 std::back_inserter(container),
131 return std::make_shared<GenericTob>(bs);});
142 auto ss = std::stringstream();
152 auto ss = std::stringstream();
157 ss <<
"ev " << i_ev++ <<
'\n';
158 for (
const auto& gt :
ev) {
166 auto ss = std::stringstream();
171 ss <<
"ev " << i_ev++ <<
'\n';
172 for (
const auto& gt :
ev) {
179 return StatusCode::SUCCESS;
192 return StatusCode::FAILURE;
200 CHECK(h_write.record(std::move(tobs)));
209 CHECK(h_write.record(std::move(tobs)));
221 CHECK(h_write.record(std::move(expectations)));
226 return StatusCode::SUCCESS;
InvMassDPhiInc2TestBenchAlg(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< GlobalSim::GenericTobContainer > m_testTobs1
Gaudi::Property< std::vector< std::string > > m_testTobs2_in
virtual StatusCode initialize() override
StatusCode init_tobs1_from_file()
std::vector< GlobalSim::GenericTobContainer > m_testTobs2
SG::WriteHandleKey< GenericTobContainer > m_tobs2_WriteKey
Gaudi::Property< std::vector< std::string > > m_testTobs1_in
virtual StatusCode execute() override
SG::WriteHandleKey< Result > m_expectations_WriteKey
StatusCode init_tobs2_from_file()
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Gaudi::Property< std::string > m_expResults_in
::StatusCode StatusCode
StatusCode definition for legacy code.
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
#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.
StatusCode init_expected_results_from_file()
Gaudi::Property< std::string > m_testsFileName1
Gaudi::Property< int > m_testRepeat
std::vector< std::shared_ptr< GenericTob > > GenericTobContainer
std::vector< std::string > m_expectedResults
SG::WriteHandleKey< GenericTobContainer > m_tobs1_WriteKey
StatusCode init_from_file()