--- chewbacca/YodaProfiler/src/GLTables.cpp 2008/09/25 09:03:19 1.2 +++ chewbacca/YodaProfiler/src/GLTables.cpp 2008/10/31 11:21:43 1.4 @@ -218,6 +218,13 @@ NAME = ""; } +GL_RAW::GL_RAW(){ + ID = 0; + PATH = ""; + NAME = ""; + BOOT_NUMBER = 0; +} + GL_PARAM::GL_PARAM(){ ID = 0; PATH = ""; @@ -1347,7 +1354,7 @@ // // if the selected calibration is too old (more than 5 orbits old) try to take the closest not corrupted one // - if ( (time-myfromtime)>28500 ){ + if ( (time-myfromtime)>28500 && myfromtime > 0 ){ // myquery.str(""); myquery << "select ID_ROOT_L0, FROM_TIME, TO_TIME, EV_ROOT from GL_CALO_CALIB where SECTION=" << section;