-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The code filling the optical flashes was written with ICARUS in mind (see also the review in PR #273).
While this is good for short term, the code needs to be updated.
Incriminated code:
sbncode/sbncode/CAFMaker/FillReco.cxx
Lines 128 to 133 in db3414d
| int countingOffset = 0; | |
| if ( cryo == 1 ) countingOffset += 180; | |
| for ( int PMT = 0 ; PMT < 180 ; PMT++ ) { | |
| if ( PMT <= 89 ) sumEast += flash.PEs().at(PMT + countingOffset); | |
| else sumWest += flash.PEs().at(PMT + countingOffset); | |
| } |
In addition there is somewhere ICARUS-specific code that relies on an unofficial convention (assigning cryostat number according to the data product label); that should also be fixed.
Relevant people:
- @JackSmedley: original code
- @PetrilloAtWork: can propose geometry-based algorithms
- anybody from SBND (@ikatza?): make sure we don't mess up with east/west wall and other concepts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working