|
37 | 37 | call('hd_root -PPLUGINS=FDC_InternalAlignment %s -PNTHREADS=%i -PEVENTS_TO_KEEP=%i' % (filename, nThreads, nEvents), shell=True) |
38 | 38 | call(r'root -l -b -q $HALLD_HOME/src/plugins/Alignment/FDC_InternalAlignment/FitScripts/FitCathodeAlignment.C\(\"hd_root.root\"\)',shell=True) |
39 | 39 | call('mv Result.png FDCInternalAlignIterations/Result_Iter%.2i.png' % iter, shell=True) |
40 | | - call('mv Result.png FDCInternalAlignIterations/hd_root_Planes_Iter%.2i.png' % iter, shell=True) |
| 40 | + call('mv hd_root.root FDCInternalAlignIterations/hd_root_Planes_Iter%.2i.root' % iter, shell=True) |
41 | 41 | call('ccdb add /FDC/cathode_alignment CathodeAlignment.txt', shell=True) |
42 | 42 | call('hd_root -PPLUGINS=FDC_InternalAlignment %s -PNTHREADS=%i -PEVENTS_TO_KEEP=%i' % (filename, nThreads, nEvents), shell=True) |
43 | 43 | call(r'root -l -b -q $HALLD_HOME/src/plugins/Alignment/FDC_InternalAlignment/FitScripts/FitCathodeProjections.C\(\"hd_root.root\"\)',shell=True) |
44 | 44 | call('ccdb add /FDC/cathode_alignment CathodeAlignment.txt', shell=True) |
45 | 45 | call('ccdb add /FDC/strip_pitches_v2 StripPitchesV2.txt',shell=True) |
46 | | - call('mv Result.png FDCInternalAlignIterations/hd_root_Projections_Iter%.2i.png' % iter, shell=True) |
| 46 | + call('mv hd_root.root FDCInternalAlignIterations/hd_root_Projections_Iter%.2i.root' % iter, shell=True) |
47 | 47 | call('mv ResultU.png FDCInternalAlignIterations/ResultU_Iter%.2i.png' % iter, shell=True) |
48 | 48 | call('mv ResultV.png FDCInternalAlignIterations/ResultV_Iter%.2i.png' % iter, shell=True) |
49 | 49 |
|
50 | 50 | print "======= FINAL ITERATION =======" |
51 | 51 | call('hd_root -PPLUGINS=FDC_InternalAlignment %s -PNTHREADS=%i -PEVENTS_TO_KEEP=%i' % (filename, nThreads, nEvents), shell=True) |
| 52 | +call('mv hd_root.root FDCInternalAlignIterations/hd_root_Planes_Iter%.2i.root' % nIterations, shell=True) |
52 | 53 | call(r'root -l -b -q $HALLD_HOME/src/plugins/Alignment/FDC_InternalAlignment/FitScripts/FitCathodeAlignment.C\(\"hd_root.root\"\)',shell=True) |
53 | 54 | call('ccdb add /FDC/cathode_alignment CathodeAlignment.txt', shell=True) |
54 | 55 | call('mv Result.png FDCInternalAlignIterations/Result_Iter%.2i.png' % nIterations, shell=True) |
|
0 commit comments