76 return StatusCode::FAILURE;
83 std::vector<SG::ReadHandle<PRD_MultiTruthCollection> > read_handle;
84 read_handle.reserve(3);
86 std::vector<const PRD_MultiTruthCollection*> prdCollectionVector;
87 prdCollectionVector.reserve(3);
91 if (!read_handle.back().isValid()) {
96 prdCollectionVector.push_back( &(*read_handle.back()) );
102 if (!read_handle.back().isValid()) {
106 prdCollectionVector.push_back( &(*read_handle.back()) );
112 if (!read_handle.back().isValid()) {
116 prdCollectionVector.push_back( &(*read_handle.back()) );
123 if (dttc.
record(std::make_unique<DetailedTrackTruthCollection>(&(*tracks))).isFailure()) {
125 return StatusCode::FAILURE;
129 m_truthTool->buildDetailedTrackTruth(&(*dttc), *tracks, prdCollectionVector, ctx);
130 return StatusCode::SUCCESS;