Back to home page

sPhenix code displayed by LXR

 
 

    


Last indexation completed on 2025-08-02 08:21:18 UTC

 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-08-02 08:00:49  
folder macro/ - 2025-08-02 08:00:29

1) The macro Fun4All_JetSpectrum.C is used to go through the data DST_JET & DST_JETCALO to generate TTree for further jet spectrum analysis. It needs an input dst list. The golden run list is in https://github.com/sPHENIX-Collaboration/analysis/blob/c5ad8fada7f94e583a8e9761f897b98d1528af86/runListGeneration/Run2024pp/Full_ppGoldenRunList_Version2.list And a TTree maker module is also needed to get the information of z-vertex, jet_info (energy, ET, pT, eta, phi, and energy in each calorimeter layer), and trigger info. An example module caloTreeGen is in src/ for reference.
2) The macro Fun4All_JetSpectrumSim.C is used to go through the simulation data set to generate TTree for further jet specturm analysis. The z-vertex, jet_info (energy, ET, pT, eta, phi, and energy in each calorimeter layer), and truth jet info (energy, ET, pT, eta, phi) is needed for simulation data set.
3) After getting the TTree, the macro in offline/ will help to get the jet spectrum.

folder offline/ - 2025-08-02 08:00:49

1) Use analysis_data.C and analysis_sim.C to go through the data TTree and simulation TTree. A condor job can help to speed up this step. For 1k condor job, all of them should be finished in 10 mins.
2) get_purityefficiency.C to get and draw the purity and efficiency of the spectrum. And apply the purity correction.
3) get_reweightmatrix.C to get the reweighted response matrix.
4) do_unfolding.C to do the unfolding and apply the efficiency correction. And then apply the MBD efficiency correction.
5) get_finalspectrum.C to do the normalization and draw the result.

folder src/ - 2025-08-02 08:00:29