Dairy of Neutrino Cross-Section Tuning
IN $NUGEN_DIR/source/nugen/EventGeneratorBase/GENIE/GENIE2ART.h
, there is a function called
void SetEventGeneratorListAndTune(const std::string& evtlistname = "",
const std::string& tunename = "${GENIE_XSEC_TUNE}");
And we have to put it in the Begin Job of the art cpp module.
I installed NUISANCE and NuSystematics by following DirtTwo wiki.
After that, each time I logged in, I did source the qidong.sh file.
The neutrino flux for DUNE can be found here.
To generate flat root tree sample with nuisflat, take numu on Carbon-12 as an example:
bash makeCCQE.sh
PrepareGENIE -i 14_1000060120\[1.0\]_618.root -f $(nuis flux NOvA_ND) -t 1000060120[1.0] -o CC_C12prep.root
nuisflat -i GENIE:CC_C12prep.root -o vAR23_C12QE.root
We have use N24_20i_02_11b as the genie tune tag for Mini Production 6.2 nominal sample, additionally we also have mean free path down samples.
The sample directory is
/pnfs/nova/production/genie/R25-02-27-prod6genie.b/nd/N24_20i_02_11b/000120/12000/
and samweb dataset name is
"defname:prod_genie_R25-02-27-prod6genie.b_nd_genie_N24_20i_02_11b_nonswap_fhc_nova_v08_full_v1_miniprod6-2_geniephyopt_nominal"
The root file directory is
/pnfs/nova/production/genie/R25-02-27-prod6genie.b/nd/N24_20i_02_11b/000121/12150/
and the SAMWEB dataset is
"defname:prod_genie_R25-02-27-prod6genie.b_nd_genie_N24_20i_02_11b_nonswap_rhc_nova_v08_full_v1_miniprod6-2_geniephyopt_nominal"
NOvA is still using the SamWeb to fetch dataset. So I borrowed the python script(samweb_listing.py) from ProtoDUNE to access defname files.
Since submit_nova_art.py
didn't work well during the MiniProd 6.2 validation period for a lot of reasons, I had to use bash script to run the GENIE file one by one.
So I ran
bash loopart.sh list_sam_files.txt
And the fcl file I ran was Validation/fcl/validation_genieonly_job.fcl
under novasoft
development release.