<div dir="ltr"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Hi All,</font><div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Nick Compton is having what looks like a very similar issue to Markov&#39;s (see below). Was this ever resolved?<br clear="all">
</font><div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">-- <a href="https://sites.google.com/site/theodoregoetz/" target="_blank">Johann</a></font></div><div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
</font></div><div><p style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></p><p style="margin-top:0px;margin-bottom:0px">
<font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">########## begin message from Nick Compton #########</font></p><p style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">when I run a Monte Carlo simulation say of 100 events, I only get 71 back in the root tree. This may be what I expect from a detector simulation depending on the reaction, except for the fact that in the mc bank I am also only getting 71 events. This seems odd as I would not expect the number in the mc bank to be the same as the events bank. Do you know if there is an option I have to use with GSIM or in another <span class="">part</span> of the process to have the mc bank work properly? Please let me know of any insight you might have.</font></p>
<p style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> </font></p><p style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">I am using fsgen to generate .evt files which according to the .log file produced 100 events. The information is stored in the directory &#39;/volatile/clas/clasg10/ncompton&#39;.</font></p>
<p style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> </font></p><p style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Thanks,</font></p>
<p style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Nick</font></p></div>

<div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
</font></div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">########### begin thread of emails associated with Markov&#39;s problems ########<br><br></font><div class="gmail_quote">
<font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Michael C. Kunkel</b> <span dir="ltr">&lt;<a href="mailto:mkunkel@jlab.org" target="_blank">mkunkel@jlab.org</a>&gt;</span><br>

Date: Fri, May 16, 2014 at 9:20 AM<br>Subject: Re: [Clas_offline] Generated events in the PART bank (PART bank sector 0) after user_ana.<br>To: nick markov &lt;<a href="mailto:markov@jlab.org" target="_blank">markov@jlab.org</a>&gt;, KiJun Park &lt;<a href="mailto:parkkj@jlab.org" target="_blank">parkkj@jlab.org</a>&gt;<br>

Cc: clas offline &lt;<a href="mailto:clas_offline@jlab.org" target="_blank">clas_offline@jlab.org</a>&gt;<br><br><br>
  
    
  
  </font><div bgcolor="#FFFFFF" text="#000000"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">
    Greetings,<br>
    <br>
    From what I recall, the STABLE build of RECSIS/user_ana will not
    output PART 0. However, I remember Stepan having a build that does
    output PART 0. Maybe you can compare the source codes and figure out
    why.<br>
    <br>
    BR<span><br>
    MK</span></font><div><div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
    <br>
    <br>
    </font><div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">On 5/16/14 9:13 AM, nick markov wrote:<br>
    </font></div>
    <blockquote type="cite"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">
      
      Hi,
      </font><div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">thank you very much for your respond. The tcl file which I
        use is :</font></div>
      <div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    source
