Closed jtenavidal closed 5 months ago
CODE: radcorr_validation.txt
SIMC flux vs simple flux
Very small differences < 1%
Simple vs simc rad loss for incoming electron (No diff)
Simple vs simc rad loss for outgoing electron (little difference)
Simc rad loss outgoing electron add extended peaking approximation. Error? Test error of both contributions. Important one is E/E' contribution as for the incoming electron the angle one is always 0.
Including extended peaking for outgoing electron:
Notice the term pe/pe' will always be close to zero when pe/pe'sim 1 (which is most of the events at the peak). It will give a small correction at the tail. The angle one is the one contributing at the peak and should be included for the outgoing electron
This shows that most error is due to the angle so we should include this correction
Conclusion : we do not need this term. less than 1% contribution
Simple vs SIMC(My method)
The weight does not have a big effect on the distribution
I expect acceptance does not affect it either (but limits statistics)
Peak is shifted?
Bigger effect due to Q2 cut than model itself
Trying to run Susa with radiated flux again, master
python eAScatteringGridSubmitter.py --jobs-topdir /pnfs/genie/scratch/users/jtenavid/GENIE_e4nu_Generations/2024Generation/UnRadiated/H/GEM21_master --total-xsec /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Splines/GEM21_11a_Dipole_master_eFreeNucleon.xml --config-dir /pnfs/genie/persistent/users/jtenavid/e4nu_files/e4nu-config-files/e4nu-GENIE-config --probe-list 11 --e-ntotevents 100000 --flux /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Generation/radflux_H_4325MeV_simc.root,hradflux --e-minenergy-fluxrange 3.4 --e-maxenergy-fluxrange 4.35 --starting-point 4 --no-ghep-output --gst-output --tune GEM21_11a_00_000 --e-tgt-list 1000010010 --store-comitinfo --subjob-disk 3GB --subjob-memory 3GB --mainjob-memory 10GB --mainjob-disk 10GB --submit-jobs --event-generator-list EMQE
53916790.0@jobsub03.fnal.gov
Gives an error. I notified Igor and Steven G.
Also attempting to re-run Adi's implementation:
python eAScatteringGridSubmitter.py --jobs-topdir /pnfs/genie/scratch/users/jtenavid/GENIE_e4nu_Generations/2024Generation/RadCorrAdi --total-xsec /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Splines/G18_10a_Dipole_master_eFreeNucleon.xml --config-dir /pnfs/genie/persistent/users/jtenavid/e4nu_files/e4nu-config-files/e4nu-GENIE-config --probe-list 11 --vN-gen-list none --vA-gen-list none --e-ntotevents 10000000 --starting-point 4 --no-ghep-output --gst-output --tune G18_10a_00_000 --e-tgt-list 1000010010 --store-comitinfo --subjob-disk 4GB --subjob-memory 4GB --mainjob-memory 10GB --mainjob-disk 10GB --ebeam-energy 4.325 --git-location https://github.com/e4nu/Generator-Rad --git-branch jtv_radcorr_simple --event-generator-list EMQEradcorr --store-comitinfo --submit-jobs
53916800.0@jobsub03.fnal.gov
Adi+simple+master:
python eAScatteringGridSubmitter.py --jobs-topdir /pnfs/genie/scratch/users/jtenavid/GENIE_e4nu_Generations/2024Generation/RadCorrAdiSimc/ --total-xsec /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Splines/G18_10a_Dipole_master_eFreeNucleon.xml --config-dir /pnfs/genie/persistent/users/jtenavid/e4nu_files/e4nu-config-files/e4nu-GENIE-config --probe-list 11 --vN-gen-list none --vA-gen-list none --e-ntotevents 10000000 --starting-point 4 --no-ghep-output --gst-output --tune G18_10a_00_000 --e-tgt-list 1000010010 --store-comitinfo --subjob-disk 4GB --subjob-memory 4GB --mainjob-memory 10GB --mainjob-disk 10GB --ebeam-energy 4.325 --git-location https://github.com/e4nu/Generator-Rad --git-branch jtv_radcorr --event-generator-list EMQEradcorr --store-comitinfo --submit-jobs
Running splines G18 1.4GeV:
python eAScatteringGridSubmitter.py --jobs-topdir /pnfs/genie/scratch/users/jtenavid/GENIE_e4nu_Generations/2024Generation/Spline14/ --config-dir /pnfs/genie/persistent/users/jtenavid/e4nu_files/e4nu-config-files/e4nu-GENIE-config --probe-list 11 --stopping-point 2 --no-ghep-output --gst-output --tune G18_10a_00_000 --e-tgt-list 1000010010 --store-comitinfo --subjob-disk 4GB --subjob-memory 4GB --mainjob-memory 10GB --mainjob-disk 10GB --git-location https://github.com/e4nu/Generator-Q208.git --git-branch Q2-1_4 --submit-jobs
53917996.0@jobsub03.fnal.gov
G18+1.4 cut+Mono:
python eAScatteringGridSubmitter.py --jobs-topdir /pnfs/genie/scratch/users/jtenavid/GENIE_e4nu_Generations/2024Generation/UnRadiated/H/Q214 --total-xsec /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Splines/G18_10a_Dipole_Q2_14_eFreeNucleon.xml --config-dir /pnfs/genie/persistent/users/jtenavid/e4nu_files/e4nu-config-files/e4nu-GENIE-config --probe-list 11 --vN-gen-list none --vA-gen-list none --e-ntotevents 10000000 --starting-point 4 --no-ghep-output --gst-output --tune G18_10a_00_000 --e-tgt-list 1000010010 --store-comitinfo --subjob-disk 4GB --subjob-memory 4GB --mainjob-memory 10GB --mainjob-disk 10GB --ebeam-energy 4.325 --git-location https://github.com/e4nu/Generator-Q208.git --git-branch Q2-1_4 --event-generator-list EMQE
67761972.0@jobsub01.fnal.gov
G18+1.4+Radiated by me:
python eAScatteringGridSubmitter.py --jobs-topdir /pnfs/genie/scratch/users/jtenavid/GENIE_e4nu_Generations/2024Generation/Radiated/H/Q214/ --total-xsec /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Splines/G18_10a_Dipole_Q2_14_eFreeNucleon.xml --config-dir /pnfs/genie/persistent/users/jtenavid/e4nu_files/e4nu-config-files/e4nu-GENIE-config --probe-list 11 --e-ntotevents 100000 --flux /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Generation/radflux_H_4325MeV_simc.root,hradflux --e-minenergy-fluxrange 3.4 --e-maxenergy-fluxrange 4.35 --starting-point 4 --no-ghep-output --gst-output --tune G18_10a_00_000 --e-tgt-list 1000010010 --store-comitinfo --subjob-disk 3GB --subjob-memory 3GB --mainjob-memory 10GB --mainjob-disk 10GB --submit-jobs --event-generator-list EMQE --git-location https://github.com/e4nu/Generator-Q208.git --git-branch Q2-1_4
10098457.0@jobsub05.fnal.gov
G18+ADI+1.4:
python eAScatteringGridSubmitter.py --jobs-topdir /pnfs/genie/scratch/users/jtenavid/GENIE_e4nu_Generations/2024Generation/RadCorrAdiQ214/ --total-xsec /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Splines/G18_10a_Dipole_Q2_14_eFreeNucleon.xml --config-dir /pnfs/genie/persistent/users/jtenavid/e4nu_files/e4nu-config-files/e4nu-GENIE-config --probe-list 11 --vN-gen-list none --vA-gen-list none --e-ntotevents 10000000 --starting-point 4 --no-ghep-output --gst-output --tune G18_10a_00_000 --e-tgt-list 1000010010 --store-comitinfo --subjob-disk 4GB --subjob-memory 4GB --mainjob-memory 10GB --mainjob-disk 10GB --ebeam-energy 4.325 --git-location https://github.com/e4nu/Generator-Rad --git-branch jtv_radcorr_simple_Q2_1_4 --event-generator-list EMQEradcorr --store-comitinfo --submit-jobs
77537953.0@jobsub02.fnal.gov
Do shape only comparison
Look also at El distribution
NUINT
CLAS6:
CLAS12: stay tuned for summer
Lambda; Photon distribution functions
t: units of radiation length
Adi
My code
Rerunning with "simc" flux: 54101328.0@jobsub03.fnal.gov
SIMC flux vs simple flux
- MoTsai vs my version:
Very small differences < 1%
This was not correct
Big differences between both implementations
Why is the thikness not constant
When I fix the constant above in my implementation, I get the expected behaviour
Running with more statistics
[x] Running with bug in to double check that is the reason
[ ] Also run again simple vs simc flux not sure this is ok cause I am using simple now
C+inclusive: still not running it
H+Inclusive:
python eAScatteringGridSubmitter.py --jobs-topdir /pnfs/genie/scratch/users/jtenavid/GENIE_e4nu_Generations/2024Generation/RadiatedNew/emMCRadCorrFinalTest/H_Inclusive/ --total-xsec /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Splines/G18_10a_Dipole_Q2_14_eFreeNucleon.xml --config-dir /pnfs/genie/persistent/users/jtenavid/e4nu_files/e4nu-config-files/e4nu-GENIE-config --probe-list 11 --e-ntotevents 100000 --flux /pnfs/genie/persistent/users/jtenavid/e4nu_files/GENIE_Files/2024Generation/radflux_H_4325MeV_vanderhaeghen.root,hradflux --e-minenergy-fluxrange 3.4 --e-maxenergy-fluxrange 4.35 --starting-point 4 --no-ghep-output --gst-output --tune G18_10a_00_000 --e-tgt-list 1000010010 --store-comitinfo --subjob-disk 3GB --subjob-memory 3GB --mainjob-memory 10GB --mainjob-disk 10GB --submit-jobs --git-location https://github.com/e4nu/Generator-Q208.git --git-branch Q2-1_4
simc = 1.04948 simple 1.03978 vand 1.05096 schwinger 1 motsai 1.04947
Set t = 0 to calculate radiation from nucleus itself -> It is possible to remove target thickness. We conclude internal is included. Delta Em = bin size of histogram ? if the missing energy is measured to an accuracy D E m ,
40 days, 5kHz trigger rate CLAS12 10^*events
CLAS6 order of milions (10M events?)
Before full radiation: digraph nuhepmc_ev { v1[label="Primary\nVertex", shape=circle, color=crimson]; o0[shape=point,color=cornflowerblue]; o0 -> v1 [label="e- [beam]\np3 = (0.000, 0.000, 4.324)", color=cornflowerblue]; o1[shape=point,color=black]; o1 -> v1 [label="proton [Target]\np3 = (0.000, 0.000, 0.000)", color=black]; o2[shape=point,color=chartreuse4]; v1 -> o2 [label="e- [final state]\np3 = (-0.171, -0.017, 4.305)", color=chartreuse4]; o3[shape=point,color=chartreuse4]; v1 -> o3 [label="proton [final state]\np3 = (0.171, 0.017, 0.019)", color=chartreuse4]; labelloc="t" label="QES-EM"; }
Forced radiation in:
Moved to emMCRadCorr repository
Running radiated files :
Running G18 splines : 67714166.0@jobsub01.fnal.gov