Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /analysis/hbcup/README.md is written in an unsupported language. File is not indexed.

0001 # Rough steps to generate simulations for a UPC analysis:
0002 
0003 1. Generate starlight MC events, for all channels and decay modes that can contribute to the real data.
0004    Other event generators could be used.
0005 
0006 2. Convert the starlight files to HEPMC so that they can be read by the sPHENIX simulation code.  
0007 
0008      StarLight_To_HepMc slight.out hepmc.dat
0009 
0010    You should of course replace hepmc.dat with a sensible name like starlight_cohjpsi_mumu.dat.
0011 
0012    The converter source code is in the sphenix repository at coresoftware/generators/sphstarlight/.
0013    (All of our code is in the sphenix repository so this will be assumed from now on).
0014 
0015 3. Once you have the HEPMC files, you can now run the sphenix simulation on those events, as
0016    explained in the wiki and in the code documentation at
0017 
0018      https://github.com/sPHENIX-Collaboration/macros
0019 
0020    The output should be a G4sPHENIX.root file, which is the simulated DST.  It contains similar data
0021    to what you have from a DST from the real data.  Since this is a simulation, if you decide to, 
0022    you can also include all the "truth" information from the monte carlo event generator and geant output.
0023 
0024 4. Analyze the DSTs just as you would a real DST.  The analysis code is at
0025 
0026      analysis/hbcup/
0027 
0028    The macro that drives the code is in macro/Fun4All_AnaUPC.C, and the source code for doing the analysis
0029    is src/AnaUPC.*
0030 
0031 5. Derive background from hadronic collisions using Hijing.  One can get a low statistics estimate from MDC2 files,
0032    but adequate statistics can only be done from a custom production...  The analysis macro to use for this is
0033    Fun4All_hijbkg.C.
0034