Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:21

0001 #!/bin/sh
0002 
0003 echo "NOW CALCULATING ALL DATA AND MC EFFS"
0004 #set up the root version -- DONT SET UP ANY OTHER ROOT VERSION BEFORE SETTING THIS UP!!!
0005 source /uscmst1b_scratch/lpc1/old_scratch/lpctrig/jwerner/root/root-sl5/bin/thisroot.sh
0006 
0007 root  -q -b -l effCalculator.C'(0,0,0,true,false)' > gsf.out
0008 root  -q -b -l effCalculator.C'(0,1,0,true,false)' > gsf_eb.out
0009 root  -q -b -l effCalculator.C'(0,2,0,true,false)' > gsf_ee.out
0010 root  -q -b -l effCalculator.C'(0,1,1,true,false)' > gsf_eb_minus.out
0011 root  -q -b -l effCalculator.C'(0,1,2,true,false)' > gsf_eb_plus.out
0012 root  -q -b -l effCalculator.C'(0,2,1,true,false)' > gsf_ee_minus.out
0013 root  -q -b -l effCalculator.C'(0,2,2,true,false)' > gsf_ee_plus.out
0014 
0015 
0016 root  -q -b -l effCalculator.C'(1,0,0,true,false)' > id95.out
0017 root  -q -b -l effCalculator.C'(1,1,0,true,false)' > id95_eb.out
0018 root  -q -b -l effCalculator.C'(1,2,0,true,false)' > id95_ee.out
0019 root  -q -b -l effCalculator.C'(1,1,1,true,false)' > id95_eb_minus.out
0020 root  -q -b -l effCalculator.C'(1,1,2,true,false)' > id95_eb_plus.out
0021 root  -q -b -l effCalculator.C'(1,2,1,true,false)' > id95_ee_minus.out
0022 root  -q -b -l effCalculator.C'(1,2,2,true,false)' > id95_ee_plus.out
0023 
0024 
0025 root  -q -b -l effCalculator.C'(2,0,0,true,false)' > id80.out
0026 root  -q -b -l effCalculator.C'(2,1,0,true,false)' > id80_eb.out
0027 root  -q -b -l effCalculator.C'(2,2,0,true,false)' > id80_ee.out
0028 root  -q -b -l effCalculator.C'(2,1,1,true,false)' > id80_eb_minus.out
0029 root  -q -b -l effCalculator.C'(2,1,2,true,false)' > id80_eb_plus.out
0030 root  -q -b -l effCalculator.C'(2,2,1,true,false)' > id80_ee_minus.out
0031 root  -q -b -l effCalculator.C'(2,2,2,true,false)' > id80_ee_plus.out
0032 
0033 root  -q -b -l effCalculator.C'(3,0,0,true,false)' > hlt95.out
0034 root  -q -b -l effCalculator.C'(3,1,0,true,false)' > hlt95_eb.out
0035 root  -q -b -l effCalculator.C'(3,2,0,true,false)' > hlt95_ee.out
0036 root  -q -b -l effCalculator.C'(3,1,1,true,false)' > hlt95_eb_minus.out
0037 root  -q -b -l effCalculator.C'(3,1,2,true,false)' > hlt95_eb_plus.out
0038 root  -q -b -l effCalculator.C'(3,2,1,true,false)' > hlt95_ee_minus.out
0039 root  -q -b -l effCalculator.C'(3,2,2,true,false)' > hlt95_ee_plus.out
0040 
0041 root  -q -b -l effCalculator.C'(4,0,0,true,false)' > hlt80.out
0042 root  -q -b -l effCalculator.C'(4,1,0,true,false)' > hlt80_eb.out
0043 root  -q -b -l effCalculator.C'(4,2,0,true,false)' > hlt80_ee.out
0044 root  -q -b -l effCalculator.C'(4,1,1,true,false)' > hlt80_eb_minus.out
0045 root  -q -b -l effCalculator.C'(4,1,2,true,false)' > hlt80_eb_plus.out
0046 root  -q -b -l effCalculator.C'(4,2,1,true,false)' > hlt80_ee_minus.out
0047 root  -q -b -l effCalculator.C'(4,2,2,true,false)' > hlt80_ee_plus.out
0048 
0049 
0050 root  -q -b -l effCalculator.C'(0,0,0,false,false)' > gsf.out.mc
0051 root  -q -b -l effCalculator.C'(0,1,0,false,false)' > gsf_eb.out.mc
0052 root  -q -b -l effCalculator.C'(0,2,0,false,false)' > gsf_ee.out.mc
0053 root  -q -b -l effCalculator.C'(0,1,1,false,false)' > gsf_eb_minus.out.mc
0054 root  -q -b -l effCalculator.C'(0,1,2,false,false)' > gsf_eb_plus.out.mc
0055 root  -q -b -l effCalculator.C'(0,2,1,false,false)' > gsf_ee_minus.out.mc
0056 root  -q -b -l effCalculator.C'(0,2,2,false,false)' > gsf_ee_plus.out.mc
0057 
0058 
0059 root  -q -b -l effCalculator.C'(1,0,0,false,false)' > id95.out.mc
0060 root  -q -b -l effCalculator.C'(1,1,0,false,false)' > id95_eb.out.mc
0061 root  -q -b -l effCalculator.C'(1,2,0,false,false)' > id95_ee.out.mc
0062 root  -q -b -l effCalculator.C'(1,1,1,false,false)' > id95_eb_minus.out.mc
0063 root  -q -b -l effCalculator.C'(1,1,2,false,false)' > id95_eb_plus.out.mc
0064 root  -q -b -l effCalculator.C'(1,2,1,false,false)' > id95_ee_minus.out.mc
0065 root  -q -b -l effCalculator.C'(1,2,2,false,false)' > id95_ee_plus.out.mc
0066 
0067 
0068 root  -q -b -l effCalculator.C'(2,0,0,false,false)' > id80.out.mc
0069 root  -q -b -l effCalculator.C'(2,1,0,false,false)' > id80_eb.out.mc
0070 root  -q -b -l effCalculator.C'(2,2,0,false,false)' > id80_ee.out.mc
0071 root  -q -b -l effCalculator.C'(2,1,1,false,false)' > id80_eb_minus.out.mc
0072 root  -q -b -l effCalculator.C'(2,1,2,false,false)' > id80_eb_plus.out.mc
0073 root  -q -b -l effCalculator.C'(2,2,1,false,false)' > id80_ee_minus.out.mc
0074 root  -q -b -l effCalculator.C'(2,2,2,false,false)' > id80_ee_plus.out.mc
0075 
0076 
0077 root  -q -b -l effCalculator.C'(3,0,0,false,false)' > hlt95.out.mc
0078 root  -q -b -l effCalculator.C'(3,1,0,false,false)' > hlt95_eb.out.mc
0079 root  -q -b -l effCalculator.C'(3,2,0,false,false)' > hlt95_ee.out.mc
0080 root  -q -b -l effCalculator.C'(3,1,1,false,false)' > hlt95_eb_minus.out.mc
0081 root  -q -b -l effCalculator.C'(3,1,2,false,false)' > hlt95_eb_plus.out.mc
0082 root  -q -b -l effCalculator.C'(3,2,1,false,false)' > hlt95_ee_minus.out.mc
0083 root  -q -b -l effCalculator.C'(3,2,2,false,false)' > hlt95_ee_plus.out.mc
0084 
0085 
0086 root  -q -b -l effCalculator.C'(4,0,0,false,false)' > hlt80.out.mc
0087 root  -q -b -l effCalculator.C'(4,1,0,false,false)' > hlt80_eb.out.mc
0088 root  -q -b -l effCalculator.C'(4,2,0,false,false)' > hlt80_ee.out.mc
0089 root  -q -b -l effCalculator.C'(4,1,1,false,false)' > hlt80_eb_minus.out.mc
0090 root  -q -b -l effCalculator.C'(4,1,2,false,false)' > hlt80_eb_plus.out.mc
0091 root  -q -b -l effCalculator.C'(4,2,1,false,false)' > hlt80_ee_minus.out.mc
0092 root  -q -b -l effCalculator.C'(4,2,2,false,false)' > hlt80_ee_plus.out.mc
0093 
0094 
0095 root  -q -b -l effCalculator.C'(0,0,0,false,true)' > gsf.out.mc.truth
0096 root  -q -b -l effCalculator.C'(0,1,0,false,true)' > gsf_eb.out.mc.truth
0097 root  -q -b -l effCalculator.C'(0,2,0,false,true)' > gsf_ee.out.mc.truth
0098 root  -q -b -l effCalculator.C'(0,1,1,false,true)' > gsf_eb_minus.out.mc.truth
0099 root  -q -b -l effCalculator.C'(0,1,2,false,true)' > gsf_eb_plus.out.mc.truth
0100 root  -q -b -l effCalculator.C'(0,2,1,false,true)' > gsf_ee_minus.out.mc.truth
0101 root  -q -b -l effCalculator.C'(0,2,2,false,true)' > gsf_ee_plus.out.mc.truth
0102 
0103 
0104 root  -q -b -l effCalculator.C'(1,0,0,false,true)' > id95.out.mc.truth
0105 root  -q -b -l effCalculator.C'(1,1,0,false,true)' > id95_eb.out.mc.truth
0106 root  -q -b -l effCalculator.C'(1,2,0,false,true)' > id95_ee.out.mc.truth
0107 root  -q -b -l effCalculator.C'(1,1,1,false,true)' > id95_eb_minus.out.mc.truth
0108 root  -q -b -l effCalculator.C'(1,1,2,false,true)' > id95_eb_plus.out.mc.truth
0109 root  -q -b -l effCalculator.C'(1,2,1,false,true)' > id95_ee_minus.out.mc.truth
0110 root  -q -b -l effCalculator.C'(1,2,2,false,true)' > id95_ee_plus.out.mc.truth
0111 
0112 
0113 root  -q -b -l effCalculator.C'(2,0,0,false,true)' > id80.out.mc.truth
0114 root  -q -b -l effCalculator.C'(2,1,0,false,true)' > id80_eb.out.mc.truth
0115 root  -q -b -l effCalculator.C'(2,2,0,false,true)' > id80_ee.out.mc.truth
0116 root  -q -b -l effCalculator.C'(2,1,1,false,true)' > id80_eb_minus.out.mc.truth
0117 root  -q -b -l effCalculator.C'(2,1,2,false,true)' > id80_eb_plus.out.mc.truth
0118 root  -q -b -l effCalculator.C'(2,2,1,false,true)' > id80_ee_minus.out.mc.truth
0119 root  -q -b -l effCalculator.C'(2,2,2,false,true)' > id80_ee_plus.out.mc.truth
0120 
0121 
0122 root  -q -b -l effCalculator.C'(3,0,0,false,true)' > hlt95.out.mc.truth
0123 root  -q -b -l effCalculator.C'(3,1,0,false,true)' > hlt95_eb.out.mc.truth
0124 root  -q -b -l effCalculator.C'(3,2,0,false,true)' > hlt95_ee.out.mc.truth
0125 root  -q -b -l effCalculator.C'(3,1,1,false,true)' > hlt95_eb_minus.out.mc.truth
0126 root  -q -b -l effCalculator.C'(3,1,2,false,true)' > hlt95_eb_plus.out.mc.truth
0127 root  -q -b -l effCalculator.C'(3,2,1,false,true)' > hlt95_ee_minus.out.mc.truth
0128 root  -q -b -l effCalculator.C'(3,2,2,false,true)' > hlt95_ee_plus.out.mc.truth
0129 
0130 
0131 root  -q -b -l effCalculator.C'(4,0,0,false,true)' > hlt80.out.mc.truth
0132 root  -q -b -l effCalculator.C'(4,1,0,false,true)' > hlt80_eb.out.mc.truth
0133 root  -q -b -l effCalculator.C'(4,2,0,false,true)' > hlt80_ee.out.mc.truth
0134 root  -q -b -l effCalculator.C'(4,1,1,false,true)' > hlt80_eb_minus.out.mc.truth
0135 root  -q -b -l effCalculator.C'(4,1,2,false,true)' > hlt80_eb_plus.out.mc.truth
0136 root  -q -b -l effCalculator.C'(4,2,1,false,true)' > hlt80_ee_minus.out.mc.truth
0137 root  -q -b -l effCalculator.C'(4,2,2,false,true)' > hlt80_ee_plus.out.mc.truth
0138 
0139 root -q -b -l selectedEvents.C'(true, false)' > mc_effCrossCheck_ID95AND80.txt
0140 root -q -b -l selectedEvents.C'(true, true)' > mc_effCrossCheck_SCtoGSF.txt
0141 
0142 ./parseOutput.sh
0143 
0144 rm tpHistos_*_MONTECARLO.root
0145 hadd -f tpHistos_ALL.root tpHistos_*.root 
0146 
0147 echo "DONE CALCULATING EFFS -- OUTPUT DUMPED TO tpHistos_ALL.root AND efficiencyTable.txt"