--- chewbacca/YodaProfiler/docs/PAMELAProductionDB.sql	2008/09/23 07:20:29	1.1
+++ chewbacca/YodaProfiler/docs/PAMELAProductionDB.sql	2008/09/25 12:13:49	1.3
@@ -197,14 +197,24 @@
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloADC2MIP-dws2000.dat",1,1,101,"Calorimeter ADC to MIP from flight data dw serie 2000",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloADC2MIP.dat",1,1,101,"Calorimeter ADC to MIP from ground data",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloADC2MIPfc.dat",2,4294967295,101,"Calorimeter ADC to MIP from flight, relativistic particles",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_adc2mip_special0.dat",1,1172976488,110,"Calorimeter ADC to MIP from flight, special cases",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_adc2mip_special1.dat",1172976488,4294967295,110,"Calorimeter ADC to MIP from flight, special cases",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloAlign.dat",1,1,102,"Calorimeter alignement",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloAlign-flight.dat",1,1,102,"Calorimeter alignement with flight data",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloAlign-flightEMS.dat",1,1,102,"Calorimeter alignement with flight data EM showers",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloAlign-flightINCp.dat",2,4294967295,102,"Calorimeter alignement with flight data, protons, Z alignment changed",NULL);
-insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloBadMask.dat",0,0,103,"Calorimeter bad strip offline mask",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloBadMask.dat",1,1,103,"Calorimeter bad strip offline mask",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloBadMask18Xgood.dat",2,4294967295,103,"Calorimeter bad strip offline mask",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloDefaultCalib.root",0,0,104,"Calorimeter default calibration",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloBadPulsePre0.dat",1,1169000000,105," <0701 Calorimeter bad pre-amplifiers when pulsing offline mask",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","FCaloBadPulsePre1.dat",1169000001,4294967295,105," >0701 Calorimeter bad pre-amplifiers when pulsing offline mask",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_crosstalk_param_pre_neighbour.dat",1,4294967295,106," Calorimeter pre-amply neighbour correction table",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_crosstalk_param_pre_IIneighbour.dat",1,4294967295,107," Calorimeter pre-amply second neighbour correction table",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_crosstalk_param_si0.dat",1,1167619688,108,"Calorimeter cross-talk silicon effect",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_crosstalk_param_si1.dat",1167619689,4294967295,108,"Calorimeter cross-talk silicon effect",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_maxrms_plane0.dat",1,4294967295,109,"Calorimeter 4*rms threshold for each plane (default 26)",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_emin_strip0.dat",1,1167619688,111,"Calorimeter Emin threshold for each strip (default 0.7)",NULL);
+insert into GL_PARAM values(0,"$PAM_CALIB/cal-param/","calo_emin_strip1.dat",1167619689,4294967295,111,"Calorimeter Emin threshold for each strip (default 0.7)",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/tof-param/","tofcalib_1.rz",1,1153660000,201," 0 - 07-23      -                       A       A       standard",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/tof-param/","tofcalib_2.rz",1153660001,1154375000,201," 07-23 - 07-31   HV_D problems           B       B       july            Parameters_jul24-31.txt",NULL);
 insert into GL_PARAM values(0,"$PAM_CALIB/tof-param/","tofcalib_3.rz",1154375001,1155850000,201," 07-31 - 08-17   -                       C       C       standard",NULL);
@@ -278,6 +288,8 @@
   `CAL_DSP_MASK` tinyint(3) unsigned NOT NULL default '0',
   `LAST_TIMESYNC` int(10) unsigned NOT NULL default '0',
   `OBT_TIMESYNC` int(10) unsigned NOT NULL default '0',
+  `PHYSENDRUN_MASK_S3S2S12` int(10) unsigned NOT NULL default '0',
+  `PHYSENDRUN_MASK_S11CRC` int(10) unsigned NOT NULL default '0',
   `VALIDATION` tinyint(3) unsigned NOT NULL default '0',
   `INSERT_TIME` timestamp NOT NULL default CURRENT_TIMESTAMP,
   PRIMARY KEY  (`ID`),
@@ -331,6 +343,8 @@
   `CAL_DSP_MASK` tinyint(3) unsigned NOT NULL default '0',
   `LAST_TIMESYNC` int(10) unsigned NOT NULL default '0',
   `OBT_TIMESYNC` int(10) unsigned NOT NULL default '0',
+  `PHYSENDRUN_MASK_S3S2S12` int(10) unsigned NOT NULL default '0',
+  `PHYSENDRUN_MASK_S11CRC` int(10) unsigned NOT NULL default '0',
   `VALIDATION` tinyint(3) unsigned NOT NULL default '0',
   `INSERT_TIME` timestamp NOT NULL default CURRENT_TIMESTAMP,
   PRIMARY KEY  (`ID`),
@@ -372,6 +386,8 @@
   `CAL_DSP_MASK` tinyint(3) unsigned NOT NULL default '0',
   `LAST_TIMESYNC` int(10) unsigned NOT NULL default '0',
   `OBT_TIMESYNC` int(10) unsigned NOT NULL default '0',
+  `PHYSENDRUN_MASK_S3S2S12` int(10) unsigned NOT NULL default '0',
+  `PHYSENDRUN_MASK_S11CRC` int(10) unsigned NOT NULL default '0',
   `VALIDATION` tinyint(3) unsigned NOT NULL default '0',
   `FILENAMEL0` varchar(255) NOT NULL default '',
   `FILENAMEL2` varchar(255) NOT NULL default '',
