From 380011684f64f65f494259e21d96528b556ebd02 Mon Sep 17 00:00:00 2001 From: Stilianos Kesisoglou Date: Wed, 20 Feb 2013 22:49:26 +0000 Subject: [PATCH] --- yaml --- r: 121796 b: "refs/heads/CMSSW_7_6_X" c: d0930d2236e4433ced4d2ecd26bdab4c039fe04f h: "refs/heads/CMSSW_7_6_X" v: v3 --- [refs] | 2 +- .../test/EBDeadCellsEach5.txt | 2448 +++++++++++++++++ .../test/EEDeadCellsEach5.txt | 441 +++ .../test/RecoAllKilledAndCorrected_001_cfg.py | 96 + .../test/RecoAllKilledAndCorrected_002_cfg.py | 105 + 5 files changed, 3091 insertions(+), 1 deletion(-) create mode 100644 trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/EBDeadCellsEach5.txt create mode 100644 trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/EEDeadCellsEach5.txt create mode 100644 trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/RecoAllKilledAndCorrected_001_cfg.py create mode 100644 trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/RecoAllKilledAndCorrected_002_cfg.py diff --git a/[refs] b/[refs] index ee8b127bf1a65..85ff1f6397bf4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -"refs/heads/CMSSW_7_6_X": 8509068a3004a394c5d37046ec499e96c9d0a2b0 +"refs/heads/CMSSW_7_6_X": d0930d2236e4433ced4d2ecd26bdab4c039fe04f diff --git a/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/EBDeadCellsEach5.txt b/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/EBDeadCellsEach5.txt new file mode 100644 index 0000000000000..c359738469e03 --- /dev/null +++ b/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/EBDeadCellsEach5.txt @@ -0,0 +1,2448 @@ +-3 2 +-1 8 +-1 13 +-1 16 +-2 23 +-2 27 +-1 32 +-2 37 +-1 42 +-1 46 +-1 54 +-4 57 +-4 64 +-1 69 +-2 74 +-2 78 +-4 81 +-1 89 +-4 94 +-1 96 +-2 102 +-4 107 +-2 114 +-1 118 +-1 123 +-1 127 +-1 134 +-1 137 +-4 141 +-4 148 +-3 153 +-2 159 +-2 164 +-1 166 +-4 174 +-1 177 +-4 184 +-3 189 +-4 193 +-1 199 +-3 203 +-1 209 +-3 214 +-1 219 +-2 223 +-3 226 +-4 231 +-1 237 +-2 244 +-2 248 +-1 254 +-3 258 +-1 262 +-1 267 +-4 271 +-3 276 +-3 283 +-4 286 +-3 294 +-2 296 +-1 304 +-4 308 +-1 314 +-1 316 +-3 324 +-3 328 +-4 331 +-3 336 +-4 342 +-3 349 +-3 354 +-4 359 +-9 3 +-7 9 +-8 12 +-8 19 +-9 22 +-7 29 +-8 31 +-9 37 +-6 42 +-6 47 +-7 54 +-7 57 +-7 61 +-9 69 +-9 71 +-9 78 +-8 84 +-6 88 +-7 93 +-7 98 +-8 104 +-6 109 +-9 113 +-6 117 +-6 121 +-9 127 +-6 133 +-7 139 +-9 143 +-6 149 +-8 152 +-7 157 +-8 163 +-6 168 +-8 173 +-9 176 +-8 181 +-6 189 +-8 194 +-8 199 +-7 202 +-9 208 +-9 213 +-8 216 +-9 223 +-7 227 +-7 231 +-7 236 +-7 241 +-9 248 +-8 253 +-7 258 +-8 261 +-7 266 +-6 272 +-6 277 +-8 281 +-6 287 +-6 293 +-8 297 +-6 302 +-8 306 +-9 313 +-9 319 +-6 324 +-9 326 +-7 333 +-6 337 +-8 341 +-6 346 +-6 351 +-6 358 +-12 3 +-11 6 +-11 13 +-14 17 +-11 23 +-11 28 +-13 33 +-11 37 +-11 44 +-12 47 +-12 51 +-11 57 +-14 63 +-12 66 +-13 72 +-13 79 +-13 84 +-12 87 +-11 94 +-14 99 +-12 102 +-11 107 +-14 114 +-14 117 +-14 122 +-14 129 +-13 132 +-14 139 +-13 142 +-11 149 +-14 153 +-13 159 +-12 161 +-13 167 +-12 172 +-13 179 +-12 182 +-11 188 +-13 191 +-11 196 +-11 204 +-13 207 +-11 211 +-11 218 +-12 223 +-12 228 +-11 233 +-12 236 +-13 243 +-11 247 +-12 253 +-13 258 +-11 263 +-14 269 +-13 274 +-14 276 +-11 281 +-13 288 +-13 292 +-11 296 +-14 301 +-13 308 +-14 313 +-14 316 +-14 321 +-12 328 +-13 333 +-14 336 +-14 344 +-11 347 +-12 351 +-14 357 +-19 1 +-19 9 +-19 13 +-16 19 +-16 22 +-17 27 +-16 31 +-16 36 +-17 43 +-18 48 +-18 51 +-18 59 +-16 64 +-17 68 +-16 71 +-18 78 +-16 83 +-17 88 +-17 94 +-17 98 +-19 101 +-16 107 +-19 111 +-18 116 +-18 124 +-17 129 +-17 132 +-18 136 +-19 143 +-19 149 +-16 154 +-19 158 +-17 162 +-19 166 +-16 172 +-16 179 +-16 182 +-17 186 +-17 191 +-19 199 +-17 203 +-19 206 +-17 211 +-17 217 +-16 224 +-19 226 +-16 234 +-19 237 +-17 244 +-17 246 +-17 254 +-16 258 +-19 262 +-19 268 +-19 273 +-18 279 +-19 284 +-17 287 +-17 293 +-16 299 +-19 302 +-19 306 +-17 313 +-18 319 +-19 323 +-16 327 +-16 334 +-19 337 +-17 343 +-17 346 +-16 354 +-18 359 +-22 3 +-24 8 +-21 13 +-24 19 +-23 24 +-22 29 +-21 32 +-24 38 +-24 44 +-23 49 +-23 53 +-23 57 +-23 62 +-22 69 +-22 72 +-22 76 +-23 82 +-21 88 +-23 91 +-22 96 +-21 102 +-21 109 +-23 111 +-23 118 +-21 123 +-24 128 +-24 131 +-22 138 +-22 141 +-23 149 +-22 152 +-23 158 +-24 162 +-21 166 +-23 174 +-21 178 +-22 181 +-24 188 +-24 193 +-24 196 +-24 204 +-23 208 +-21 213 +-23 216 +-23 224 +-24 229 +-24 233 +-24 237 +-23 241 +-24 248 +-22 254 +-24 258 +-23 264 +-24 267 +-22 272 +-21 276 +-21 281 +-23 289 +-24 291 +-24 299 +-22 303 +-21 306 +-22 311 +-21 318 +-22 322 +-22 327 +-21 334 +-22 339 +-24 342 +-21 347 +-21 351 +-21 359 +-27 2 +-29 9 +-29 14 +-28 17 +-29 22 +-26 27 +-26 32 +-26 38 +-28 43 +-28 48 +-27 52 +-29 59 +-28 62 +-26 67 +-29 71 +-28 76 +-27 81 +-29 88 +-29 94 +-26 99 +-26 103 +-28 106 +-27 112 +-26 116 +-26 123 +-28 126 +-27 132 +-26 136 +-26 142 +-29 149 +-28 152 +-28 158 +-29 162 +-27 169 +-28 174 +-29 179 +-26 184 +-26 189 +-26 193 +-27 199 +-27 204 +-27 206 +-28 212 +-27 217 +-29 224 +-26 227 +-29 233 +-28 239 +-29 244 +-28 247 +-26 251 +-28 256 +-29 264 +-27 269 +-27 274 +-28 279 +-29 284 +-26 287 +-29 294 +-28 299 +-28 304 +-27 309 +-27 311 +-29 319 +-28 321 +-26 328 +-29 331 +-27 339 +-26 344 +-29 349 +-28 354 +-26 358 +-34 4 +-32 9 +-32 12 +-31 16 +-32 24 +-34 29 +-33 33 +-32 36 +-31 42 +-34 49 +-34 51 +-33 56 +-34 61 +-34 68 +-33 72 +-31 76 +-32 83 +-34 86 +-34 94 +-33 97 +-31 103 +-32 108 +-33 111 +-31 116 +-32 124 +-33 128 +-34 131 +-32 138 +-34 144 +-32 146 +-33 152 +-31 158 +-33 162 +-31 166 +-32 174 +-31 176 +-31 183 +-33 187 +-31 191 +-31 197 +-32 204 +-32 206 +-32 211 +-34 216 +-32 224 +-34 228 +-31 234 +-31 236 +-33 241 +-32 246 +-31 253 +-31 257 +-31 263 +-33 267 +-33 272 +-32 276 +-31 281 +-34 286 +-31 293 +-33 298 +-34 303 +-32 306 +-33 313 +-34 319 +-31 321 +-33 328 +-34 333 +-33 336 +-34 342 +-32 349 +-31 354 +-34 359 +-36 1 +-38 7 +-38 12 +-36 18 +-36 24 +-37 29 +-36 34 +-39 39 +-38 41 +-36 48 +-38 53 +-39 57 +-38 64 +-38 69 +-37 72 +-38 77 +-38 84 +-36 88 +-38 91 +-36 99 +-39 101 +-36 108 +-38 111 +-36 117 +-38 124 +-36 129 +-36 132 +-39 136 +-37 143 +-37 148 +-36 151 +-36 157 +-37 162 +-36 169 +-36 174 +-38 178 +-36 184 +-39 186 +-36 194 +-38 196 +-38 202 +-36 206 +-37 213 +-37 218 +-38 221 +-37 226 +-38 232 +-36 236 +-38 244 +-36 248 +-37 251 +-38 256 +-39 264 +-37 266 +-39 272 +-37 279 +-37 281 +-37 286 +-39 292 +-37 297 +-36 304 +-36 306 +-37 311 +-36 317 +-38 321 +-37 329 +-38 334 +-37 336 +-37 342 +-36 348 +-36 353 +-37 357 +-41 1 +-41 9 +-44 14 +-42 16 +-42 23 +-42 29 +-41 33 +-41 36 +-41 42 +-44 49 +-43 53 +-41 56 +-42 62 +-41 68 +-41 74 +-41 79 +-44 83 +-42 87 +-43 92 +-42 98 +-41 101 +-41 107 +-43 114 +-44 118 +-44 122 +-44 129 +-42 133 +-42 136 +-44 142 +-41 149 +-43 153 +-41 156 +-42 163 +-44 167 +-42 173 +-43 179 +-41 182 +-43 189 +-41 192 +-44 197 +-43 203 +-42 209 +-43 214 +-44 218 +-44 223 +-44 228 +-43 234 +-44 236 +-44 244 +-42 248 +-43 254 +-44 256 +-43 263 +-44 267 +-43 271 +-44 276 +-43 283 +-41 286 +-44 291 +-43 299 +-44 303 +-43 309 +-41 311 +-44 318 +-41 323 +-44 326 +-43 334 +-43 339 +-43 341 +-41 347 +-43 354 +-42 358 +-47 4 +-49 7 +-47 14 +-47 18 +-49 21 +-47 29 +-47 31 +-46 36 +-46 41 +-47 48 +-48 51 +-49 56 +-46 63 +-46 66 +-49 72 +-49 78 +-49 84 +-48 87 +-47 94 +-46 98 +-47 104 +-46 109 +-49 113 +-48 117 +-48 121 +-47 128 +-47 132 +-47 139 +-49 141 +-47 149 +-48 152 +-48 159 +-48 164 +-49 167 +-49 172 +-46 177 +-49 183 +-48 189 +-49 194 +-46 199 +-47 202 +-49 209 +-49 214 +-46 216 +-46 221 +-49 229 +-48 233 +-49 239 +-47 244 +-48 246 +-46 252 +-48 259 +-48 264 +-46 266 +-49 274 +-49 277 +-49 284 +-49 288 +-48 293 +-47 297 +-47 301 +-49 309 +-47 313 +-47 319 +-48 322 +-46 326 +-49 334 +-46 339 +-49 341 +-46 347 +-47 353 +-46 356 +-53 3 +-53 7 +-52 11 +-53 18 +-54 24 +-52 27 +-52 31 +-52 36 +-54 44 +-53 46 +-52 51 +-51 56 +-51 61 +-53 69 +-53 71 +-51 78 +-51 84 +-52 88 +-52 92 +-53 97 +-51 102 +-51 107 +-51 113 +-54 116 +-51 121 +-51 128 +-53 131 +-52 138 +-53 144 +-54 147 +-52 151 +-51 157 +-51 164 +-52 168 +-51 174 +-54 176 +-54 182 +-51 186 +-52 194 +-54 199 +-51 203 +-52 206 +-53 212 +-52 219 +-52 224 +-52 228 +-51 231 +-52 236 +-51 241 +-54 249 +-51 251 +-52 256 +-52 262 +-54 268 +-54 272 +-51 276 +-53 284 +-51 286 +-53 294 +-54 297 +-51 304 +-53 308 +-52 311 +-54 317 +-52 322 +-52 329 +-52 331 +-54 337 +-54 344 +-51 349 +-53 354 +-52 358 +-59 2 +-58 6 +-59 11 +-56 16 +-57 22 +-57 26 +-56 31 +-57 36 +-59 41 +-56 48 +-56 53 +-59 56 +-59 64 +-59 69 +-56 72 +-56 77 +-58 82 +-57 89 +-58 91 +-58 99 +-58 104 +-59 109 +-56 111 +-56 118 +-56 123 +-57 127 +-58 131 +-57 137 +-56 141 +-56 147 +-59 152 +-57 159 +-56 161 +-59 169 +-59 173 +-57 178 +-59 184 +-59 188 +-59 194 +-58 199 +-59 203 +-59 206 +-57 212 +-59 218 +-56 222 +-56 226 +-56 234 +-57 238 +-56 244 +-59 247 +-57 253 +-56 259 +-59 262 +-57 269 +-56 273 +-59 276 +-58 281 +-58 289 +-59 293 +-56 297 +-59 302 +-59 308 +-56 314 +-57 318 +-58 322 +-57 329 +-59 333 +-57 338 +-56 341 +-58 349 +-56 354 +-59 358 +-63 2 +-61 6 +-61 13 +-61 16 +-61 24 +-63 26 +-62 34 +-61 39 +-63 41 +-62 47 +-63 51 +-62 58 +-64 61 +-64 67 +-61 72 +-64 79 +-62 84 +-63 89 +-64 91 +-63 97 +-62 104 +-64 106 +-61 112 +-62 119 +-63 122 +-62 128 +-64 134 +-63 137 +-62 141 +-61 146 +-63 153 +-63 159 +-61 162 +-63 167 +-63 173 +-64 176 +-64 181 +-64 188 +-64 191 +-61 199 +-64 202 +-63 208 +-64 211 +-61 218 +-64 224 +-63 226 +-64 233 +-63 238 +-64 244 +-62 248 +-61 252 +-62 258 +-62 262 +-63 266 +-64 273 +-63 277 +-64 284 +-63 288 +-61 292 +-64 299 +-63 304 +-62 308 +-61 314 +-64 316 +-63 324 +-62 326 +-63 333 +-64 336 +-64 342 +-62 349 +-61 354 +-63 358 +-66 4 +-68 8 +-69 12 +-68 16 +-69 24 +-68 28 +-69 32 +-69 36 +-67 44 +-69 48 +-68 54 +-67 58 +-66 63 +-66 69 +-66 71 +-67 77 +-68 81 +-69 86 +-66 91 +-68 96 +-67 102 +-67 108 +-69 112 +-69 118 +-68 122 +-67 129 +-66 131 +-66 139 +-67 142 +-66 148 +-68 151 +-66 157 +-67 164 +-69 166 +-66 174 +-67 177 +-69 181 +-66 189 +-66 192 +-69 196 +-67 201 +-68 209 +-68 212 +-66 216 +-69 222 +-68 228 +-66 232 +-69 238 +-69 244 +-66 247 +-67 254 +-68 258 +-67 263 +-69 267 +-69 271 +-68 276 +-68 282 +-69 288 +-68 293 +-68 296 +-69 303 +-69 306 +-69 314 +-66 319 +-66 322 +-66 329 +-66 332 +-66 336 +-68 341 +-67 346 +-66 354 +-66 358 +-74 2 +-73 8 +-71 13 +-72 18 +-71 21 +-71 29 +-71 31 +-74 37 +-73 42 +-71 46 +-74 52 +-73 56 +-72 63 +-71 68 +-72 71 +-71 79 +-73 84 +-73 88 +-71 91 +-71 97 +-73 102 +-73 108 +-72 114 +-74 116 +-72 122 +-74 129 +-72 131 +-71 138 +-73 142 +-73 149 +-71 153 +-74 156 +-73 161 +-73 166 +-74 174 +-74 176 +-71 184 +-73 186 +-71 194 +-74 199 +-74 201 +-72 206 +-72 213 +-74 217 +-72 223 +-72 228 +-74 234 +-73 239 +-71 243 +-71 249 +-71 251 +-71 257 +-74 263 +-74 269 +-73 271 +-74 279 +-73 283 +-71 288 +-74 292 +-73 296 +-74 302 +-73 307 +-74 314 +-73 317 +-74 324 +-72 326 +-74 331 +-73 337 +-74 343 +-73 349 +-73 353 +-71 359 +-76 3 +-78 9 +-76 11 +-79 18 +-78 22 +-78 28 +-77 32 +-78 38 +-78 44 +-76 49 +-77 54 +-78 57 +-78 63 +-78 66 +-77 73 +-78 78 +-79 82 +-79 89 +-76 94 +-78 96 +-76 103 +-78 106 +-76 113 +-77 118 +-78 123 +-79 127 +-76 133 +-79 137 +-79 141 +-76 146 +-76 153 +-78 157 +-76 164 +-76 166 +-77 173 +-79 179 +-78 181 +-77 187 +-78 191 +-79 196 +-77 203 +-76 207 +-77 214 +-79 218 +-78 223 +-77 227 +-79 231 +-78 236 +-79 244 +-79 248 +-77 253 +-78 257 +-78 264 +-78 266 +-79 274 +-77 278 +-78 284 +-79 289 +-77 291 +-79 296 +-79 303 +-76 306 +-77 314 +-77 319 +-79 324 +-77 329 +-79 333 +-76 338 +-77 342 +-77 348 +-77 352 +-77 358 +-81 2 +-81 9 +-84 14 +-84 16 +-82 22 +-83 29 +-83 34 +-83 38 +-83 41 +-84 46 +-81 51 +-83 57 +-84 62 +-81 66 +-84 74 +-84 77 +-81 83 +-84 89 +-83 91 +-83 98 +-84 102 +-84 106 +-81 111 +-83 118 +-84 124 +-83 128 +-83 131 +-81 138 +-83 142 +-83 149 +-84 154 +-82 157 +-83 163 +-81 167 +-83 173 +-83 179 +-83 184 +-82 189 +-83 192 +-83 199 +-81 202 +-83 207 +-81 214 +-81 217 +-84 222 +-83 229 +-81 234 +-82 239 +-81 243 +-82 249 +-84 252 +-84 256 +-84 262 +-83 268 +-83 272 +-83 277 +-83 284 +-82 288 +-83 293 +-82 299 +-82 303 +-82 306 +-83 314 +-84 319 +-82 321 +-82 327 +-83 334 +-81 338 +-84 341 +-81 349 +-82 354 +-83 359 +2 3 +3 9 +1 14 +3 16 +2 21 +4 28 +1 32 +4 39 +3 43 +3 49 +3 53 +3 57 +1 61 +3 66 +4 72 +1 79 +1 83 +2 87 +3 93 +2 99 +3 101 +2 108 +3 113 +4 116 +2 123 +1 126 +2 134 +2 138 +2 144 +4 147 +1 151 +4 156 +2 164 +2 166 +2 172 +3 179 +4 182 +4 187 +2 191 +4 199 +2 201 +4 207 +3 213 +3 217 +3 221 +2 226 +4 231 +3 238 +1 241 +1 246 +4 251 +3 257 +3 261 +4 267 +3 274 +4 277 +2 281 +4 286 +2 294 +4 299 +2 303 +4 309 +3 313 +4 319 +4 321 +4 329 +2 332 +3 338 +2 343 +3 347 +1 351 +2 358 +8 3 +6 7 +6 13 +7 18 +6 24 +8 29 +7 33 +6 37 +6 44 +9 47 +7 51 +7 57 +8 64 +7 67 +7 72 +8 78 +7 82 +7 88 +9 91 +7 99 +7 101 +8 106 +9 113 +7 116 +9 122 +7 127 +7 133 +9 137 +9 142 +7 146 +6 153 +6 156 +6 163 +7 168 +8 171 +8 178 +9 182 +8 188 +8 193 +9 198 +8 202 +8 207 +8 212 +8 216 +6 224 +7 229 +8 231 +7 238 +7 241 +9 247 +9 251 +9 258 +6 261 +7 268 +8 274 +6 277 +8 283 +7 289 +8 291 +6 299 +7 302 +8 308 +7 313 +8 319 +7 323 +7 326 +9 334 +8 339 +6 341 +7 347 +8 351 +6 358 +12 4 +14 8 +12 14 +14 16 +14 22 +14 29 +11 33 +12 39 +12 41 +14 49 +12 54 +13 56 +13 63 +14 67 +12 73 +13 76 +11 81 +12 89 +14 92 +12 96 +13 103 +12 109 +13 111 +13 116 +13 122 +14 129 +14 132 +11 136 +14 142 +11 149 +12 153 +14 156 +11 164 +14 168 +12 171 +14 176 +12 183 +13 186 +11 194 +11 198 +14 204 +12 206 +14 214 +12 216 +12 221 +12 226 +14 232 +11 236 +11 242 +13 247 +11 252 +12 256 +11 262 +11 268 +11 274 +13 277 +14 282 +11 289 +14 292 +13 296 +12 301 +13 306 +13 312 +14 317 +11 321 +14 328 +11 332 +14 339 +13 343 +14 348 +14 351 +13 356 +19 2 +17 6 +17 12 +19 18 +16 24 +16 26 +16 32 +19 39 +16 41 +17 46 +19 52 +17 57 +16 63 +16 69 +16 72 +16 78 +19 83 +18 86 +19 93 +18 99 +17 103 +17 106 +18 111 +18 119 +18 123 +18 127 +17 134 +18 137 +19 143 +19 148 +17 154 +19 159 +17 162 +19 167 +16 173 +16 177 +19 181 +17 189 +17 193 +17 196 +19 203 +19 207 +19 213 +17 218 +17 224 +18 228 +19 232 +19 236 +19 244 +16 249 +17 254 +19 256 +18 262 +16 266 +17 272 +16 276 +17 282 +18 289 +19 293 +18 297 +17 302 +17 309 +17 311 +16 316 +19 324 +17 328 +19 331 +19 337 +17 344 +18 346 +19 353 +19 356 +22 3 +22 6 +24 14 +23 16 +21 22 +22 27 +23 31 +24 37 +22 43 +21 47 +24 54 +24 56 +21 62 +22 69 +21 71 +23 79 +24 83 +24 87 +23 92 +24 99 +24 102 +22 109 +22 113 +24 119 +24 121 +22 126 +24 134 +23 139 +21 144 +24 147 +24 154 +23 158 +22 161 +22 169 +24 172 +21 178 +21 184 +23 188 +21 192 +23 199 +21 203 +23 206 +21 211 +23 217 +21 222 +23 226 +21 231 +22 238 +21 242 +24 249 +22 252 +24 256 +23 263 +24 268 +22 274 +22 279 +22 281 +24 286 +24 293 +22 298 +24 304 +22 307 +21 313 +21 316 +24 324 +21 327 +22 333 +24 336 +21 343 +22 349 +21 352 +24 359 +29 4 +27 8 +26 13 +29 19 +28 22 +26 29 +27 34 +28 36 +28 42 +27 49 +29 51 +28 58 +29 64 +29 69 +26 72 +29 76 +28 81 +29 87 +29 93 +29 99 +29 102 +26 107 +28 111 +29 118 +27 121 +28 126 +26 132 +26 139 +28 141 +28 146 +29 151 +26 159 +29 161 +29 169 +27 172 +29 176 +28 182 +27 188 +27 193 +29 198 +27 202 +26 207 +28 214 +28 218 +27 221 +26 228 +29 231 +26 238 +26 243 +29 246 +27 254 +27 256 +27 261 +28 268 +28 273 +27 278 +29 282 +27 287 +26 293 +26 297 +28 302 +28 306 +28 311 +26 316 +29 324 +29 329 +27 334 +26 339 +26 342 +28 348 +28 354 +27 358 +31 1 +31 7 +34 12 +32 16 +34 22 +32 29 +34 34 +31 36 +34 44 +32 46 +33 52 +31 59 +34 63 +32 69 +31 71 +32 76 +31 81 +31 87 +32 93 +32 98 +31 103 +34 107 +31 112 +32 117 +31 122 +34 126 +31 132 +32 138 +32 144 +32 149 +33 154 +32 159 +31 163 +32 167 +31 171 +32 179 +33 181 +34 188 +31 191 +34 198 +33 203 +32 207 +34 213 +31 217 +31 224 +31 226 +33 231 +31 239 +32 242 +31 248 +32 251 +32 259 +31 262 +33 267 +32 271 +34 277 +32 281 +34 286 +34 294 +33 298 +32 301 +34 306 +32 314 +33 316 +32 324 +34 329 +32 331 +32 338 +31 344 +34 347 +34 352 +34 357 +37 2 +37 7 +36 11 +37 19 +39 23 +38 29 +37 31 +38 39 +39 42 +39 48 +37 51 +37 59 +36 62 +39 68 +36 74 +36 77 +38 83 +37 86 +38 93 +36 96 +37 102 +39 107 +37 111 +36 116 +38 122 +36 128 +39 134 +39 139 +39 142 +37 146 +36 152 +39 156 +38 163 +38 167 +39 173 +38 179 +36 183 +37 186 +39 192 +39 197 +36 202 +36 209 +36 211 +39 217 +38 224 +38 229 +36 232 +36 236 +38 244 +36 248 +36 251 +37 256 +36 264 +37 267 +36 273 +39 278 +36 282 +37 289 +37 293 +37 297 +36 301 +39 308 +36 312 +37 319 +39 322 +38 327 +39 331 +39 338 +37 343 +37 347 +36 354 +36 356 +41 4 +43 8 +42 14 +44 16 +44 24 +41 28 +44 34 +44 38 +42 42 +41 47 +41 53 +44 56 +41 63 +44 67 +42 72 +42 79 +44 82 +41 87 +43 94 +42 99 +43 104 +44 106 +41 112 +41 117 +42 124 +44 129 +41 131 +41 136 +41 142 +44 149 +43 152 +44 158 +44 162 +42 169 +43 171 +44 179 +44 184 +42 187 +43 192 +41 199 +41 203 +42 208 +43 211 +41 218 +44 221 +44 228 +42 234 +41 239 +44 242 +43 248 +42 253 +43 257 +43 264 +42 268 +42 274 +42 277 +44 282 +41 287 +44 294 +44 297 +44 302 +41 309 +43 312 +44 318 +44 323 +42 326 +41 333 +42 339 +42 342 +43 346 +42 351 +43 358 +46 2 +48 6 +48 14 +48 16 +49 24 +46 29 +46 33 +46 37 +49 44 +48 48 +46 52 +48 56 +48 63 +46 66 +46 71 +47 78 +47 83 +47 87 +46 92 +48 97 +49 103 +49 109 +48 114 +47 116 +48 123 +46 126 +49 133 +49 138 +48 141 +48 149 +47 152 +49 158 +46 162 +46 168 +46 174 +49 178 +48 181 +48 188 +48 191 +47 199 +47 201 +48 207 +48 213 +48 217 +48 223 +49 226 +48 231 +48 238 +49 243 +46 248 +47 254 +48 256 +48 261 +47 268 +49 273 +46 278 +47 283 +46 286 +49 291 +48 298 +48 302 +47 308 +46 314 +47 318 +49 321 +46 328 +49 333 +48 339 +47 344 +49 346 +49 351 +49 358 +53 1 +51 6 +54 12 +52 17 +52 23 +51 27 +53 32 +51 39 +52 43 +53 47 +53 53 +51 57 +51 63 +54 69 +52 74 +51 79 +54 84 +52 88 +51 93 +54 96 +53 101 +51 109 +51 112 +53 117 +52 122 +51 127 +54 131 +53 139 +53 144 +53 149 +52 153 +53 156 +52 164 +54 167 +54 172 +52 179 +51 182 +52 188 +53 193 +53 197 +51 204 +51 207 +54 213 +54 219 +54 222 +52 227 +53 234 +53 237 +52 242 +52 246 +52 253 +51 256 +54 263 +53 266 +53 271 +51 279 +54 283 +53 287 +51 293 +54 297 +53 302 +53 309 +53 313 +51 318 +53 322 +53 328 +53 331 +52 337 +51 344 +51 348 +51 351 +54 358 +56 4 +57 8 +58 12 +57 18 +58 21 +58 26 +58 34 +56 37 +58 42 +58 48 +57 53 +56 56 +57 61 +56 66 +59 71 +57 78 +59 81 +58 88 +56 92 +59 99 +58 102 +56 107 +57 112 +56 117 +58 124 +56 128 +58 134 +57 137 +56 144 +58 147 +59 151 +56 159 +56 161 +56 167 +57 172 +57 179 +57 184 +58 187 +59 194 +57 199 +56 203 +57 206 +57 212 +56 219 +56 223 +59 227 +56 233 +56 239 +58 242 +58 248 +59 253 +59 259 +57 264 +58 269 +58 272 +58 277 +57 282 +59 288 +57 292 +58 296 +56 303 +58 309 +56 314 +56 316 +56 324 +58 326 +59 331 +59 338 +57 342 +56 348 +58 353 +57 357 +62 4 +64 8 +64 14 +61 17 +62 22 +64 28 +61 34 +64 39 +61 43 +62 46 +61 53 +62 59 +61 61 +61 67 +63 71 +64 78 +61 81 +64 89 +64 91 +64 97 +63 104 +62 108 +64 113 +63 117 +63 123 +63 127 +61 134 +62 137 +64 143 +64 147 +64 152 +61 157 +62 163 +61 169 +61 171 +62 177 +63 183 +61 186 +61 191 +63 199 +61 204 +64 206 +64 213 +62 217 +62 223 +63 227 +62 232 +63 239 +63 242 +61 248 +63 254 +61 257 +62 261 +62 267 +63 274 +61 279 +61 282 +62 286 +61 292 +62 296 +63 303 +63 308 +62 311 +64 318 +61 322 +63 327 +62 331 +61 336 +63 343 +64 346 +62 353 +64 357 +66 1 +69 9 +67 11 +67 16 +67 22 +66 26 +69 33 +67 36 +67 42 +68 49 +67 52 +67 56 +68 64 +69 68 +67 73 +69 76 +67 84 +69 88 +68 93 +67 99 +66 104 +66 106 +69 112 +67 118 +68 122 +66 126 +67 132 +68 138 +66 144 +67 147 +67 151 +69 157 +68 161 +69 166 +69 171 +68 179 +66 184 +69 189 +69 191 +66 199 +67 204 +67 209 +68 211 +66 219 +67 222 +69 229 +69 231 +66 237 +68 242 +67 247 +66 251 +69 258 +68 264 +67 266 +66 273 +67 278 +68 283 +68 288 +69 294 +66 296 +66 302 +66 309 +69 314 +67 317 +68 323 +69 329 +67 334 +69 339 +68 342 +66 348 +69 352 +69 357 +73 1 +74 7 +73 11 +73 16 +74 24 +72 27 +73 32 +72 36 +71 42 +72 47 +71 52 +73 59 +73 64 +71 68 +72 74 +72 79 +74 81 +73 88 +71 91 +72 96 +71 102 +72 109 +74 114 +71 117 +71 124 +72 127 +73 134 +71 136 +73 143 +73 146 +72 151 +73 159 +74 163 +72 166 +72 173 +73 178 +72 181 +72 189 +74 193 +74 197 +74 203 +71 207 +73 211 +72 217 +71 221 +72 229 +72 234 +72 238 +71 244 +73 248 +71 254 +72 257 +73 262 +72 267 +74 274 +73 277 +72 283 +72 287 +72 294 +73 298 +73 303 +71 307 +71 311 +73 316 +73 322 +72 329 +74 334 +73 338 +74 344 +72 346 +74 353 +74 359 +76 2 +76 7 +78 13 +78 17 +78 22 +78 26 +79 34 +77 37 +76 42 +78 47 +77 51 +78 58 +79 61 +77 69 +76 74 +76 77 +78 83 +78 88 +78 94 +78 98 +78 103 +78 107 +76 111 +78 118 +78 124 +79 127 +78 132 +78 137 +76 141 +79 149 +77 154 +77 157 +78 163 +76 166 +77 172 +78 178 +79 183 +77 189 +78 191 +79 196 +78 202 +79 209 +76 213 +77 216 +79 224 +76 227 +77 234 +79 239 +78 244 +79 247 +76 254 +77 256 +76 263 +79 269 +79 274 +76 279 +78 281 +77 287 +76 294 +79 299 +78 302 +79 308 +79 313 +76 319 +77 323 +77 326 +78 332 +79 337 +76 341 +78 346 +78 351 +77 358 +81 2 +82 9 +84 12 +82 18 +83 22 +84 29 +83 33 +83 38 +82 44 +81 46 +81 51 +81 58 +83 62 +83 68 +83 73 +81 78 +83 84 +84 88 +84 92 +83 97 +83 104 +83 106 +81 111 +84 119 +84 122 +81 127 +83 131 +83 137 +84 142 +81 149 +82 151 +82 156 +83 164 +84 169 +81 173 +81 176 +82 184 +83 186 +82 191 +84 196 +82 204 +83 206 +83 211 +81 219 +81 222 +83 226 +81 233 +84 236 +84 241 +84 246 +82 254 +84 256 +83 263 +81 266 +82 272 +82 277 +84 283 +84 289 +84 292 +83 299 +83 304 +82 309 +84 312 +81 319 +84 324 +82 328 +83 331 +82 338 +84 341 +81 347 +81 354 +83 357 diff --git a/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/EEDeadCellsEach5.txt b/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/EEDeadCellsEach5.txt new file mode 100644 index 0000000000000..559fc7045cef7 --- /dev/null +++ b/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/EEDeadCellsEach5.txt @@ -0,0 +1,441 @@ +0 0 -1 +0 5 1 +0 10 -1 +0 15 -1 +0 20 -1 +0 25 1 +0 30 -1 +0 35 1 +0 40 1 +0 45 -1 +0 50 1 +0 55 -1 +0 60 1 +0 65 -1 +0 70 -1 +0 75 -1 +0 80 1 +0 85 -1 +0 90 1 +0 95 -1 +0 100 1 +5 0 1 +5 5 1 +5 10 1 +5 15 -1 +5 20 -1 +5 25 1 +5 30 1 +5 35 1 +5 40 1 +5 45 -1 +5 50 1 +5 55 -1 +5 60 -1 +5 65 1 +5 70 1 +5 75 -1 +5 80 -1 +5 85 1 +5 90 -1 +5 95 -1 +5 100 -1 +10 0 -1 +10 5 -1 +10 10 -1 +10 15 1 +10 20 1 +10 25 -1 +10 30 -1 +10 35 -1 +10 40 -1 +10 45 -1 +10 50 -1 +10 55 1 +10 60 -1 +10 65 -1 +10 70 -1 +10 75 -1 +10 80 1 +10 85 -1 +10 90 -1 +10 95 1 +10 100 -1 +15 0 -1 +15 5 -1 +15 10 1 +15 15 1 +15 20 1 +15 25 -1 +15 30 -1 +15 35 -1 +15 40 1 +15 45 1 +15 50 1 +15 55 -1 +15 60 1 +15 65 1 +15 70 1 +15 75 1 +15 80 -1 +15 85 -1 +15 90 -1 +15 95 1 +15 100 1 +20 0 -1 +20 5 -1 +20 10 -1 +20 15 -1 +20 20 -1 +20 25 -1 +20 30 -1 +20 35 1 +20 40 -1 +20 45 1 +20 50 1 +20 55 1 +20 60 -1 +20 65 1 +20 70 1 +20 75 -1 +20 80 -1 +20 85 1 +20 90 -1 +20 95 1 +20 100 1 +25 0 -1 +25 5 1 +25 10 1 +25 15 -1 +25 20 -1 +25 25 -1 +25 30 -1 +25 35 -1 +25 40 -1 +25 45 -1 +25 50 1 +25 55 1 +25 60 -1 +25 65 1 +25 70 1 +25 75 1 +25 80 1 +25 85 -1 +25 90 -1 +25 95 -1 +25 100 -1 +30 0 1 +30 5 -1 +30 10 1 +30 15 1 +30 20 -1 +30 25 1 +30 30 -1 +30 35 -1 +30 40 -1 +30 45 -1 +30 50 -1 +30 55 -1 +30 60 -1 +30 65 -1 +30 70 -1 +30 75 -1 +30 80 -1 +30 85 1 +30 90 -1 +30 95 -1 +30 100 1 +35 0 -1 +35 5 -1 +35 10 1 +35 15 1 +35 20 -1 +35 25 -1 +35 30 -1 +35 35 1 +35 40 -1 +35 45 -1 +35 50 -1 +35 55 -1 +35 60 -1 +35 65 1 +35 70 1 +35 75 -1 +35 80 1 +35 85 1 +35 90 1 +35 95 1 +35 100 1 +40 0 -1 +40 5 -1 +40 10 1 +40 15 -1 +40 20 -1 +40 25 -1 +40 30 1 +40 35 -1 +40 40 -1 +40 45 -1 +40 50 1 +40 55 1 +40 60 1 +40 65 1 +40 70 -1 +40 75 -1 +40 80 1 +40 85 -1 +40 90 -1 +40 95 1 +40 100 -1 +45 0 -1 +45 5 1 +45 10 1 +45 15 -1 +45 20 1 +45 25 1 +45 30 -1 +45 35 -1 +45 40 -1 +45 45 1 +45 50 -1 +45 55 1 +45 60 1 +45 65 -1 +45 70 1 +45 75 -1 +45 80 -1 +45 85 1 +45 90 1 +45 95 1 +45 100 1 +50 0 1 +50 5 -1 +50 10 1 +50 15 -1 +50 20 -1 +50 25 1 +50 30 1 +50 35 1 +50 40 1 +50 45 -1 +50 50 -1 +50 55 1 +50 60 -1 +50 65 1 +50 70 1 +50 75 1 +50 80 1 +50 85 1 +50 90 1 +50 95 1 +50 100 1 +55 0 1 +55 5 1 +55 10 1 +55 15 -1 +55 20 1 +55 25 -1 +55 30 -1 +55 35 1 +55 40 1 +55 45 1 +55 50 -1 +55 55 1 +55 60 1 +55 65 1 +55 70 1 +55 75 -1 +55 80 -1 +55 85 -1 +55 90 1 +55 95 -1 +55 100 -1 +60 0 1 +60 5 1 +60 10 -1 +60 15 -1 +60 20 1 +60 25 1 +60 30 -1 +60 35 1 +60 40 1 +60 45 1 +60 50 -1 +60 55 1 +60 60 -1 +60 65 1 +60 70 1 +60 75 -1 +60 80 -1 +60 85 -1 +60 90 -1 +60 95 1 +60 100 -1 +65 0 -1 +65 5 1 +65 10 1 +65 15 1 +65 20 1 +65 25 1 +65 30 1 +65 35 -1 +65 40 -1 +65 45 -1 +65 50 -1 +65 55 1 +65 60 1 +65 65 1 +65 70 1 +65 75 1 +65 80 1 +65 85 1 +65 90 1 +65 95 1 +65 100 -1 +70 0 -1 +70 5 1 +70 10 1 +70 15 1 +70 20 -1 +70 25 1 +70 30 1 +70 35 -1 +70 40 1 +70 45 -1 +70 50 -1 +70 55 1 +70 60 -1 +70 65 -1 +70 70 -1 +70 75 -1 +70 80 -1 +70 85 -1 +70 90 1 +70 95 1 +70 100 -1 +75 0 -1 +75 5 1 +75 10 1 +75 15 -1 +75 20 -1 +75 25 -1 +75 30 -1 +75 35 -1 +75 40 -1 +75 45 1 +75 50 1 +75 55 1 +75 60 1 +75 65 1 +75 70 -1 +75 75 -1 +75 80 -1 +75 85 -1 +75 90 -1 +75 95 -1 +75 100 1 +80 0 1 +80 5 1 +80 10 1 +80 15 -1 +80 20 -1 +80 25 -1 +80 30 1 +80 35 1 +80 40 1 +80 45 -1 +80 50 1 +80 55 1 +80 60 1 +80 65 -1 +80 70 -1 +80 75 -1 +80 80 1 +80 85 1 +80 90 -1 +80 95 -1 +80 100 1 +85 0 -1 +85 5 1 +85 10 -1 +85 15 1 +85 20 1 +85 25 1 +85 30 -1 +85 35 -1 +85 40 -1 +85 45 1 +85 50 1 +85 55 1 +85 60 1 +85 65 1 +85 70 1 +85 75 1 +85 80 1 +85 85 1 +85 90 1 +85 95 1 +85 100 -1 +90 0 1 +90 5 -1 +90 10 -1 +90 15 -1 +90 20 -1 +90 25 -1 +90 30 -1 +90 35 -1 +90 40 -1 +90 45 -1 +90 50 1 +90 55 -1 +90 60 -1 +90 65 1 +90 70 -1 +90 75 -1 +90 80 -1 +90 85 1 +90 90 -1 +90 95 1 +90 100 1 +95 0 1 +95 5 1 +95 10 -1 +95 15 1 +95 20 1 +95 25 1 +95 30 -1 +95 35 1 +95 40 1 +95 45 -1 +95 50 -1 +95 55 1 +95 60 1 +95 65 1 +95 70 1 +95 75 1 +95 80 1 +95 85 1 +95 90 1 +95 95 -1 +95 100 -1 +100 0 1 +100 5 1 +100 10 -1 +100 15 1 +100 20 1 +100 25 -1 +100 30 1 +100 35 1 +100 40 -1 +100 45 1 +100 50 1 +100 55 1 +100 60 -1 +100 65 1 +100 70 -1 +100 75 1 +100 80 1 +100 85 -1 +100 90 -1 +100 95 1 +100 100 -1 diff --git a/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/RecoAllKilledAndCorrected_001_cfg.py b/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/RecoAllKilledAndCorrected_001_cfg.py new file mode 100644 index 0000000000000..47d74ab37f874 --- /dev/null +++ b/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/RecoAllKilledAndCorrected_001_cfg.py @@ -0,0 +1,96 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("DCRec") + +process.load("Configuration.StandardSequences.MagneticField_cff") +#process.load("Configuration.StandardSequences.Geometry_cff") # Depreciated +process.load("Configuration.Geometry.GeometryIdeal_cff") + +process.load("Configuration.EventContent.EventContent_cff") +process.load("Geometry.CaloEventSetup.CaloGeometry_cfi") +process.load("Geometry.CaloEventSetup.CaloTopology_cfi") + +process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") +process.GlobalTag.globaltag = cms.string('START53_V10::All') + +process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) + +process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) + + +# ***************************************************************** +# Input Source +# ***************************************************************** +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring( +# '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-RECO/STARTUP_V8_v1/0000/200EB7E3-90F3-DD11-B1B0-001D09F2432B.root', +# '/eos/cms/store/relval/CMSSW_5_3_4_cand1/RelValZEE/GEN-SIM-RECO/PU_START53_V10-v1/0003/22521942-41F7-E111-A383-003048D375AA.root', +# '/store/relval/CMSSW_5_3_4_cand1/RelValZEE/GEN-SIM-RECO/PU_START53_V10-v1/0003/22521942-41F7-E111-A383-003048D375AA.root', +# 'root://eoscms//eos/cms/store/relval/CMSSW_5_3_4_cand1/RelValZEE/GEN-SIM-RECO/PU_START53_V10-v1/0003/22521942-41F7-E111-A383-003048D375AA.root', + 'rfio:/afs/cern.ch/work/i/ikesisog/public/TestFiles/22521942-41F7-E111-A383-003048D375AA.root', + ) +) + + +# ***************************************************************** +# Output Target +# ***************************************************************** +process.out = cms.OutputModule("PoolOutputModule", + fileName = cms.untracked.string('Results.root'), + outputCommands = cms.untracked.vstring('keep *_*_*_DCRec','keep *_*_*_VALIDATION'), + #SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring("p") ), +) + + +# ***************************************************************** +# RecHitsKiller and RecHitRecoveryProducer module for Barrel +# ***************************************************************** +process.CreateEBDeadCells = cms.EDProducer("EBChannelKiller", + hitProducer = cms.string("ecalRecHit"), + hitCollection = cms.string("EcalRecHitsEB"), + reducedHitCollection = cms.string("EcalRecHitsEB"), + KilledHitCollection = cms.string("KilledEcalRecHitsEB"), + DeadChannelsFile = cms.string("EBDeadCellsEach5.txt"), + KillDeadCells = cms.bool(True), +) + +process.ModCorrectEBDeadCells = cms.EDProducer("EBDeadChannelRecoveryProducers", + hitProducer = cms.string("CreateEBDeadCells"), + hitCollection = cms.string("EcalRecHitsEB"), + reducedHitCollection = cms.string("EcalRecHitsEB"), + DeadChannelsFile = cms.string("EBDeadCellsEach5.txt"), + Sum8GeVThreshold = cms.double(8.0), + CorrectionMethod = cms.string("NeuralNetworks"), + CorrectDeadCells = cms.bool(True), +) + + +# ***************************************************************** +# RecHitsKiller and RecHitRecoveryProducer module for EndCap +# ***************************************************************** +process.CreateEEDeadCells = cms.EDProducer("EEChannelKiller", + hitProducer = cms.string("ecalRecHit"), + hitCollection = cms.string("EcalRecHitsEE"), + reducedHitCollection = cms.string("EcalRecHitsEE"), + KilledHitCollection = cms.string("KilledEcalRecHitsEE"), + DeadChannelsFile = cms.string("EEDeadCellsEach5.txt"), + KillDeadCells = cms.bool(True), +) + +process.ModCorrectEEDeadCells = cms.EDProducer("EEDeadChannelRecoveryProducers", + hitProducer = cms.string("CreateEEDeadCells"), + hitCollection = cms.string("EcalRecHitsEE"), + reducedHitCollection = cms.string("EcalRecHitsEE"), + DeadChannelsFile = cms.string("EEDeadCellsEach5.txt"), + Sum8GeVThreshold = cms.double(8.0), + CorrectionMethod = cms.string("NeuralNetworks"), + CorrectDeadCells = cms.bool(True), +) + + +# ***************************************************************** +# Execution Path +# ***************************************************************** +process.p = cms.Path(process.CreateEBDeadCells * process.ModCorrectEBDeadCells + process.CreateEEDeadCells * process.ModCorrectEEDeadCells ) +process.outpath = cms.EndPath(process.out) + diff --git a/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/RecoAllKilledAndCorrected_002_cfg.py b/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/RecoAllKilledAndCorrected_002_cfg.py new file mode 100644 index 0000000000000..1bebcbe8bcdf2 --- /dev/null +++ b/trunk/RecoLocalCalo/EcalDeadChannelRecoveryProducers/test/RecoAllKilledAndCorrected_002_cfg.py @@ -0,0 +1,105 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("DCRec") + +process.load("Configuration.StandardSequences.MagneticField_cff") +#process.load("Configuration.StandardSequences.Geometry_cff") # Depreciated +process.load("Configuration.Geometry.GeometryIdeal_cff") + +process.load("Configuration.EventContent.EventContent_cff") +process.load("Geometry.CaloEventSetup.CaloGeometry_cfi") +process.load("Geometry.CaloEventSetup.CaloTopology_cfi") + +process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") +#process.GlobalTag.globaltag = cms.string('START53_V10::All') +process.GlobalTag.globaltag = 'GR_P_V42_AN2::All' # this one for run2012D + +process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) +#process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) ) + +process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) + + +# ***************************************************************** +# Input Source +# ***************************************************************** +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring( +# '/store/relval/CMSSW_2_2_4/RelValTTbar/GEN-SIM-RECO/STARTUP_V8_v1/0000/200EB7E3-90F3-DD11-B1B0-001D09F2432B.root', +# '/eos/cms/store/relval/CMSSW_5_3_4_cand1/RelValZEE/GEN-SIM-RECO/PU_START53_V10-v1/0003/22521942-41F7-E111-A383-003048D375AA.root', +# '/store/relval/CMSSW_5_3_4_cand1/RelValZEE/GEN-SIM-RECO/PU_START53_V10-v1/0003/22521942-41F7-E111-A383-003048D375AA.root', +# 'file:/afs/cern.ch/work/v/vgiakoum/public/8200EF9B-0AA0-E111-9E58-003048FFCB6A.root' +# 'file:/afs/cern.ch/work/i/ikesisog/public/TestFiles/8200EF9B-0AA0-E111-9E58-003048FFCB6A.root' + '/store/data/Run2012D/DoublePhotonHighPt/AOD/PromptReco-v1/000/203/994/30ABB9D1-790E-E211-AFF1-001D09F242EF.root', +# '/store/data/Run2012D/DoublePhotonHighPt/AOD/PromptReco-v1/000/203/994/3E8BBC89-620E-E211-9185-001D09F25479.root', +# '/store/data/Run2012D/DoublePhotonHighPt/AOD/PromptReco-v1/000/203/994/DC93F9B0-6B0E-E211-8F48-003048D37560.root', +# '/store/data/Run2012D/DoublePhotonHighPt/AOD/PromptReco-v1/000/203/994/FA29ECAC-640E-E211-A95F-001D09F28D54.root', +# 'root://eoscms//eos/cms/store/relval/CMSSW_5_3_4_cand1/RelValZEE/GEN-SIM-RECO/PU_START53_V10-v1/0003/22521942-41F7-E111-A383-003048D375AA.root', +# 'rfio:/afs/cern.ch/user/i/ikesisog/public/22521942-41F7-E111-A383-003048D375AA.root', + ) +) + + +# ***************************************************************** +# Output Target +# ***************************************************************** +process.out = cms.OutputModule("PoolOutputModule", + fileName = cms.untracked.string('Results_vic.root'), + outputCommands = cms.untracked.vstring('keep EcalRecHitsSorted_*_*_*'), + #SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring("p") ), +) + + +# ***************************************************************** +# RecHitsKiller and RecHitRecoveryProducer module for Barrel +# ***************************************************************** +process.CreateEBDeadCells = cms.EDProducer("EBChannelKiller", + hitProducer = cms.string("reducedEcalRecHitsEB"), + hitCollection = cms.string(""), + reducedHitCollection = cms.string("CreateEB"), + KilledHitCollection = cms.string("KilledEcalRecHitsEB"), + DeadChannelsFile = cms.string("EBDeadCellsEach5.txt"), + KillDeadCells = cms.bool(True), +) + +process.ModCorrectEBDeadCells = cms.EDProducer("EBDeadChannelRecoveryProducers", + hitProducer = cms.string("CreateEBDeadCells"), + hitCollection = cms.string("CreateEB"), + reducedHitCollection = cms.string("ModifyEB"), + DeadChannelsFile = cms.string("EBDeadCellsEach5.txt"), + Sum8GeVThreshold = cms.double(8.0), + CorrectionMethod = cms.string("NeuralNetworks"), + CorrectDeadCells = cms.bool(True), +) + + +# ***************************************************************** +# RecHitsKiller and RecHitRecoveryProducer module for EndCap +# ***************************************************************** +process.CreateEEDeadCells = cms.EDProducer("EEChannelKiller", + hitProducer = cms.string("reducedEcalRecHitsEE"), + hitCollection = cms.string(""), + reducedHitCollection = cms.string("CreateEE"), + KilledHitCollection = cms.string("KilledEcalRecHitsEE"), + DeadChannelsFile = cms.string("EEDeadCellsEach5.txt"), + KillDeadCells = cms.bool(True), +) + +process.ModCorrectEEDeadCells = cms.EDProducer("EEDeadChannelRecoveryProducers", + hitProducer = cms.string("CreateEEDeadCells"), + hitCollection = cms.string("CreateEE"), + reducedHitCollection = cms.string("ModifyEE"), + DeadChannelsFile = cms.string("EEDeadCellsEach5.txt"), + Sum8GeVThreshold = cms.double(8.0), + CorrectionMethod = cms.string("NeuralNetworks"), + CorrectDeadCells = cms.bool(True), +) + + +# ***************************************************************** +# Execution Path +# ***************************************************************** +process.p = cms.Path(process.CreateEBDeadCells * process.ModCorrectEBDeadCells + process.CreateEEDeadCells * process.ModCorrectEEDeadCells) +#process.p = cms.Path(process.ModCorrectEBDeadCells + process.ModCorrectEEDeadCells ) +process.outpath = cms.EndPath(process.out) +