simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
README
  1. Generate arguments files for simulationAnalysis_Szymon_Batch_TOF. python ./ArgumentListFiles/generate-MCfilelists-simulationAnalysis.py
    • Note that the program simulationAnalysis_Szymon_Batch_TOF does not have to be changed and recompiled to handle MC files from different productions.
    • The argument files tell simulationAnalysis_Szymon_Batch_TOF how to handle everything.
  2. Submit jobs to the HTCondor cluster using runHTC_simulationTOFAnalysis.sub: condor_submit runHTC_simulationTOFAnalysis.sub
  3. The output files will be availabe in EOS location: /eos/experiment/na61/user/a/ashukla/Results/Simulation/SimulationAnalysis
  4. Of course, some jobs will fail. ~10%. Those jobs need to be resubmitted. Also, some completed job will produce ROOT files that cannot be opened correctly, and those jobs also need to be re-run. To find bad files, and to generate redo argument files: cd checkCondorOutput python generate_condor_simulationAnalysis_argumentsList_redo.py ../ArgumentListFiles/filenames_simulationAnalysis_EPOS_d.txt
  5. Change the arguments option in runHTC_simulationTOFAnalysis.sub, to the newly generated xxx_redo.txt file. Resubmit jobs to the cluster.
  6. Repeat Step 4 and 5, till all MC files have been correctly analyzed.
  7. Use hadd to combine all the files, and put the combined file somewhere safe.