Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the channel mapping according to the hardware connections made during the assembly at LSC.
The MC positions of the DBs are these:

The corresponding mapping of the "hardware ID" (FEB ID) for each DB goes like this:

Inside each DB, the corresponding mappings are these (ChannelID is the same as ElecID. The former is used in IC, while the latter is the name in the decoder):

To compute the ID of a sensor the following formula is used:
(DB_ID + 1) * 1000 + sensor
. For instance, the lower-left sensor of the first DB (lower-left as well) would be:MC sensor ID:
(0 + 1) * 1000 + 0 = 1000
Channel ID:
(35 + 1) * 1000 + 13 = 36013
In the same way, SensorID 1001 corresponds to ChannelID 36012, etc.
This PR includes the new NEXT100 database with those relations for all 3584 SiPMs.