--- DarthVader/GLTables/src/GLTables.cpp 2006/05/19 13:15:59 1.1 +++ DarthVader/GLTables/src/GLTables.cpp 2006/07/21 11:01:01 1.2 @@ -357,7 +357,31 @@ // return 0; }; -// + + +/** + * Fills a struct cGLRun with values from a GLRun object (to put data into a F77 common). + */ + +void GL_RUN::GetLevel2Struct(cGLRun *l2) const{ + l2->id = ID; + l2->id_reg_run = ID_REG_RUN; + l2->id_reg_run_l2 = ID_REG_RUN_L2; + l2->runheader_time = RUNHEADER_TIME; + l2->runtrailer_time = RUNTRAILER_TIME; + l2->ev_reg_phys_from = EV_REG_PHYS_FROM; + l2->ev_reg_phys_to = EV_REG_PHYS_TO; + l2->ev_reg_runheader = EV_REG_RUNHEADER; + l2->ev_reg_runtrailer = EV_REG_RUNTRAILER; + l2->trk_calib_used = TRK_CALIB_USED; + l2->eff_wrk_schedule = EFF_WRK_SCHEDULE; + l2->prh_var_trg_mode_a = PRH_VAR_TRG_MODE_A; + l2->prh_var_trg_mode_b = PRH_VAR_TRG_MODE_B; + l2->acq_build_info = ACQ_BUILD_INFO; + l2->acq_var_info = ACQ_VAR_INFO; +} + + ClassImp(GL_TRK_CALIB); ClassImp(GL_RUN); ClassImp(GL_ROOT);