Hi Djam Hiro will probably tell you too The mess (small) is introduced in-correctly for tof1,tof2 and tofw. The first tof-like detectors were the two pp triggers counters for MRS and FS that really needed the Float, Thus tof1,tof2 tofw should also have been decalred as float in the parameter table. These are correctly put in as float's as is the code in BrTofCalibration.h (picks up as float). Since float and it takes same number of bytes it is quite likely theat after the change it will work fine as you have already seen. flemming ---------------------------------------------------------------- Flemming Videbaek Physics Department Brookhaven National Laboratory e-mail: videbaek@bnl.gov phone: 631-344-4106 ----- Original Message ----- From: "Djamel Ouerdane" <ouerdane@nbi.dk> To: "Brahms Devel List" <brahms-dev-l@lists.bnl.gov> Sent: Friday, April 30, 2004 7:54 AM Subject: [Brahms-dev-l] tof adc gap stuff > Hello, > > I discovered during some adc gap calibration that someone introduced a > different root type for the parameters {top|bot}AdcGap{stat} for TFW2, > namely Float_t. > > For the other tof detectors, these parameters are Int_t. Now, you can > imagine the mess when things are written to the DB since the tof module > dealing with adc gap stuff is generic and is used for all TOF detectors. > > If some DB admin could fix this mess asap, i.e. change the type to Int_t > in the sql DB (I'll change the stuff in brat), that would be great. I will > overwrite the old cal for TFW2 with the right type. > > (Note: I found out when I displayed the parameters on the web, TFW2 params > made sense but the other TOF gap params started looking weird since the > internal type says int but the brat module treats them as floats...). > > Djam > > > -- > Djamel Ouerdane ------------------------------------------o > | Niels Bohr Institute | Home: | > | Blegdamsvej 17, DK-2100 Ø | Jagtvej 141 2D, | > | Fax: +45 35 32 50 16 | DK-2200 Copenhagen N | > | Tel: +45 35 32 52 69 | +45 35 86 19 74 | > | http://www.nbi.dk/~ouerdane | > | ouerdane@nbi.dk | > o---------------------------------------------------------o > > > _______________________________________________ > Brahms-dev-l mailing list > Brahms-dev-l@lists.bnl.gov > http://lists.bnl.gov/mailman/listinfo/brahms-dev-l > _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Fri Apr 30 12:22:32 2004
This archive was generated by hypermail 2.1.8 : Fri Apr 30 2004 - 12:22:51 EDT