Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /analysis/dNdEta_Run2023/analysis_INTT/plot/sPHENIXStyle/README.md is written in an unsupported language. File is not indexed.

0001 Please find instruction at https://wiki.bnl.gov/sPHENIX/index.php/Plot_template . Here is a snapshot:
0002 
0003 # How to use
0004 
0005 To ensure some consistency among plots produced by different sPHENIX members, a candidate style file is being proposed (May 2017), based on the ATLAS style file. Please click here for the gzipped tar file.
0006 For general use, copy or link the ```sPHENIXStyle.h``` and ```sPHENIXStyle.C``` files somewhere, either locally or in your macro path (```gROOT->GetMacroPath()``` will tell you, and add it in ```.rootrc``` if you need one).
0007 Then do
0008 ```
0009 [0] gROOT->LoadMacro("sPhenixStyle.C") 
0010 [1] SetsPhenixStyle()
0011 [2] .x test_style.C  // give it a try
0012 ```
0013 and you're good to go (even better, add this all into your ```.rootlogon.C``` file)
0014 
0015 # Rules of the sPHENIX style
0016 
0017 * Don't talk about the style file.
0018 * Always use the style file.
0019 * Units should always be indicated in brackets "[ ]", while counts will typically specify the bin width "Events / 2 GeV" or "Events / 0.13 rad".
0020 * Every plot should have a legend indicating "sPHENIX", "sPHENIX Preliminary", "sPHENIX Simulation", etc.
0021 * sPHENIX should be bold, italic
0022 * Where possible, indicate the system being considered and it's energy
0023 * "MC" predictions should be filled, with distinguishable colors
0024 * Data or pseudodata should always be histograms or graphs with error bars
0025 * Elements should never overlap, with each other or with the axis