53 return StatusCode::SUCCESS;
61 const EventContext& ctx = Gaudi::Hive::currentContext();
65 if ( !importedVxContainer.isValid() )
68 return StatusCode::RECOVERABLE;
72 if ( importedVxContainer->empty() ){
75 primaryVertex = importedVxContainer->front();
80 if ( h_V0.record(std::make_unique<xAOD::VertexContainer>() ,std::make_unique<xAOD::VertexAuxContainer>()).isFailure()){
82 return StatusCode::FAILURE;
86 if ( h_Ks.record(std::make_unique<xAOD::VertexContainer>() ,std::make_unique<xAOD::VertexAuxContainer>()).isFailure()){
88 return StatusCode::FAILURE;
92 if( h_La.record(std::make_unique<xAOD::VertexContainer>() ,std::make_unique<xAOD::VertexAuxContainer>()).isFailure()){
94 return StatusCode::FAILURE;
98 if(h_Lb.record(std::make_unique<xAOD::VertexContainer>() ,std::make_unique<xAOD::VertexAuxContainer>()).isFailure()){
100 return StatusCode::FAILURE;
104 const auto statusOfSearch =
m_v0FinderTool->performSearch(h_V0.ptr(),
108 primaryVertex, importedVxContainer.cptr(), ctx);
110 if (statusOfSearch != StatusCode::SUCCESS){
112 return StatusCode::FAILURE;
127 return StatusCode::SUCCESS;
133 <<
"----------------------------------------------------------------------------------------------------------------------------------------------" <<
endmsg
140 msg(MSG::INFO) <<
"----------------------------------------------------------------------------------------------------------------------------------------------" <<
endmsg;
142 return StatusCode::SUCCESS;
152 return StatusCode :: SUCCESS;