Warning, /analysis/dNdEta_Run2023/README.md is written in an unsupported language. File is not indexed.
0001 # Run2023 dNdEta analysis with the INTT data
0002 Updated: 2024-05-01
0003
0004 ## Analysis ntuple production
0005 The Fun4All analysis module is located in the `dNdEtaINTT` directory.
0006
0007 The Fun4All steering macro `Fun4All_G4_sPHENIX.C` is located in the `macros` directory. To locally test the code, first make sure the bash script `production_INTT.sh` has the correct permission
0008 ```bash
0009 chmod 755 production_INTT.sh
0010 ```
0011 Then run the bash script
0012 ```bash
0013 ./production_INTT.sh 0 HIJING 1 testNtuple.root 0 new
0014 ```
0015 The arguments are as follows:
0016 - The 1st argument is to indicate whether to use the INTT data DST file (0 for no, 1 for yes)
0017 - The 2nd argument is the generator name (HIJING/EPOS/AMPT); this argument is irrelavent if the 1st argument is set to 1
0018 - The 3rd argument is the number of events to be processed
0019 - The 4th argument is the output file name
0020 - The 5th argument is the process (for the condor job)
0021 - The 6th argument is the F4A software version (new, ana.xxx)
0022
0023 For batch production, the python script `runCondor.py` under the `condor_INTT` is used.
0024 ```
0025 python runCondor.py --help
0026 Usage: runCondor.py ver [options -h]
0027
0028 Options:
0029 -h, --help show this help message and exit
0030 -d, --data Is data or simulation
0031 -g GENERATOR, --generator=GENERATOR
0032 Generator type (HIJING, EPOS, AMPT)
0033 -n EVENTPERJOB, --eventPerJob=EVENTPERJOB
0034 Number of events per job
0035 -j NJOB, --nJob=NJOB Number of jobs (queues)
0036 -o OUTPUTDIR, --outputdir=OUTPUTDIR
0037 Output directory (under
0038 /sphenix/user/hjheng/TrackletAna/data/INTT/)
0039 -s SOFTWAREVERSION, --softwareversion=SOFTWAREVERSION
0040 Software version (new, ana.3xx)
0041 -c, --submitcondor Submit condor jobs
0042 ```
0043 Examples to run the script are
0044 - Data, Run20869
0045 ```bash
0046 python runCondor.py --data --eventPerJob 1000 --nJob 551 --outputdir data_Run20869 --softwareversion ana.382 --submitcondor
0047 ```
0048 - Simulation, HIJING
0049 ```bash
0050 python runCondor.py --generator HIJING --eventPerJob 200 --nJob 400 --outputdir HIJING_ana398_xvtx-0p04cm_yvtx0p24cm_zvtx-20cm_dummyAlignParams --softwareversion ana.398 --submitcondor
0051 ```
0052 - Simulation, EPOS
0053 ```bash
0054 python runCondor.py --generator EPOS --eventPerJob 400 --nJob 200 --outputdir EPOS_ana399_xvtx-0p04cm_yvtx0p24cm_zvtx-20cm_dummyAlignParams --softwareversion ana.399 --submitcondor
0055 ```
0056 - Simulation, AMPT
0057 ```bash
0058 python runCondor.py --generator AMPT --eventPerJob 800 --nJob 100 --outputdir AMPT_ana400_xvtx-0p04cm_yvtx0p24cm_zvtx-20cm_dummyAlignParams --softwareversion ana.400 --submitcondor
0059 ```
0060
0061 ## Analysis codes & scripts
0062 The analysis codes are located in the `analysis_INTT` and `analysis_INTT_CW` directory.
0063
0064 ### For `analysis_INTT`:
0065 First, make the executables by
0066 ```bash
0067 make
0068 ```
0069 which (for now) should produce the executables `TrackletAna`, `plotTracklets`, `plotCluster`, `BeamspotReco`, `INTTVtxZ`, and `Corrections`.
0070
0071 ### For `analysis_INTT_CW`
0072 It is detailed in the folder
0073
0074