Hi Stepan,<br><br>I have processed one file of each 5.7GeV runs to check the T0 time correction that <br>Bayram applied to the EC timing. <br>You can see the result of this test on the &quot;pass0_vec1&quot; table on the online monitoring <br>
web page: <a href="http://www.jlab.org/Hall-B/secure/eg6/cooking/online_sql/monitor.html">http://www.jlab.org/Hall-B/secure/eg6/cooking/online_sql/monitor.html</a><br>It seems that the correction works very well for the whole run range.<br>
<br>Best regards,<br><br>Lamiaa<br><br clear="all">************************************************************<br>*  Lamiaa El Fassi             email: <a href="mailto:elfassi@jlab.org">elfassi@jlab.org</a><br>*  Research Associate @ Rutgers University           <br>
*  Phone: (757) 269-7011 // Fax: (757) 269-5703                 <br>*  Jefferson Lab., 12000 Jefferson Ave.                <br>*  Suite# 4, MS 12H3<br>*  Newport News, VA. 23606<br>************************************************************<br>

<br><br><div class="gmail_quote">On Thu, Nov 4, 2010 at 10:29 AM, Stepan Stepanyan &lt;<a href="mailto:stepanya@jlab.org">stepanya@jlab.org</a>&gt; wrote:<br><blockquote class="gmail_quote">


  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Lamiaa,<br>
    <br>
    That sounds great, please do so if you have time.<br>
    <br>
    Thanks, Stepan<div><div></div><div class="h5"><br>
    <br>
    On 11/4/10 11:27 AM, Lamiaa El Fassi wrote:
    <blockquote type="cite">Hi Bayram,<br>
      <br>
      I checked couple of EC_CALIB subsystems, it seems you have updated
      all of them with your new constants.<br>
      <br>
      I am thinking to process one file from each 5.7GeV runs to check
      the effect of this timing change <br>
      on all of them. How that sound for you?<br>
      <br>
      Best,<br>
      <br>
      Lamiaa<br>
      <br clear="all">
      ************************************************************<br>
      *  Lamiaa El Fassi             email: <a href="mailto:elfassi@jlab.org">elfassi@jlab.org</a><br>
      *  Research Associate @ Rutgers University           <br>
      *  Phone: (757) 269-7011 // Fax: (757) 269-5703                 <br>
      *  Jefferson Lab., 12000 Jefferson Ave.                <br>
      *  Suite# 4, MS 12H3<br>
      *  Newport News, VA. 23606<br>
      ************************************************************<br>
      <br>
      <br>
      <div class="gmail_quote">On Thu, Nov 4, 2010 at 10:13 AM, bayram
        torayew &lt;<a href="mailto:bayramtore@gmail.com">bayramtore@gmail.com</a>&gt;
        wrote:<br>
        <blockquote class="gmail_quote">
          I wrote new constants to the DB. Can you check whether it is
          OK or not?
          <div><br>
          </div>
          <div>Thanks,</div>
          <div>  Bayram
            <div>
              <div><br>
                <br>
                <div class="gmail_quote">On Thu, Nov 4, 2010 at 11:01
                  AM, Lamiaa El Fassi &lt;<a href="mailto:elfassi@jlab.org">elfassi@jlab.org</a>&gt;
                  wrote:<br>
                  <blockquote class="gmail_quote">Hi Bayram,<br>
                    <br>
                    I was waiting your reply, so I didn&#39;t do it yet.<br>
                    <br>
                    Please go ahead and link you new constants to all
                    5.7GeV runs [60600-61215].<br>
                    <br>
                    Cheers,
                    <div><br>
                      <br>
                      Lamiaa<br>
                      <br clear="all">
************************************************************<br>
                      *  Lamiaa El Fassi             email: <a href="mailto:elfassi@jlab.org">elfassi@jlab.org</a><br>
                      *  Research Associate @ Rutgers University       
                         <br>
                      *  Phone: (757) 269-7011 // Fax: (757) 269-5703   
                                   <br>
                      *  Jefferson Lab., 12000 Jefferson Ave.           
                          <br>
                      *  Suite# 4, MS 12H3<br>
                      *  Newport News, VA. 23606<br>
