2637 |
if( !GetOrbitalInfo() )cout << "** WARNING ** missing OrbitalInfo ---> run info might be not correctly updated "<<endl; |
if( !GetOrbitalInfo() )cout << "** WARNING ** missing OrbitalInfo ---> run info might be not correctly updated "<<endl; |
2638 |
if ( gltsync ) delete gltsync; //Emiliano |
if ( gltsync ) delete gltsync; //Emiliano |
2639 |
if(!dbc || (dbc && !dbc->IsConnected()) )SetDBConnection(); //Emiliano |
if(!dbc || (dbc && !dbc->IsConnected()) )SetDBConnection(); //Emiliano |
2640 |
gltsync = new GL_TIMESYNC(GetRunInfo()->ID_ROOT_L0,"ID",dbc); //Emiliano |
gltsync = new GL_TIMESYNC(GetRunInfo()->ID_ROOT_L0,"ID",dbc,false); //Emiliano // the "false" means not to use level0 file (not necessary here) |
2641 |
if ( dbc ) dbc->Close();// Emiliano |
if ( dbc ) dbc->Close();// Emiliano |
2642 |
}; |
}; |
2643 |
// --------------------------------------------------------------- |
// --------------------------------------------------------------- |