<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Mike,</p>
    <p>  The information in REC_ForwardTagger contains both FTCAL and
      FTHODO events so you should check the REC_ForwardTagger_detector
      bank: =10 => CAL ; =11 =>HODO.</p>
    <p>  Saying that there is still a bug or two I think. I previously
      reported that for a given event regardless of the number of
      ForwardTagger hits pindex is always the same so only 1 FT
      REC::Particle  gets an assigned time etc. <br>
    </p>
    <p>  The factor 6.4 may be to do with a units change, the hit
      positions are now given in cms.</p>
    <p>Cheers</p>
    <p>Derek<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 07/09/18 02:55, Michael Dugger
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:Pine.LNX.4.64.1809062144190.15132@jlabl1.jlab.org">
      <br>
      Hi,
      <br>
      <br>
      I think I found a quick temporary way to get results to look a lot
      like when we used the FT_particles bank
      <br>
      <br>
      Caveat: This is just a quick fix and a detailed study needs to be
      made to check what is the best way to go forward when using the
      REC_ForwardTagger.
      <br>
      <br>
      Perhaps I have some strange bug that makes the method below work.
      I do not know. I just know what I have below gets me results very
      similar to what I had in the past.
      <br>
      <br>
      It looks like whenever I have more than 2 hits in
      REC_ForwardTagger, the remaining hits are duplicates of the first
      two. Moreover, the second REC_ForwardTagger hit looks like it
      might be garbage. So just take the first hit in the
      REC_ForwardTagger bank.
      <br>
      <br>
      Here is how I get the tagger information:
      <br>
      <br>
          ftJ = 0;
      <br>
          ftEnergy  = myTree.REC_ForwardTagger_energy->at(ftJ);
      <br>
          ftTime    = myTree.REC_ForwardTagger_time->at(ftJ);
      <br>
          ftX  = myTree.REC_ForwardTagger_x->at(ftJ);
      <br>
          ftY  = myTree.REC_ForwardTagger_y->at(ftJ);
      <br>
          ftZ  = myTree.REC_ForwardTagger_z->at(ftJ);
      <br>
          ftL  = sqrt(pow(ftX,2) + pow(ftY,2) + pow(ftZ,2));
      <br>
          ftCx = ftX/ftL;
      <br>
          ftCy = ftY/ftL;
      <br>
          ftCz = ftZ/ftL;
      <br>
      <br>
      For the time-of-flight I use:
      <br>
      <br>
          deltaT = tofTime - ftTime + 6.4 - vertex.Z()/30.0
      <br>
      <br>
      That factor of 6.4 is strange, but I have to put that in to get
      mass distributions that look OK :(
      <br>
      <br>
      Take care,
      <br>
      Michael
      <br>
      <br>
      On Thu, 6 Sep 2018, Will Phelps wrote:
      <br>
      <br>
      <blockquote type="cite">Yeah, I’m not sure who has done in depth
        studies of the Rec:particle and rec:forwardtagger banks vs the
        FT:Particles bank. Maybe Raffaella or Nathan can point us in the
        right direction. Or maybe we’ll have to run our own comparisons.
        <br>
        <br>
        -Will
        <br>
        <br>
        Sent from my iPhone
        <br>
        <br>
        <blockquote type="cite">On Sep 6, 2018, at 7:52 PM, Michael
          Dugger <a class="moz-txt-link-rfc2396E" href="mailto:dugger@jlab.org"><dugger@jlab.org></a> wrote:
          <br>
          <br>
          <br>
          Hi,
          <br>
          <br>
          I do not know what we need :(
          <br>
          <br>
          In the past we have been using the FT_particles and when
          looking at REC_ForwardTagger, things seem much different. I do
          not know if things are better or worse if using
          REC_ForwardTagger.
          <br>
          <br>
          I can say that the duplicates in REC_ForwardTagger are going
          to make life a bit of a pain.
          <br>
          <br>
          Take care,
          <br>
          Michael
          <br>
          <br>
          <blockquote type="cite">On Thu, 6 Sep 2018, Will Phelps wrote:
            <br>
            <br>
            Hello Michael,
            <br>
            <br>
            I think we need to include Raffaella and the FT group in our
            discussions about the banks. I think most people are under
            the impression that Rec:ForwardTagger and Rec:particles are
            all you need for the forward tagger. Is this the case?
            <br>
            <br>
            -Will
            <br>
            <br>
            Sent from my iPhone
            <br>
            <br>
            <blockquote type="cite">On Sep 6, 2018, at 7:43 PM, Michael
              Dugger <a class="moz-txt-link-rfc2396E" href="mailto:dugger@jlab.org"><dugger@jlab.org></a> wrote:
              <br>
              <br>
              <br>
              Hi,
              <br>
              <br>
              Just started looking at REC_ForwardTagger stuff and there
              is a bunch of duplicate hits.
              <br>
              <br>
              Here is an example event with 6 hits showing up for
              TEC_ForwardTagger:
              <br>
              <br>
              ftTime, ftEnergy = 178.399 , 2.91067
              <br>
              ftTime, ftEnergy = 180.169 , 5.4406
              <br>
              ftTime, ftEnergy = 178.399 , 2.91067
              <br>
              ftTime, ftEnergy = 180.169 , 5.4406
              <br>
              ftTime, ftEnergy = 178.399 , 2.91067
              <br>
              ftTime, ftEnergy = 180.169 , 5.4406
              <br>
              <br>
              As you can see, there is actually only two unique hits!
              <br>
              <br>
              This looks like it will be pain to sort through :(
              <br>
              <br>
              Take care,
              <br>
              Michael
              <br>
              <br>
              <br>
              <br>
              <br>
              _______________________________________________
              <br>
              Clas12_verystrange mailing list
              <br>
              <a class="moz-txt-link-abbreviated" href="mailto:Clas12_verystrange@jlab.org">Clas12_verystrange@jlab.org</a>
              <br>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/clas12_verystrange">https://mailman.jlab.org/mailman/listinfo/clas12_verystrange</a>
              <br>
            </blockquote>
            <br>
            <br>
            _______________________________________________
            <br>
            Clas12_verystrange mailing list
            <br>
            <a class="moz-txt-link-abbreviated" href="mailto:Clas12_verystrange@jlab.org">Clas12_verystrange@jlab.org</a>
            <br>
            <a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/clas12_verystrange">https://mailman.jlab.org/mailman/listinfo/clas12_verystrange</a>
            <br>
            <br>
          </blockquote>
          _______________________________________________
          <br>
          Clas12_verystrange mailing list
          <br>
          <a class="moz-txt-link-abbreviated" href="mailto:Clas12_verystrange@jlab.org">Clas12_verystrange@jlab.org</a>
          <br>
          <a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/clas12_verystrange">https://mailman.jlab.org/mailman/listinfo/clas12_verystrange</a>
          <br>
        </blockquote>
        <br>
        <br>
        _______________________________________________
        <br>
        Clas12_verystrange mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Clas12_verystrange@jlab.org">Clas12_verystrange@jlab.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/clas12_verystrange">https://mailman.jlab.org/mailman/listinfo/clas12_verystrange</a>
        <br>
        <br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Clas12_verystrange mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Clas12_verystrange@jlab.org">Clas12_verystrange@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/clas12_verystrange">https://mailman.jlab.org/mailman/listinfo/clas12_verystrange</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>