************************************************************<br>
                      <br>
                      <br>
                    </div>
                    <div>
                      <div>
                        <div class="gmail_quote">On Thu, Nov 4, 2010 at
                          9:43 AM, bayram torayew &lt;<a href="mailto:bayramtore@gmail.com">bayramtore@gmail.com</a>&gt;
                          wrote:<br>
                          <blockquote class="gmail_quote">
                            Hello Lamia,
                            <div><br>
                            </div>
                            <div>If you did not write constants to all
                              5.7 GeV runs, I can do it.</div>
                            <div><br>
                            </div>
                            <div>Thanks,</div>
                            <div>  Bayram 
                              <div>
                                <div><br>
                                  <br>
                                  <div class="gmail_quote">On Wed, Nov
                                    3, 2010 at 3:36 PM, Lamiaa El Fassi
                                    &lt;<a href="mailto:elfassi@jlab.org">elfassi@jlab.org</a>&gt;
                                    wrote:<br>
                                    <blockquote class="gmail_quote">Hi
                                      Bayram,<br>
                                      <br>
                                      As a clarification to the
                                      comparison of the first histogram
                                      6600 that you sent in your file. <br>
                                      I produced a similar ones but
                                      after showing the fit result on
                                      them. The attached file
                                      &quot;ect61107_pass0v1.eps&quot; and
                                      &quot;ect61107_ec4.eps&quot; contains the
                                      fit result of histograms 6600 <br>
                                      (only file 01 of a run 61107) from
                                      previous pass0_v1 and yesterday&#39;s
                                      test. By looking to the <br>
                                      second fit parameter &quot;P2&quot; you will
                                      notice the effect of the 150ps
                                      correction that you did. <br>
                                      The P2 is the variable that we
                                      store in CSQL database as the mean
                                      of the ECt-SCt, and we <br>
                                      are monitoring online.<br>
                                      As a reference, I grabbed the two
                                      table below from the CSQL
                                      database. The first table contains
                                      <br>
                                      some ECt and RF variables from
                                      pass0_v1, and the second table
                                      contains the same variables <br>
                                      after T0 correction. By comparing
                                      the meanECt between the two
                                      tables, it&#39;s clear that the <br>
                                      correction works very well.<br>
                                      <br>
                                      mysql&gt; select  time, runno,
                                      runext,meanECt, sigmaECt, meanRF,
                                      sigmaRF from pass0_v1 where
                                      runno=61107; <br>
                                      <br>
+----------------+-------+--------+-----------+----------+-----------+----------+-----------------------<br>
                                      | time                   | runno |
                                      runext | meanECt | sigmaECt |
                                      meanRF | sigmaRF  |<br>
+----------------+-------+--------+-----------+----------+-----------+----------+-----------------------<br>
                                      | 20100927123809 | 61107 |      2
                                      | -0.137183 | 0.283532 |  0.000295
                                      |  1.53583 | <br>
                                      | 20100927123829 | 61107 |      0
                                      | -0.145314 | 0.273189 | -0.009556
                                      | 0.232634 | <br>
                                      | 20100927123836 | 61107 |      1
                                      | -0.140297 | 0.278291 |   -715.91
                                      |  262.525 | <br>
                                      | 20100927123918 | 61107 |    199
                                      | -0.131658 | 0.279846 | -0.000243
                                      |  6.04733 | <br>
                                      | 20100927123921 | 61107 |      7
                                      | -0.146954 | 0.272927 | -0.009928
                                      |  7.66647 | <br>
                                      | 20100927124003 | 61107 |    198
                                      |  -0.13663 | 0.285362 | -0.000978
                                      | 0.351751 | <br>
                                      | 20100927124154 | 61107 |      6
                                      | -0.132169 | 0.281154 |   0.00262
                                      |  1.53238 | <br>
                                      | 20100927124216 | 61107 |      5
                                      | -0.136083 | 0.279424 | -0.013988
                                      | 0.323303 | <br>
                                      | 20100927125143 | 61107 |      4
                                      | -0.135444 | 0.290308 | -0.099548
                                      | 0.003567 | <br>
                                      | 20100927125651 | 61107 |      3
                                      | -0.141135 | 0.286162 | -0.015248
                                      |  6.66342 | <br>
+----------------+-------+--------+-----------+----------+-----------+----------+-------------------------<br>
                                      <br>
                                      mysql&gt; select  time, runno,
                                      runext,meanECt, sigmaECt, meanRF,
                                      sigmaRF from ec_calib where
                                      runno=61107 &amp;&amp;
                                      time&gt;20101102000000 &amp;&amp;
                                      (runext&lt;=10 || runext=198 ||
                                      runext=199);<br>
+----------------+-------+--------+----------+----------+-----------+----------+----------------------<br>
                                      | time                   | runno |
                                      runext | meanECt| sigmaECt |
                                      meanRF | sigmaRF  |<br>
