GPC360_codeQA

Step 0. Basic preparation

0. Work directory for code QA: /star/u/hhuang/GPC/360
(follow the instructions in this
README file)
1. Copy the main codes files from STAR CVS

    $ cvs co offline/paper/psn0816
2. Download input root files
    $ cd /star/u/hhuang/GPC/360/codes4ThermalDiePaper

    $ htar -xvf /home/zye20/dir4thermalDiePaper/inputRootFiles/rootfiles.tar 


Step 1. Read STAR official StPicoDst root files to save the analysis tree 
(start from 27 GeV data)
1. Read the test file list "test.list" and generate a small AnaTree file
    $ cd readPicoDst/readPico4AnaTree_27GeV
    $ starver SL20c
    $ cons
2. Test and generate a small AnaTree file
    $ root4star -b -q -l prodAnaTree.C
     
    6/17: Got some errors due to the lack of files in StRoot folder: (full error message in log_codeQA_0617.txt)
    -- Error in <TUnixSystem::DynamicPathName>: StPico2AnaMaker[.so | .dll | .dylib | .sl | .dl | .a] does not exist in
    .sl73_gcc485/lib:/afs/rhic.bnl.gov/star/packages/SL20c/.sl73_gcc485/lib:/afs/rhic.bnl.gov/star/ROOT/5.34.38
    /.sl73_gcc485/rootdeb/lib:/opt/star/sl73_gcc485/qt4/lib:/opt/star/sl73_gcc485/lib:/afs/rhic.bnl.gov/star/ROOT
    /Xrootd/prod/.sl73_gcc485/lib:.:.sl73_gcc485/lib:/afs/rhic.bnl.gov/star/packages/SL20c/.sl73_gcc485/lib:/afs
    /rhic.bnl.gov/star/ROOT/5.34.38/.sl73_gcc485/rootdeb/lib:/opt/star/sl73_gcc485/qt4/lib:/opt/star/sl73_gcc485
    /lib:/afs/rhic.bnl.gov/star/ROOT/Xrootd/prod/.sl73_gcc485/lib:/afs/rhic.bnl.gov/star/ROOT/36/5.34.38/.sl73_gcc485
    /rootdeb/lib:/afs/rhic.bnl.gov/star/ROOT/36/5.34.38/.sl73_gcc485/rootdeb/cint/cint/stl

    6/18: Zaochen updated the README file. The issue is cause by the inability of CVS to handel well for too many
    sub-directories. I have to remove the whole readPicoDst folder I got from CVS and download it by:
    $ htar -xvf /home/zye20/dir4thermalDiePaper/readPicoDst.tar
    
    and then test if I can generate the small tree with:
    $ starver SL20c
    $ cons
    
$ root4star -b -q -l prodAnaTree.C
    
    Failed with the errors below: (full error message in log_codeQA_0618.txt)
    -- *** Break *** segmentation violation
    -- Root > Function prodAnaTree() busy flag cleared 
    
    I found that I have to remove the .sl73_gcc485 from CVS before executing 'cons'.
    I execute the commands below after download the readPicoDst folder and successfully generated the test small tree:
    $ rm -rf .sl73_gcc485
    $ starver SL20c
    $ cons
    $ root4star -b -q -l prodAnaTree.C

3. Modify the directory for saving analysis tree in SubJob.sh as: /star/data01/pwg/hhuang/GPC/360/analysis/Run18/TEM
4. Submit TEST jobs
    $ ./SubJob.sh 0
    TEST jobs completed with analysis tree and histograms in the output root files
5. Submit FULL jobs by executing './SubJob.sh 1'
    Got another issue: when submitted FULL jobs with './SubJob.sh 1', it submitted the TEST jobs rather than the FULL jobs.
    Modified this script as below and the issue was fixed:
    - L3: isTestOrFullSub=0 -> isTestOrFullSub=$1

    - L30: elif [[ ${jobGoal} -eq 1 ]] -> elif [[ ${isTestOrFullSub} -eq 1 ]]

6. 6/19: FULL jobs for 27 GeV data done! The directory of analysis tree (27 GeV data) is: 
              /star/data01/pwg/hhuang/GPC/360/analysis/Run18/TEM/outAnaTree
              Start to generate analysis tree of 54 GeV data (same procedures as that for 27 GeV)
7. 6/20: Jobs for 54 GeV data done! The directory of analysis tree (54 GeV data) is: 
              /star/data01/pwg/hhuang/GPC/360/analysis/Run17/TEM/outAnaTree

Produce the figures for paper and method
    $ cd physicsFigure4paper
    $ root -b -q -l PlotPhysicsSpectraWithSyst.C
    $ root -b -q -l drawTemperatures.C

    -------------------------PAPER PLOTS-------------------------
    (the figures below are png files, you can check pdf files in the attachment)

    __________________________________________________Figure 3____________________________________________________________

    

     


__________________________________________________Figure 4__________________________________________________

    -------------------------METHOD PLOTS-------------------------
    (the figures below are png files, you can check pdf files in the attachment)

__________________________________________________Figure 3__________________________________________________
    

__________________________________________________Figure 4__________________________________________________




__________________________________________________Figure 5__________________________________________________