Bug #24419

Channel mapping in the ProtoDUNE DP rotated geometry

Added by Vyacheslav Galymov 11 months ago. Updated 6 days ago.

Start date:
Due date:
% Done:


Estimated time:


The channel map that is used to assign DAQ channel record to the CRP views had a bug related to the TPC ordering convention followed in ProtoDUNE DP geometry.
The geometry information is given here:
The issue was with the fact that the channel map was assigning channels corresponding to CRP0, CRP1, and parts of CRP3, which are the active readout ares of the detectors. However, the TPC (CRP) numbering convention for the DP geometry in larsoft follows an order defined by the TPC volume sorter comparison function. This means that the most upstream CRP with the lowest Y is the first one, while the one the most downstream with the largest Y is the last. This is however different from the CRP numbering scheme adopted during construction and installation as well as used in the commissioning and online event monitoring. The two schemes are illustrated in the wiki page above and in the image attached.

The channels assigned to kZ view should be kY (and kY channels respectively kZ)
CRP0 (online) should be CRP3 in larsoft
CRP1 (online) is the same in larsoft

The bug applies to the conversion of DAQ raw data to the art event format. Specifically it affects the data files decoded with dunetpc version before v08.48.01 (before April) and thus the first ProtoDUNE DP data production.

The fix to the channel map has been committed:

The list of bad channels however still needs to be updated to take this CRP numbering convention into account.

pddp_crpno.png (29.3 KB) pddp_crpno.png Vyacheslav Galymov, 05/14/2020 01:40 PM


#1 Updated by Vyacheslav Galymov 6 days ago

  • % Done changed from 0 to 100

Also available in: Atom PDF