+----------------+-------+--------+----------+----------+-----------+----------+-----------------------<br>
                                      | 20101103085747 | 61107 |      1
                                      | 0.009278 | 0.278218 | -0.013734
                                      | 0.367396 | <br>
                                      | 20101103090524 | 61107 |      2
                                      |  0.01248 | 0.286261 |  0.000757
                                      | 0.166415 | <br>
                                      | 20101103091036 | 61107 |     10
                                      | 0.017908 | 0.282665 | -0.019994
                                      | 0.004426 | <br>
                                      | 20101103091044 | 61107 |      3
                                      |  0.00888 | 0.286028 | -0.014068
                                      |  18.3328 | <br>
                                      | 20101103091106 | 61107 |    198
                                      | 0.012264 | 0.288957 |  0.000254
                                      | 0.341149 | <br>
                                      | 20101103091111 | 61107 |      0
                                      | 0.003021 | 0.279989 | -0.002451
                                      |  1.08812 | <br>
                                      | 20101103091643 | 61107 |    199
                                      | 0.016746 | 0.283369 | -0.010677
                                      | 0.277356 | <br>
                                      | 20101103091803 | 61107 |      6
                                      | 0.016062 |  0.28398 |  0.008187
                                      | 0.310647 | <br>
                                      | 20101103091825 | 61107 |      7
                                      | 0.006204 | 0.281322 | -0.005417
                                      | 0.355592 | <br>
                                      | 20101103092425 | 61107 |      4
                                      | 0.012366 | 0.300597 | -0.029244
                                      |  20.2786 | <br>
                                      | 20101103092430 | 61107 |      5
                                      | 0.013586 |  0.28063 | -0.018597
                                      |  2.75205 | <br>
+----------------+-------+--------+----------+----------+-----------+----------+------------------------<br>
                                      <br>
                                      Best,<br>
                                      <font color="#888888"><br>
                                        Lamiaa<br>
                                      </font><br>
                                      PS: Please let me know if you will
                                      link the 61107 constants to the
                                      whole 5.7 GeV run range
                                      [60600-61215]
                                      <div><br>
                                        <br clear="all">
************************************************************<br>
                                        *  Lamiaa El Fassi            
                                        email: <a href="mailto:elfassi@jlab.org">elfassi@jlab.org</a><br>
                                        *  Research Associate @ Rutgers
                                        University           <br>
                                        *  Phone: (757) 269-7011 // Fax:
                                        (757) 269-5703                 <br>
                                        *  Jefferson Lab., 12000
                                        Jefferson Ave.                <br>
                                        *  Suite# 4, MS 12H3<br>
                                        *  Newport News, VA. 23606<br>
************************************************************<br>
                                        <br>
                                        <br>
                                      </div>
                                      <div>
                                        <div>
                                          <div class="gmail_quote">On
                                            Wed, Nov 3, 2010 at 11:17
                                            AM, bayram torayew &lt;<a href="mailto:bayramtore@gmail.com">bayramtore@gmail.com</a>&gt;
                                            wrote:<br>
                                            <blockquote class="gmail_quote">
                                              Hello,
                                              <div><br>
                                              </div>
                                              <div>I attached three
                                                (6600, 6620, and 6641)
                                                histograms to compare
                                                new const. with old
                                                const.</div>
                                              <div><br>
                                              </div>
                                              <div>/w/hallb/claseg6/btorayev/ec_time/test_61107/
                                                                       
                                                 for old constants.</div>
                                              <div>/w/hallb/claseg6/btorayev/ec_time/test_61107_new_const/
                                                        for new
                                                constants.</div>
                                              <div><br>
                                              </div>
                                              <div>Thanks,</div>
                                              <div>  Bayram </div>
                                              <div>
                                                <div>
                                                  <div><br>
                                                    <div class="gmail_quote">On
                                                      Wed, Nov 3, 2010
                                                      at 11:37 AM,
                                                      Stepan Stepanyan
                                                      &lt;<a href="mailto:stepanya@jlab.org">stepanya@jlab.org</a>&gt; wrote:<br>
                                                      <blockquote class="gmail_quote">
                                                        <div text="#000000" bgcolor="#ffffff">
                                                          Yes Lamiaa,
                                                          constants are
                                                          good for that
                                                          runs.<br>
                                                          <font color="#888888">
                                                          <br>
                                                          Stepan</font>
                                                          <div>
                                                          <div><br>
                                                          <br>
                                                          On 11/3/10
                                                          11:15 AM,
                                                          Lamiaa El
                                                          Fassi wrote:
                                                          <blockquote type="cite">Hi
                                                          Stepan,<br>
                                                          <br>
                                                          That means we
                                                          can link the
                                                          new EC timing
                                                          constants of a
                                                          run 61107 to
                                                          the whole 5.7
                                                          GeV runs.<br>
                                                          <br>
                                                          Bayram: Do you
                                                          want to do
                                                          that or shall
                                                          I do it?<br>
                                                          <br>
                                                          Best,<br>
                                                          <br>
                                                          Lamiaa<br>
                                                          <br clear="all">
