diff --git a/programs/us_analysis_profile/us_analysis_profile.cpp b/programs/us_analysis_profile/us_analysis_profile.cpp index 25a7b10f1..bee553d6e 100644 --- a/programs/us_analysis_profile/us_analysis_profile.cpp +++ b/programs/us_analysis_profile/us_analysis_profile.cpp @@ -122,6 +122,15 @@ DbgLv(1) << "MAIN: CALL check_runname()"; DbgLv(1) << "MAIN: CALL reset()"; //reset(); resize( 500, 450 ); + + // //test + // US_AnaProfile profile1; + // US_AnaProfile profile2; + + // if ( profile1 == profile2 ) + // qDebug() << "ana profs EQUAL"; + // else + // qDebug() << "ana profs NOT EQUAL"; } diff --git a/utils/us_ana_profile.cpp b/utils/us_ana_profile.cpp index f664291e3..626555049 100644 --- a/utils/us_ana_profile.cpp +++ b/utils/us_ana_profile.cpp @@ -197,7 +197,13 @@ bool US_AnaProfile::operator== ( const US_AnaProfile& ap ) const if ( aprofGUID != ap.aprofGUID ) return false; if ( protoname != ap.protoname ) return false; if ( protoGUID != ap.protoGUID ) return false; - if ( nchan != ap.nchan ) return false; + + qDebug() << "[ANA comp] Gen1 OK"; + + qDebug() << "nchan: " << nchan << ap.nchan; + //if ( nchan != ap.nchan ) return false; + + qDebug() << "[ANA comp] Gen2 OK"; if ( lc_ratios != ap.lc_ratios ) return false; if ( lc_tolers != ap.lc_tolers ) return false; @@ -205,6 +211,8 @@ bool US_AnaProfile::operator== ( const US_AnaProfile& ap ) const if ( lv_tolers != ap.lv_tolers ) return false; if ( data_ends != ap.data_ends ) return false; + qDebug() << "[ANA comp] Gen3 OK"; + //abde if ( ld_dens_0s != ap.ld_dens_0s ) return false; if ( gm_vbars != ap.gm_vbars ) return false;