Skip to content
Snippets Groups Projects
Commit c53db7b6 authored by Patrick Koppenburg's avatar Patrick Koppenburg :leaves:
Browse files

Fix crash in TupleToolHerschel when multiple versions are present

parent ae3795a7
No related branches found
No related tags found
3 merge requests!1039Fixed formatting,!1000Fixed formatting,!865Fix crash in TupleToolHerschel when multiple versions are present
Pipeline #3524025 passed
/*****************************************************************************\
* (c) Copyright 2000-2019 CERN for the benefit of the LHCb Collaboration *
* (c) Copyright 2000-2022 CERN for the benefit of the LHCb Collaboration *
* *
* This software is distributed under the terms of the GNU General Public *
* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
......@@ -294,9 +294,10 @@ StatusCode TupleToolHerschel::fill( Tuples::Tuple& tup ) {
if ( hrc_fom > 0 ) log_hrc_fom = std::log( hrc_fom );
if ( hrc_fom_B > 0 ) log_hrc_fom_B = std::log( hrc_fom_B );
if ( hrc_fom_F > 0 ) log_hrc_fom_F = std::log( hrc_fom_F );
test &= tup->column( prefix + "log_hrc_fom" + "_v" + std::to_string( m_hrcFomVnum ), log_hrc_fom );
test &= tup->column( prefix + "log_hrc_fom_B" + "_v" + std::to_string( m_hrcFomVnum ), log_hrc_fom_B );
test &= tup->column( prefix + "log_hrc_fom_F" + "_v" + std::to_string( m_hrcFomVnum ), log_hrc_fom_F );
test &= tup->column( prefix + "log_hrc_fom_version", m_hrcFomVnum );
test &= tup->column( prefix + "log_hrc_fom", log_hrc_fom );
test &= tup->column( prefix + "log_hrc_fom_B", log_hrc_fom_B );
test &= tup->column( prefix + "log_hrc_fom_F", log_hrc_fom_F );
// Fill ADC vectors
std::vector<double> adcB, adcF;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment