RE: [Brahms-dev-l] making dst files

From: Bekele, Selemon <bekeleku@ku.edu>
Date: Wed Aug 24 2005 - 13:37:58 EDT
Hi Flemming,

    sorry for the scare I caused about H1 slat numbers. I am just conditioned to the FS, I completely forgot about
the MRS. Indeed doing SetSlewing(kFALSE) for the MRS, I no longer see slat numbers above 40. It is good to have an 
expert around. I also see that the slewing parameters are accessed correctly. It only remains to check the lines
------------------------
  Double_t tofraw = 0.5 *(tTime+bTime) - toff;

    if (fUseSlewing) {
       Double_t slewCorrection = 0.5 * (slewt2/TMath::Sqrt(tAdc) + slewt1  + slewb2/TMath::Sqrt(bAdc) + slewb1);

       cout<<"slewCorrection = "<<slewCorrection<<endl;

       Info(15,"Event","Slewing correction = %f, t1 = %f, t2 = %f",slewCorrection,slewt1,slewt2);
       tofraw -= slewCorrection;
    }
--------------------------

I will update you what the output will be from this

cheers,

Selemon,

-----Original Message-----
From: flemming videbaek [mailto:videbaek@rcf.rhic.bnl.gov]
Sent: Wed 8/24/2005 12:21 PM
To: Bekele, Selemon
Subject: Re: [Brahms-dev-l] making dst files
 
Hi
 There are certainly only 40 slats in the H1 and the numbering is 1,2,...40
as set by the online system.
Are you sure you are looking at H1, The values printed looks like those for
TOFW. The rdo module
is used by all 4 tof walls.

regards
    Flemming

----------------------------------------------------------------
Flemming Videbaek
Physics Department
Brookhaven National Laboratory

e-mail: videbaek@bnl.gov
phone: 631-344-4106
----- Original Message ----- 
From: "Bekele, Selemon" <bekeleku@ku.edu>
To: "flemming videbaek" <videbaek@bnl.gov>
Cc: <brahms-dev-l@lists.bnl.gov>
Sent: Wednesday, August 24, 2005 12:45 PM
Subject: RE: [Brahms-dev-l] making dst files


>
> Hi Flemming,
>
>       I was looking into "BrTofRdoModule.cxx" and checking if I was
reading the slewing parameters correctly from database,
> I found the following
>  -------------
>  for(Int_t h = 0; h < hits->GetEntries(); h++) {
>     BrTofDig* hit = (BrTofDig*)hits->At(h);
>
>     Int_t slat = hit->GetSlatno();
>
>        if (fUseSlewing) {
>       slewt1 = fCalibration->GetTopSlewPar1(slat);
>       slewt2 = fCalibration->GetTopSlewPar2(slat);
>       slewb1 = fCalibration->GetBotSlewPar1(slat);
>       slewb2 = fCalibration->GetBotSlewPar2(slat);
>
>       cout<<"slat :"<<slat<<endl;
>
>       cout<<"slewt1 :"<<slewt1<<endl;
>       cout<<"slewt2 :"<<slewt2<<endl;
>       cout<<"slewb1 :"<<slewb1<<endl;
>       cout<<"slewb2 :"<<slewb2<<endl;
>
>       if (slewb2 == BrTofCalibration::kCalException)
> continue;
>     }
>
>  }
> -------------
>
> slat :13
> slewt1 :0.0841689
> slewt2 :34.5026
> slewb1 :0.0841689
> slewb2 :29.4853
> slat :2
> slewt1 :-0.12063
> slewt2 :22.563
> slewb1 :-0.12063
> slewb2 :39.3138
> slat :60
> slewt1 :-0.739168
> slewt2 :22.9963
> slewb1 :-0.739168
> slewb2 :18.8778
> slat :61
> slewt1 :-0.752743
> slewt2 :25.4482
> slewb1 :-0.752743
> slewb2 :15.9752
> slat :62
> slewt1 :-0.707273
> slewt2 :17.5353
> slewb1 :-0.707273
> slewb2 :17.0119
>
> ------------------------
>
> I thought the slat number for H1 goes upto 40. But as you can see above
some slat numbers are > 40 .
> Is there a global slat number for the hits which gets converted to the
actual slat number inside the
> code which accesses the calibration parameters or this is a bug?
>
> Selemon,
>
> -----Original Message-----
> From: flemming videbaek [mailto:videbaek@rcf.rhic.bnl.gov]
> Sent: Sun 8/21/2005 7:31 PM
> To: Bekele, Selemon; brahms-dev-l@lists.bnl.gov
> Subject: Re: [Brahms-dev-l] making dst files
>
> Hi
> I assume you have solved the problem since subsequent submissions from you
> seem to have worked.
> Please give feedback to the list if you actually solve problems that have
> been announched. This benifits all
>
> regards
>     Flemming
> ----------------------------------------------------------------
> Flemming Videbaek
> Physics Department
> Brookhaven National Laboratory
>
> e-mail: videbaek@bnl.gov
> phone: 631-344-4106
> ----- Original Message ----- 
> From: "Bekele, Selemon" <bekeleku@ku.edu>
> To: <brahms-dev-l@lists.bnl.gov>
> Sent: Friday, August 19, 2005 6:40 PM
> Subject: [Brahms-dev-l] making dst files
>
>
> >
> > Hi All,
> >
> >    I was trying to make a dst to test H1 and H2 calibratios. I did
> >
> > bramreco@rcas0032:~/DataProduction/run05/cucu/200/dst> ./submitDst.perl
> 12225
> >
> >     which excuted makeDst.rb as
> >
> >
>
./makeDst.rb --userName=tigist --email=tigist@bnl.gov --inputProductionNo=1
> --outputProductionNo=1 --beginRun=12225 --endRun=12225 --condor_q=rcrs5
> >
> >     but the output file does not seem to be written out properly. I also
> checked the files
> >
> > /brahms/data21/data/run05/cucu/200/r12225/log/dst012225v6p1.out
> > /brahms/data21/data/run05/cucu/200/r12225/log/dst012225v6p1.err
> >
> >    both of which are empty. I tried with another run but got the same
> results. May be I am missing something.
> > any ideas?
> >
> >
> > Selemon,
> >
> > _______________________________________________
> > 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-l
>



_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Wed Aug 24 13:43:04 2005

This archive was generated by hypermail 2.1.8 : Wed Aug 24 2005 - 13:43:15 EDT