451 |
sgnl = 0; |
sgnl = 0; |
452 |
}; |
}; |
453 |
// |
// |
454 |
// now you can access that variables using the RunInfo class this way runinfo->ID_REG_RUN |
// now you can access that variables using the RunInfo class this way runinfo->ID_ROOT_L0 |
455 |
// |
// |
456 |
if ( runinfo->ID_ROOT_L0 == 0 ){ |
if ( runinfo->ID_ROOT_L0 == 0 ){ |
457 |
if ( debug ) printf("\n S4 - ERROR: no run with ID_RUN = %u \n\n Exiting... \n\n",idRun); |
if ( debug ) printf("\n S4 - ERROR: no run with ID_RUN = %u \n\n Exiting... \n\n",idRun); |
525 |
goto closeandexit; |
goto closeandexit; |
526 |
}; |
}; |
527 |
// |
// |
528 |
if ( runinfo->NEVENTS > nevents-1 ) { |
if ( runinfo->EV_TO > nevents-1 ) { |
529 |
if ( debug ) printf(" S4 - ERROR: too few entries in the S4 tree\n"); |
if ( debug ) printf(" S4 - ERROR: too few entries in the S4 tree\n"); |
530 |
l0File->Close(); |
l0File->Close(); |
531 |
code = -12; |
code = -12; |