************************************************************<br>
                                                          *  Lamiaa El
                                                          Fassi         
                                                             email: <a href="mailto:elfassi@jlab.org">elfassi@jlab.org</a><br>
                                                          *  Research
                                                          Associate @
                                                          Rutgers
                                                          University   
                                                                 <br>
                                                          *  Phone:
                                                          (757) 269-7011
                                                          // Fax: (757)
                                                          269-5703     
                                                                     <br>
                                                          *  Jefferson
                                                          Lab., 12000
                                                          Jefferson
                                                          Ave.         
                                                                <br>
                                                          *  Suite# 4,
                                                          MS 12H3<br>
                                                          *  Newport
                                                          News, VA.
                                                          23606<br>
************************************************************<br>
                                                          <br>
                                                          <br>
                                                          <div class="gmail_quote">On
                                                          Wed, Nov 3,
                                                          2010 at 9:56
                                                          AM, Stepan
                                                          Stepanyan &lt;<a href="mailto:stepanya@jlab.org">stepanya@jlab.org</a>&gt;

                                                          wrote:<br>
                                                          <blockquote class="gmail_quote">
                                                          <div bgcolor="#ffffff" text="#000000"> Hi guys,<br>
                                                          <br>
                                                          I checked few
                                                          histogram
                                                          files and
                                                          things look
                                                          quite good.<br>
                                                          Electron
                                                          vertex time
                                                          offset is ~20
                                                          ps (histogram
                                                          6600) and<br>
                                                          beta for
                                                          neutrals is at
                                                          ~1.003
                                                          (histogram
                                                          6620). <br>
                                                          So,
                                                          corrections
                                                          worked.<br>
                                                          <font color="#888888">
                                                          <br>
                                                          Stepan <br>
                                                          </font>
                                                          <div>
                                                          <div> <br>
                                                          On 11/3/10
                                                          10:16 AM,
                                                          Lamiaa El
                                                          Fassi wrote:
                                                          <blockquote type="cite">Hi
                                                          Bayram,<br>
                                                          <br>
                                                          I processed 50
                                                          files of a run
                                                          61107. A 90%
                                                          of these
                                                          cooked files
                                                          are already
                                                          done. <br>
                                                          You can access
                                                          the BOS,
                                                          ANAHIST and
                                                          the SEB ntuple
                                                          files
                                                          respectively
                                                          at the <br>
                                                          subdirectories
                                                          BOS, anaht and
                                                          paw of the
                                                          main trunk:<br>
                                                          <br>
/work/clas/claseg6/top_dir/ec_calib/pass0_ec4/<br>
                                                          <br>
                                                          Best,<br>
                                                          <br>
                                                          Lamiaa<br>
                                                          <br clear="all">
************************************************************<br>
                                                          *  Lamiaa El
                                                          Fassi         
                                                             email: <a href="mailto:elfassi@jlab.org">elfassi@jlab.org</a><br>
                                                          *  Research
                                                          Associate @
                                                          Rutgers
                                                          University   
                                                                 <br>
                                                          *  Phone:
                                                          (757) 269-7011
                                                          // Fax: (757)
                                                          269-5703     
                                                                     <br>
                                                          *  Jefferson
                                                          Lab., 12000
                                                          Jefferson
                                                          Ave.         
                                                                <br>
                                                          *  Suite# 4,
                                                          MS 12H3<br>
                                                          *  Newport
                                                          News, VA.
                                                          23606<br>
************************************************************<br>
                                                          <br>
                                                          <br>
                                                          <div class="gmail_quote">On
                                                          Tue, Nov 2,
                                                          2010 at 10:29
                                                          PM, bayram
                                                          torayew &lt;<a href="mailto:bayramtore@gmail.com">bayramtore@gmail.com</a>&gt;


                                                          wrote:<br>
                                                          <blockquote class="gmail_quote">
                                                          Hello Lamia, 
                                                          <div><br>
                                                          </div>
                                                          <div>I wrote
                                                          new constants
                                                          (150 ps is
                                                          added to To )
                                                          to the DB for
                                                          run61107.
                                                          Could you
                                                          please cook
                                                          this run?  </div>
                                                          <div><br>
                                                          </div>
                                                          <div>Thanks,</div>
                                                          <div>  Bayram</div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </blockquote>
                                                    </div>
                                                    <br>
                                                  </div>
                                                </div>
                                              </div>
                                            </blockquote>
                                          </div>
                                          <br>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                  <br>
                                </div>
                              </div>
                            </div>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                    </div>
                  </blockquote>
                </div>
                <br>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
  </div></div></div>

</blockquote></div><br>