USE dbname;

SET time_zone='+0:00';

DELETE FROM GL_PARAM where TYPE=4;
insert into GL_PARAM values(0,"$PAM_CALIB/trk-param/","eta_param_GP-1/",0,0,4,"trk pfa",NULL);

DELETE FROM GL_PARAM where TYPE=5;
insert into GL_PARAM values(0,"$PAM_CALIB/trk-param/","align_param_GP-1/",0,0,5,"trk alignment",NULL);

DELETE FROM GL_PARAM where TYPE=6;
insert into GL_PARAM values(0,"$PAM_CALIB/trk-param/","mask_param-1/",0,0,6,"trk mask",NULL);

DELETE FROM GL_PARAM where TYPE=50;
insert into GL_PARAM values(0,"$PAM_CALIB/trk-param/","calib_GP/",0,0,50,"GP trk calibration",NULL);

DELETE FROM GL_PARAM where TYPE=103;
insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloBadMask.dat",0,0,103,"Calorimeter bad strip offline mask",NULL);
DELETE FROM GL_PARAM where TYPE=105;
insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloBadPulsePre0.dat",0,0,105," <0701 Calorimeter bad pre-amplifiers when pulsing offline mask",NULL);
DELETE FROM GL_PARAM where TYPE=108;
insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_crosstalk_param_si0.dat",0,0,108,"Calorimeter cross-talk silicon effect",NULL);
DELETE FROM GL_PARAM where TYPE=110;
insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_adc2mip_special0.dat",0,0,110,"Calorimeter ADC to MIP from flight, special cases",NULL);
DELETE FROM GL_PARAM where TYPE=111;
insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_emin_strip0.dat",0,0,111,"Calorimeter Emin threshold for each strip (default 0.7)",NULL);


DELETE FROM GL_PARAM where TYPE=201;
insert into GL_PARAM values(0,"$PAM_CALIB/tof-param/","tofcalib_3par_gp.rz",0,0,201,"GPAMELA default calibration",NULL);
delete from GL_PARAM where TYPE>=210 and TYPE<=221;
DELETE FROM GL_PARAM where TYPE=203;
insert into GL_PARAM values(0,"$PAM_CALIB/tof-param/","dedxmonitor.He.simu.dat",1,4294967295,203," ToF dE/dx II order correction parameters - simulation",NULL);
DELETE FROM GL_PARAM where TYPE=204;
insert into GL_PARAM values(0,"$PAM_CALIB/tof-param/","attenuation.txt",1,4294967295,204," ToF attenuation parameter file ",NULL);

INSERT INTO `GL_TLE` VALUES (1,'RESURS DK-1','1 29228U 06021A   06166.45315890 -.00001271  40192-5  00000+0 0    12','2 29228 069.9476 065.6885 0106036 060.6946 300.4810 16.02948390    10','2006-06-15 10:52:32','2009-03-04 15:33:20'),(2,'RESURS DK-1','1 29228U 06021A   06166.51560127  .00781144  00000-0  59452-3 0    59','2 29228 069.9490 065.4847 0109492 060.1077 301.1744 16.02913389    26','2006-06-15 12:22:27','2009-03-04 15:33:20'),(3,'RESURS DK-1','1 29228U 06021A   06166.76519729  .00718188  00000-0  53626-3 0    64','2 29228 069.9490 064.7488 0108911 059.6958 301.5722 16.03251707    69','2006-06-15 18:21:53','2009-03-04 15:33:20'),(4,'RESURS DK-1','1 29228U 06021A   06166.84985791  .00653589  40353-5  46770-3 0    20','2 29228 069.9609 064.5016 0111459 060.4385 069.3509 16.03348515    78','2006-06-15 20:23:47','2009-03-04 15:33:20'),(5,'RESURS DK-1','1 29228U 06021A   06167.10288289  .00921992  40517-5  64986-3 0    36','2 29228 069.9578 063.7534 0109459 060.2049 089.8944 16.03885106   118','2006-06-16 02:28:09','2009-03-04 15:33:20');
