<html>
<head>

</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="">Rakitha sent me this, I added it at <a href="https://hallaweb.jlab.org/wiki/index.php/Solid_eventgenerator#solid_bggen" class="">https://hallaweb.jlab.org/wiki/index.php/Solid_eventgenerator#solid_bggen</a>:</div>
<div class=""><br class="">
</div>
<div class="">The last entry in the lund file contains total rate divided by the total events in the file. So this number is small if the file contain large no.of events. I think the two files you were comparing may have been 10k (old file) and 100K (new file).
 The variable <span style="font-variant-ligatures: no-common-ligatures;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""></span><span style="font-variant-ligatures: no-common-ligatures;" class="">fEvQ2</span></span> which is the
 one before the last entry stores the total absolute rate for the particle. This is per Zhiwen's request. So this number can be compared between lund files with different event sizes.  <br class="">
<br class="">
</div>
I wanted to give you the steps I followed to generate these files. Here they are,<br class="">
</div>
<div class="">modify the fort.15 macro file to set no.of events and random number value then run bggen using "./bggen"<br class="">
</div>
1. First run the hall D code and this will generate a PAW file with default file name, "bggen.nt" <br class="">
</div>
2. Convert the PAW file to root format using h2root command for example  "h2root bggen.nt /home/rakithab/Simulation_Analysis/Generators/HallD/ElectroProduction/FixRate_10k_rootfiles/bggen_LH40cm_output_300k_1.root"<br class="">
</div>
3. Then I have a script called HallD_gen_lund.cc available in remoll repository, <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll-5Fsolid_tree_master_generators_halld_scripts&d=DwMGaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=Ba71hz5BQwnq7JfVaKiabFpGuh57flAYxNkJpt-CWy8&m=9yPdgK3QXLuGZT6V2gLb416M7n8h2k4BukiW0yHJ5_8&s=UOGMboHeSGjVBKwtcwFxxPIgmgorkq2tdIRwk_-zdeE&e=" class="">https://github.com/JeffersonLab/remoll_solid/tree/master/generators/halld/scripts</a> to
 generate lund files.<br class="">
</div>
4. For example  "./HallD_gen_lund /home/rakithab/Simulation_Analysis/Generators/HallD/ElectroProduction/FixRate_10k_rootfiles/bggen_LH40cm_output_300k_8.root 1 2 1 " you can see what these options are in the code. <br class="">
<br class="">
</div>
The final step will create 6 different lund files. <br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
— </div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Richard S. Holmes<br class="">
Physics Department<br class="">
Syracuse University</div>
</div>
<br class="">
</body>
</html>