Commit a2c649a
[EMCAL-688] Add exception for uninitilised lookup table
- Add exception class to throw when trying to determine exotic clusters but the neeed look up table is not initilised
- The class UninitLookUpTableException is neseted within the cluster factory class
- throw will happen inside of setIsExotic function which is called inside buildCluster function
- throw will only happen if ecell < mExoticCellMinAmplitude is false
- Add first step to merge set up function for the cluster, cell and index container together with the look up table
- new setContainer function expects all three objects as span and will set them
- next step would be to change the current calls of the three (four) setter everywhere with this one1 parent bff9090 commit a2c649a
File tree
2 files changed
+44
-6
lines changed- Detectors/EMCAL/base
- include/EMCALBase
- src
2 files changed
+44
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
314 | 317 | | |
315 | 318 | | |
316 | 319 | | |
| |||
343 | 346 | | |
344 | 347 | | |
345 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
346 | 360 | | |
347 | 361 | | |
348 | 362 | | |
349 | 363 | | |
350 | 364 | | |
351 | 365 | | |
| 366 | + | |
352 | 367 | | |
353 | 368 | | |
354 | 369 | | |
| |||
360 | 375 | | |
361 | 376 | | |
362 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
363 | 393 | | |
364 | 394 | | |
365 | 395 | | |
| |||
400 | 430 | | |
401 | 431 | | |
402 | 432 | | |
| 433 | + | |
403 | 434 | | |
404 | 435 | | |
405 | 436 | | |
| |||
413 | 444 | | |
414 | 445 | | |
415 | 446 | | |
416 | | - | |
| 447 | + | |
417 | 448 | | |
418 | 449 | | |
419 | 450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 39 | + | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
| |||
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
| 48 | + | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
| |||
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
83 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
595 | 597 | | |
596 | 598 | | |
597 | 599 | | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
598 | 605 | | |
599 | 606 | | |
600 | 607 | | |
| |||
0 commit comments