00001 import FWCore.ParameterSet.Config as cms 00002 00003 from RecoHI.HiEgammaAlgos.HiIsolationCommonParameters_cff import * 00004 00005 isoC1 = cms.EDProducer("HiEgammaIsolationProducer", 00006 isolationInputParameters, 00007 mode = cms.string("noBackgroundSubtracted"), 00008 iso = cms.string("Cx"), 00009 x = cms.double(1), 00010 y = cms.double(0), 00011 ) 00012 00013 isoC2 = cms.EDProducer("HiEgammaIsolationProducer", 00014 isolationInputParameters, 00015 mode = cms.string("noBackgroundSubtracted"), 00016 iso = cms.string("Cx"), 00017 x = cms.double(2), 00018 y = cms.double(0), 00019 ) 00020 00021 isoC3 = cms.EDProducer("HiEgammaIsolationProducer", 00022 isolationInputParameters, 00023 mode = cms.string("noBackgroundSubtracted"), 00024 iso = cms.string("Cx"), 00025 x = cms.double(3), 00026 y = cms.double(0), 00027 ) 00028 00029 isoC4 = cms.EDProducer("HiEgammaIsolationProducer", 00030 isolationInputParameters, 00031 mode = cms.string("noBackgroundSubtracted"), 00032 iso = cms.string("Cx"), 00033 x = cms.double(4), 00034 y = cms.double(0), 00035 ) 00036 00037 isoC5 = cms.EDProducer("HiEgammaIsolationProducer", 00038 isolationInputParameters, 00039 mode = cms.string("noBackgroundSubtracted"), 00040 iso = cms.string("Cx"), 00041 x = cms.double(5), 00042 y = cms.double(0), 00043 ) 00044 00045 isoCC1 = cms.EDProducer("HiEgammaIsolationProducer", 00046 isolationInputParameters, 00047 mode = cms.string("BackgroundSubtracted"), 00048 iso = cms.string("Cx"), 00049 x = cms.double(1), 00050 y = cms.double(0), 00051 ) 00052 00053 isoCC2 = cms.EDProducer("HiEgammaIsolationProducer", 00054 isolationInputParameters, 00055 mode = cms.string("BackgroundSubtracted"), 00056 iso = cms.string("Cx"), 00057 x = cms.double(2), 00058 y = cms.double(0), 00059 ) 00060 00061 isoCC3 = cms.EDProducer("HiEgammaIsolationProducer", 00062 isolationInputParameters, 00063 mode = cms.string("BackgroundSubtracted"), 00064 iso = cms.string("Cx"), 00065 x = cms.double(3), 00066 y = cms.double(0), 00067 ) 00068 00069 isoCC4 = cms.EDProducer("HiEgammaIsolationProducer", 00070 isolationInputParameters, 00071 mode = cms.string("BackgroundSubtracted"), 00072 iso = cms.string("Cx"), 00073 x = cms.double(4), 00074 y = cms.double(0), 00075 ) 00076 00077 isoCC5 = cms.EDProducer("HiEgammaIsolationProducer", 00078 isolationInputParameters, 00079 mode = cms.string("BackgroundSubtracted"), 00080 iso = cms.string("Cx"), 00081 x = cms.double(5), 00082 y = cms.double(0), 00083 ) 00084 00085 isoR1 = cms.EDProducer("HiEgammaIsolationProducer", 00086 isolationInputParameters, 00087 mode = cms.string("noBackgroundSubtracted"), 00088 iso = cms.string("Rx"), 00089 x = cms.double(1), 00090 y = cms.double(0), 00091 ) 00092 00093 isoR2 = cms.EDProducer("HiEgammaIsolationProducer", 00094 isolationInputParameters, 00095 mode = cms.string("noBackgroundSubtracted"), 00096 iso = cms.string("Rx"), 00097 x = cms.double(2), 00098 y = cms.double(0), 00099 ) 00100 00101 isoR3 = cms.EDProducer("HiEgammaIsolationProducer", 00102 isolationInputParameters, 00103 mode = cms.string("noBackgroundSubtracted"), 00104 iso = cms.string("Rx"), 00105 x = cms.double(3), 00106 y = cms.double(0), 00107 ) 00108 00109 isoR4 = cms.EDProducer("HiEgammaIsolationProducer", 00110 isolationInputParameters, 00111 mode = cms.string("noBackgroundSubtracted"), 00112 iso = cms.string("Rx"), 00113 x = cms.double(4), 00114 y = cms.double(0), 00115 ) 00116 00117 isoR5 = cms.EDProducer("HiEgammaIsolationProducer", 00118 isolationInputParameters, 00119 mode = cms.string("noBackgroundSubtracted"), 00120 iso = cms.string("Rx"), 00121 x = cms.double(5), 00122 y = cms.double(0), 00123 ) 00124 00125 isoCR1 = cms.EDProducer("HiEgammaIsolationProducer", 00126 isolationInputParameters, 00127 mode = cms.string("BackgroundSubtracted"), 00128 iso = cms.string("Rx"), 00129 x = cms.double(1), 00130 y = cms.double(0), 00131 ) 00132 00133 isoCR2 = cms.EDProducer("HiEgammaIsolationProducer", 00134 isolationInputParameters, 00135 mode = cms.string("BackgroundSubtracted"), 00136 iso = cms.string("Rx"), 00137 x = cms.double(2), 00138 y = cms.double(0), 00139 ) 00140 00141 isoCR3 = cms.EDProducer("HiEgammaIsolationProducer", 00142 isolationInputParameters, 00143 mode = cms.string("BackgroundSubtracted"), 00144 iso = cms.string("Rx"), 00145 x = cms.double(3), 00146 y = cms.double(0), 00147 ) 00148 00149 isoCR4 = cms.EDProducer("HiEgammaIsolationProducer", 00150 isolationInputParameters, 00151 mode = cms.string("BackgroundSubtracted"), 00152 iso = cms.string("Rx"), 00153 x = cms.double(4), 00154 y = cms.double(0), 00155 ) 00156 00157 isoCR5 = cms.EDProducer("HiEgammaIsolationProducer", 00158 isolationInputParameters, 00159 mode = cms.string("BackgroundSubtracted"), 00160 iso = cms.string("Rx"), 00161 x = cms.double(5), 00162 y = cms.double(0), 00163 ) 00164 00165 00166 hiEcalIsolation = cms.Sequence(isoC1+isoC2+isoC3+isoC4+isoC5) 00167 hiEcalIsolationBckSubtracted = cms.Sequence(isoCC1+isoCC2+isoCC3+isoCC4+isoCC5) 00168 hiHcalIsolation = cms.Sequence(isoR1+isoR2+isoR3+isoR4+isoR5) 00169 hiHcalIsolationBckSubtracted = cms.Sequence(isoCR1+isoCR2+isoCR3+isoCR4+isoCR5) 00170 00171 hiCaloIsolation = cms.Sequence(hiEcalIsolation+hiHcalIsolation) 00172 hiCaloIsolationBckSubtracted = cms.Sequence(hiEcalIsolationBckSubtracted+hiHcalIsolationBckSubtracted) 00173 00174 hiCaloIsolationAll = cms.Sequence(hiCaloIsolation+hiCaloIsolationBckSubtracted) 00175 00176