Meatbally2/eicDIS
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Analysis code for ep and eHe3 DIS study. In each directory, the ana.C is the main root macro that can be called to do a specific task. QA plots and output tree are produced to /tmp (one will need to create this in the analysis directory the first time they run the code). In general, the .cc files contain the class code for handling the root branches and select out information. eff.C is for looking at the efficiency of the specific analysis. All codes are expected to be run inside the analysis directory. These analysis loop the EICrecon files and produce output trees. Easier to run with eic-shell: * BeamMC - Get incombing beam information * ElectronID - Identify scattered electron * Tagging - spectator tagging There are some settings to pass when running the macro. In this order, they are: - Beam electron energy in GeV - Beam nucleon energy in GeV - Beam type. 0 for eHe3, 1 for ep, 2 for photoproduction, 3 for beam background, 4 for pythia 6 early science ep - Boolean for wheather or not selecting energy group - Energy group ID if selecting energy group is set - Index for file groups to be anaysed. -1 for the first 1 file in the search. < -1 for all files. >= 0 will analyse the index*200 files in the file search result. These take outputs from above, no need of eic-shell: * KinRecon - Reconstruct event reaction and kinematics * Physics - Make calculations for physics goals AnaManager.cc handles the file paths for analysis. Modify it to what you need. You may need to generate new manifest.txt. HTCondor Scripts for these analysis: https://github.com/Meatbally2/condor_scripts If you experience issues with libraries or event tree, try older eic-shell verisons (before 25.12.0). Coming soon: - fix drawhelp. Currently, there are options to choose for plotting logo and text and different cornors, but fine tune might be needed for individual plots. - KinRecon and Physics need clean up ...