00001 import FWCore.ParameterSet.Config as cms 00002 00003 from RecoHI.HiEgammaAlgos.HiIsolationCommonParameters_cff import * 00004 00005 isoT11 = cms.EDProducer("HiEgammaIsolationProducer", 00006 isolationInputParameters, 00007 mode = cms.string("noBackgroundSubtracted"), 00008 iso = cms.string("Txy"), 00009 x = cms.double(1), 00010 y = cms.double(1), 00011 ) 00012 00013 isoT12 = cms.EDProducer("HiEgammaIsolationProducer", 00014 isolationInputParameters, 00015 mode = cms.string("noBackgroundSubtracted"), 00016 iso = cms.string("Txy"), 00017 x = cms.double(1), 00018 y = cms.double(2), 00019 ) 00020 00021 isoT13 = cms.EDProducer("HiEgammaIsolationProducer", 00022 isolationInputParameters, 00023 mode = cms.string("noBackgroundSubtracted"), 00024 iso = cms.string("Txy"), 00025 x = cms.double(1), 00026 y = cms.double(3), 00027 ) 00028 00029 isoT14 = cms.EDProducer("HiEgammaIsolationProducer", 00030 isolationInputParameters, 00031 mode = cms.string("noBackgroundSubtracted"), 00032 iso = cms.string("Txy"), 00033 x = cms.double(1), 00034 y = cms.double(4), 00035 ) 00036 00037 isoT21 = cms.EDProducer("HiEgammaIsolationProducer", 00038 isolationInputParameters, 00039 mode = cms.string("noBackgroundSubtracted"), 00040 iso = cms.string("Txy"), 00041 x = cms.double(2), 00042 y = cms.double(1), 00043 ) 00044 00045 isoT22 = cms.EDProducer("HiEgammaIsolationProducer", 00046 isolationInputParameters, 00047 mode = cms.string("noBackgroundSubtracted"), 00048 iso = cms.string("Txy"), 00049 x = cms.double(2), 00050 y = cms.double(2), 00051 ) 00052 00053 isoT23 = cms.EDProducer("HiEgammaIsolationProducer", 00054 isolationInputParameters, 00055 mode = cms.string("noBackgroundSubtracted"), 00056 iso = cms.string("Txy"), 00057 x = cms.double(2), 00058 y = cms.double(3), 00059 ) 00060 00061 isoT24 = cms.EDProducer("HiEgammaIsolationProducer", 00062 isolationInputParameters, 00063 mode = cms.string("noBackgroundSubtracted"), 00064 iso = cms.string("Txy"), 00065 x = cms.double(2), 00066 y = cms.double(4), 00067 ) 00068 00069 isoT31 = cms.EDProducer("HiEgammaIsolationProducer", 00070 isolationInputParameters, 00071 mode = cms.string("noBackgroundSubtracted"), 00072 iso = cms.string("Txy"), 00073 x = cms.double(3), 00074 y = cms.double(1), 00075 ) 00076 00077 isoT32 = cms.EDProducer("HiEgammaIsolationProducer", 00078 isolationInputParameters, 00079 mode = cms.string("noBackgroundSubtracted"), 00080 iso = cms.string("Txy"), 00081 x = cms.double(3), 00082 y = cms.double(2), 00083 ) 00084 00085 isoT33 = cms.EDProducer("HiEgammaIsolationProducer", 00086 isolationInputParameters, 00087 mode = cms.string("noBackgroundSubtracted"), 00088 iso = cms.string("Txy"), 00089 x = cms.double(3), 00090 y = cms.double(3), 00091 ) 00092 00093 isoT34 = cms.EDProducer("HiEgammaIsolationProducer", 00094 isolationInputParameters, 00095 mode = cms.string("noBackgroundSubtracted"), 00096 iso = cms.string("Txy"), 00097 x = cms.double(3), 00098 y = cms.double(4), 00099 ) 00100 00101 isoT41 = cms.EDProducer("HiEgammaIsolationProducer", 00102 isolationInputParameters, 00103 mode = cms.string("noBackgroundSubtracted"), 00104 iso = cms.string("Txy"), 00105 x = cms.double(4), 00106 y = cms.double(1), 00107 ) 00108 00109 isoT42 = cms.EDProducer("HiEgammaIsolationProducer", 00110 isolationInputParameters, 00111 mode = cms.string("noBackgroundSubtracted"), 00112 iso = cms.string("Txy"), 00113 x = cms.double(4), 00114 y = cms.double(2), 00115 ) 00116 00117 isoT43 = cms.EDProducer("HiEgammaIsolationProducer", 00118 isolationInputParameters, 00119 mode = cms.string("noBackgroundSubtracted"), 00120 iso = cms.string("Txy"), 00121 x = cms.double(4), 00122 y = cms.double(3), 00123 ) 00124 00125 isoT44 = cms.EDProducer("HiEgammaIsolationProducer", 00126 isolationInputParameters, 00127 mode = cms.string("noBackgroundSubtracted"), 00128 iso = cms.string("Txy"), 00129 x = cms.double(4), 00130 y = cms.double(4), 00131 ) 00132 00133 isoDR11 = cms.EDProducer("HiEgammaIsolationProducer", 00134 isolationInputParameters, 00135 mode = cms.string("noBackgroundSubtracted"), 00136 iso = cms.string("dRxy"), 00137 x = cms.double(1), 00138 y = cms.double(1), 00139 ) 00140 00141 isoDR12 = cms.EDProducer("HiEgammaIsolationProducer", 00142 isolationInputParameters, 00143 mode = cms.string("noBackgroundSubtracted"), 00144 iso = cms.string("dRxy"), 00145 x = cms.double(1), 00146 y = cms.double(2), 00147 ) 00148 00149 isoDR13 = cms.EDProducer("HiEgammaIsolationProducer", 00150 isolationInputParameters, 00151 mode = cms.string("noBackgroundSubtracted"), 00152 iso = cms.string("dRxy"), 00153 x = cms.double(1), 00154 y = cms.double(3), 00155 ) 00156 00157 isoDR14 = cms.EDProducer("HiEgammaIsolationProducer", 00158 isolationInputParameters, 00159 mode = cms.string("noBackgroundSubtracted"), 00160 iso = cms.string("dRxy"), 00161 x = cms.double(1), 00162 y = cms.double(4), 00163 ) 00164 00165 isoDR21 = cms.EDProducer("HiEgammaIsolationProducer", 00166 isolationInputParameters, 00167 mode = cms.string("noBackgroundSubtracted"), 00168 iso = cms.string("dRxy"), 00169 x = cms.double(2), 00170 y = cms.double(1), 00171 ) 00172 00173 isoDR22 = cms.EDProducer("HiEgammaIsolationProducer", 00174 isolationInputParameters, 00175 mode = cms.string("noBackgroundSubtracted"), 00176 iso = cms.string("dRxy"), 00177 x = cms.double(2), 00178 y = cms.double(2), 00179 ) 00180 00181 isoDR23 = cms.EDProducer("HiEgammaIsolationProducer", 00182 isolationInputParameters, 00183 mode = cms.string("noBackgroundSubtracted"), 00184 iso = cms.string("dRxy"), 00185 x = cms.double(2), 00186 y = cms.double(3), 00187 ) 00188 00189 isoDR24 = cms.EDProducer("HiEgammaIsolationProducer", 00190 isolationInputParameters, 00191 mode = cms.string("noBackgroundSubtracted"), 00192 iso = cms.string("dRxy"), 00193 x = cms.double(2), 00194 y = cms.double(4), 00195 ) 00196 00197 isoDR31 = cms.EDProducer("HiEgammaIsolationProducer", 00198 isolationInputParameters, 00199 mode = cms.string("noBackgroundSubtracted"), 00200 iso = cms.string("dRxy"), 00201 x = cms.double(3), 00202 y = cms.double(1), 00203 ) 00204 00205 isoDR32 = cms.EDProducer("HiEgammaIsolationProducer", 00206 isolationInputParameters, 00207 mode = cms.string("noBackgroundSubtracted"), 00208 iso = cms.string("dRxy"), 00209 x = cms.double(3), 00210 y = cms.double(2), 00211 ) 00212 00213 isoDR33 = cms.EDProducer("HiEgammaIsolationProducer", 00214 isolationInputParameters, 00215 mode = cms.string("noBackgroundSubtracted"), 00216 iso = cms.string("dRxy"), 00217 x = cms.double(3), 00218 y = cms.double(3), 00219 ) 00220 00221 isoDR34 = cms.EDProducer("HiEgammaIsolationProducer", 00222 isolationInputParameters, 00223 mode = cms.string("noBackgroundSubtracted"), 00224 iso = cms.string("dRxy"), 00225 x = cms.double(3), 00226 y = cms.double(4), 00227 ) 00228 00229 isoDR41 = cms.EDProducer("HiEgammaIsolationProducer", 00230 isolationInputParameters, 00231 mode = cms.string("noBackgroundSubtracted"), 00232 iso = cms.string("dRxy"), 00233 x = cms.double(4), 00234 y = cms.double(1), 00235 ) 00236 00237 isoDR42 = cms.EDProducer("HiEgammaIsolationProducer", 00238 isolationInputParameters, 00239 mode = cms.string("noBackgroundSubtracted"), 00240 iso = cms.string("dRxy"), 00241 x = cms.double(4), 00242 y = cms.double(2), 00243 ) 00244 00245 isoDR43 = cms.EDProducer("HiEgammaIsolationProducer", 00246 isolationInputParameters, 00247 mode = cms.string("noBackgroundSubtracted"), 00248 iso = cms.string("dRxy"), 00249 x = cms.double(4), 00250 y = cms.double(3), 00251 ) 00252 00253 isoDR44 = cms.EDProducer("HiEgammaIsolationProducer", 00254 isolationInputParameters, 00255 mode = cms.string("noBackgroundSubtracted"), 00256 iso = cms.string("dRxy"), 00257 x = cms.double(4), 00258 y = cms.double(4), 00259 ) 00260 00261 00262 hiTrackCountingIsolation = cms.Sequence(isoT11+isoT12+isoT13+isoT14+isoT21+isoT22+isoT23+isoT24+isoT31+isoT32+isoT33+isoT34+isoT41+isoT42+isoT43+isoT44) 00263 hiTrackVetoConeIsolation = cms.Sequence(isoDR11+isoDR12+isoDR13+isoDR14+isoDR21+isoDR22+isoDR23+isoDR24+isoDR31+isoDR32+isoDR33+isoDR34+isoDR41+isoDR42+isoDR43+isoDR44) 00264 00265 hiTrackerIsolation = cms.Sequence(hiTrackCountingIsolation+hiTrackVetoConeIsolation)