Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:55:55

0001 #!/bin/bash
0002 
0003 
0004 
0005 dirbase="$CMSSW_BASE/src/Alignment/APEEstimation/hists/workingArea"
0006 
0007 
0008 for folder in ${dirbase}/*;
0009 do
0010   plots="${folder}/plots"
0011   
0012   if [ -d "$plots" ]; then
0013     
0014     ## FIXME: make script configurable for output types? or create automatically .png's from .eps? ROOT .png's are often incorrect
0015     
0016     #rm ${plots}/*.png
0017     #rm ${plots}/*.eps
0018     
0019     #for file in ${plots}/*.eps;
0020     #do
0021     #  epstopdf $file
0022     #done
0023     
0024     
0025     mkdir ${plots}/Result/
0026     mkdir ${plots}/Sector/
0027     mkdir ${plots}/Track/
0028     
0029     mv ${plots}/ape_*.* ${plots}/Result/.
0030     mv ${plots}/correction_*.* ${plots}/Result/.
0031     mv ${plots}/result_*.* ${plots}/Result/.
0032     
0033     mv ${plots}/h_NorRes*.* ${plots}/Sector/.
0034     mv ${plots}/h_Res*.* ${plots}/Sector/.
0035     mv ${plots}/h_entries*.* ${plots}/Sector/.
0036     mv ${plots}/h_residualWidth*.* ${plots}/Sector/.
0037     mv ${plots}/h_rms*.* ${plots}/Sector/.
0038     mv ${plots}/h_weight*.* ${plots}/Sector/.
0039     
0040     #mkdir ${plots}/Sector2/
0041     #mv ${plots}/h_BaryStrip*.* ${plots}/Sector2/.
0042     #mv ${plots}/h_ChargeOnEdges*.* ${plots}/Sector2/.
0043     #mv ${plots}/h_ChargePixel*.* ${plots}/Sector2/.
0044     #mv ${plots}/h_ChargeStrip*.* ${plots}/Sector2/.
0045     #mv ${plots}/h_ClusterProbXY*.* ${plots}/Sector2/.
0046     #mv ${plots}/h_LogClusterProb*.* ${plots}/Sector2/.
0047     #mv ${plots}/h_PhiSens*.* ${plots}/Sector2/.
0048     #mv ${plots}/h_SOverN*.* ${plots}/Sector2/.
0049     #mv ${plots}/h_Width*.* ${plots}/Sector2/.
0050     #mv ${plots}/h_sigma*.* ${plots}/Sector2/.
0051     #mv ${plots}/p_phiSens*.* ${plots}/Sector2/.
0052     #mv ${plots}/p_sigma*.* ${plots}/Sector2/.
0053     #mv ${plots}/p_width*.* ${plots}/Sector2/.
0054     
0055     mv ${plots}/h_charge.* ${plots}/Track/.
0056     mv ${plots}/h_d0Beamspot.* ${plots}/Track/.
0057     mv ${plots}/h_d0BeamspotErr.* ${plots}/Track/.
0058     mv ${plots}/h_d0BeamspotSig.* ${plots}/Track/.
0059     mv ${plots}/h_dz.* ${plots}/Track/.
0060     mv ${plots}/h_dzErr.* ${plots}/Track/.
0061     mv ${plots}/h_dzSig.* ${plots}/Track/.
0062     mv ${plots}/h_eta.* ${plots}/Track/.
0063     mv ${plots}/h_etaErr.* ${plots}/Track/.
0064     mv ${plots}/h_etaSig.* ${plots}/Track/.
0065     mv ${plots}/h_norChi2.* ${plots}/Track/.
0066     mv ${plots}/h_p.* ${plots}/Track/.
0067     mv ${plots}/h_prob.* ${plots}/Track/.
0068     mv ${plots}/h_phi.* ${plots}/Track/.
0069     mv ${plots}/h_phiErr.* ${plots}/Track/.
0070     mv ${plots}/h_phiSig.* ${plots}/Track/.
0071     mv ${plots}/h_pt.* ${plots}/Track/.
0072     mv ${plots}/h_ptErr.* ${plots}/Track/.
0073     mv ${plots}/h_ptSig.* ${plots}/Track/.
0074     mv ${plots}/h_theta.* ${plots}/Track/.
0075     mv ${plots}/h_trackSizeGood.* ${plots}/Track/.
0076     mv ${plots}/h_hitsPixel.* ${plots}/Track/.
0077     mv ${plots}/h_hitsStrip.* ${plots}/Track/.
0078     
0079   fi
0080 
0081 done
0082 
0083 
0084