[Solid_software] Hall D MC
Richard Holmes
rsholmes at syr.edu
Tue Mar 20 12:38:51 EDT 2018
Rakitha sent me this, I added it at https://hallaweb.jlab.org/wiki/index.php/Solid_eventgenerator#solid_bggen:
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 fEvQ2 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.
I wanted to give you the steps I followed to generate these files. Here they are,
modify the fort.15 macro file to set no.of events and random number value then run bggen using "./bggen"
1. First run the hall D code and this will generate a PAW file with default file name, "bggen.nt"
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"
3. Then I have a script called HallD_gen_lund.cc available in remoll repository, https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll-5Fsolid_tree_master_generators_halld_scripts&d=DwIGaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=Ba71hz5BQwnq7JfVaKiabFpGuh57flAYxNkJpt-CWy8&m=9yPdgK3QXLuGZT6V2gLb416M7n8h2k4BukiW0yHJ5_8&s=UOGMboHeSGjVBKwtcwFxxPIgmgorkq2tdIRwk_-zdeE&e= to generate lund files.
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.
The final step will create 6 different lund files.
—
Richard S. Holmes
Physics Department
Syracuse University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/solid_software/attachments/20180320/dc8bfaf8/attachment.html>
More information about the Solid_software
mailing list