/group/clas/builds/test3/src/clas6-trunk/reconstruction/recsis/recsis_proc.tcl;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    turnoff
          ALL;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">   
          global_section off;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    turnon seb
          trk cc tof egn lac user pid;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    inputfile
          gpp_out.bos;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    setc
          chist_filename   recsis.hbook;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    setc
          log_file_name   out.log;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    outputfile
          test.recsis PROC1 2047;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          dc_xvst_choice     0;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          torus_current      2250;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          mini_torus_current 6000;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          poltarget_current  0;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    setc
          outbanknames(1)
          &quot;PARTEVNTECPBHEADDCPBTBIDTBTRTDPLTBLACCPBTRGSSCPBTGBI&quot;;</font></div>
        <div style="margin:0px;min-height:14px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
        </font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    setc
          prlink_file_name &quot;prlink_NEW_60_75.bos&quot;;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    setc
          bfield_file_name &quot;bgrid_T67to33.fpk&quot;;</font></div>
        <p style="margin:0px;min-height:14px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    <br>
        </font></p>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lseb_nt_do  -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lall_nt_do  -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lscr_nt_do  -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lseb_hist   -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lseb_h_do   -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lmon_hist   -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          ltrk_h_do   -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          legn_h_do   -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          ltof_h_do   -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lec1_h_do   -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lfec_hist   -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lfec_h_do   -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          lpart_nt_do -1;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    fpack
          &quot;timestop -9999999999&quot;;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set lscat
          $false;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    set
          ldisplay_all $false;</font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    go </font></div>
        <div style="margin:0px"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">    exit_pend;</font></div>
      </div>
      <div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Best  regards, Nick.</font></div>
      <div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
        </font><div>
          <div><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">On May 16, 2014, at 9:08 AM, KiJun Park &lt;<a href="mailto:parkkj@jlab.org" target="_blank">parkkj@jlab.org</a>&gt;
            wrote:</font></div>
          <font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
          </font><blockquote type="cite"><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Hello,<br>
            <br>
            Interesting. Is this matter of creating nPRT in Ntuple after
            RECSIS ?<br>
            For example, <br>
            *      1   * I*4  *         * [0,20]       * PART     * nPRT<br>
            *      2   * I*4  *         *              * PART     *
            pidPART(nPRT)<br>
            These are empty ?<br>
            If so, I believed that it is related with set variable. <br>
            I wonder whether Nick can show his tcl file.<br>
            <br>
            Kijun<br>
            <br>
            <br>
            ----- Original Message -----<br>
            From: &quot;Stepan Stepanyan&quot; &lt;<a href="mailto:stepanya@jlab.org" target="_blank">stepanya@jlab.org</a>&gt;<br>
            To: &quot;clas offline&quot; &lt;<a href="mailto:clas_offline@jlab.org" target="_blank">clas_offline@jlab.org</a>&gt;<br>
            Sent: Friday, May 16, 2014 8:30:10 AM<br>
            Subject: Re: [Clas_offline] Generated events in the PART
            bank (PART bank sector 0) after user_ana.<br>
            <br>
            <br>
            Johann, <br>
            <br>
            I am not familiar with how PART is handled in user_ana, it
            is in pid package I am sure. <br>
            But it is more likely that PART 0 is not deleted but it is
            just is not written out. <br>
            <br>
            Stepan <br>
            <br>
            <br>
            On 5/16/14 7:47 AM, Johann Goetz wrote: <br>
            <br>
            <br>
            <br>
            Does anyone know why user_ana should actively delete the
            PART bank sector 0 from the data? This sounds like a bug. In
            principle, gsim will digitize PART just the same it does for
            MCTK/VX. The low-level banks produced, and used by the
            reconstruction packages, will be the same. <br>
            <br>
            <br>
            In short, I believe the solution to Nick&#39;s problem is to NOT
            DROP the PART bank sector 0 during reconstruction
            (user_ana). Can someone tell him how to do this using
            user_ana? <br>
            <br>
            <br>
            -- Johann <br>
            <br>
            <br>
            On Tue, May 13, 2014 at 3:47 PM, Gagik Gavalian &lt; <a href="mailto:gavalian@jlab.org" target="_blank">gavalian@jlab.org</a>
            &gt; wrote: <br>
            <br>
            <br>
            <br>
            Hi Nick, <br>
            <br>
            <br>
            The PART 0, is used when you’re running simulation and then
            reconstructing with a1c, which keeps both PART 0 (simulated
            bank) and PART 1 reconstructed bank. <br>
            If you’re using user_ana to for reconstruction, you should
            write your simulation into MCTK and MCVX banks, then run
            GSIM/RECSIS chain on it. <br>
            <br>
            <br>
            Gagik <br>
            <br>
            <br>
            <br>
            On May 13, 2014, at 3:38 PM, nick markov &lt; <a href="mailto:markov@jlab.org" target="_blank">markov@jlab.org</a>
            &gt; wrote: <br>
            <br>
            <br>
            user_ana <br>
            <br>
            _______________________________________________ <br>
            Clas_offline mailing list <br>
            <a href="mailto:Clas_offline@jlab.org" target="_blank">Clas_offline@jlab.org</a>
            <br>
            <a href="https://mailman.jlab.org/mailman/listinfo/clas_offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/clas_offline</a>
            <br>
            <br>
            <br>
            <br>
            _______________________________________________<br>
            Clas_offline mailing list <a href="mailto:Clas_offline@jlab.org" target="_blank">Clas_offline@jlab.org</a>
            <a href="https://mailman.jlab.org/mailman/listinfo/clas_offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/clas_offline</a>
            <br>
            <br>
            _______________________________________________<br>
            Clas_offline mailing list<br>
            <a href="mailto:Clas_offline@jlab.org" target="_blank">Clas_offline@jlab.org</a><br>
            <a href="https://mailman.jlab.org/mailman/listinfo/clas_offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br>
            <br>
            -- <br>
            ---------------------------------------******<br>
            Dr. Kijun Park<br>
            Physics Dept. Old Dominion University<br>
            Thomas Jefferson National Accelerator Facility<br>
            Suit 5 Room 12_1/A102<br>
            12000 Jefferson Ave.<br>
            Newport News VA 23606<br>
            Phone <a href="tel:757-269-6989" value="+17572696989" target="_blank">757-269-6989</a><br>
            <br>
            <br>
            _______________________________________________<br>
            Clas_offline mailing list<br>
            <a href="mailto:Clas_offline@jlab.org" target="_blank">Clas_offline@jlab.org</a><br>
            <a href="https://mailman.jlab.org/mailman/listinfo/clas_offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br>
          </font></blockquote>
        </div>
        <font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
      </font></div>
      <font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
      </font><fieldset></fieldset>
      <font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
      </font><pre><font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">_______________________________________________
Clas_offline mailing list
<a href="mailto:Clas_offline@jlab.org" target="_blank">Clas_offline@jlab.org</a>
<a href="https://mailman.jlab.org/mailman/listinfo/clas_offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/clas_offline</a></font></pre>
    </blockquote>
    <font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>
  </font></div></div></div>

<font face="arial, helvetica, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br>_______________________________________________<br>
Clas_offline mailing list<br>
<a href="mailto:Clas_offline@jlab.org" target="_blank">Clas_offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/clas_offline" target="_blank">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br></font></div><br></div></div>