This is an old revision of the document!
Channel 0 is the TDC of trigger The strip 12 does not exist. in this mapping
For calibration you got TDC (channel -1) to Petiroc
firmwaret=[31,29,27,25,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6]
and TDC to strip
{"id":10,"chamber":1,"first":741000,"last":743000, "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150., "stripShift":0,"polarity":1, "tdc2strip":[12,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12], "side":[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0], "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] }, {"id":14,"chamber":1,"first":741000,"last":743000, "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150., "stripShift":11,"polarity":-1, "tdc2strip":[12,11,11,10,10,9,9,8,8,7,7,6,6,5,5,4,4,3,3,2,2,1,1,12], "side":[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0], "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] }, {"id":11,"chamber":1,"first":741000,"last":743000, "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150., "stripShift":22,"polarity":1, "tdc2strip":[12,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12], "side":[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0], "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] }, {"id":9,"chamber":1,"first":741000,"last":743000, "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150., "stripShift":33,"polarity":-1, "tdc2strip":[12,11,11,10,10,9,9,8,8,7,7,6,6,5,5,4,4,3,3,2,2,1,1,12], "side":[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0], "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] }
Channel 0 is the TDC of trigger The strip 13 does not exist. in this mapping
For calibration you got TDC (channel -1) to Petiroc
firmware2=[24,5,3,1,0,2,4,6,7,8,9,10,26,28,30,31,29,27,25,23,22,21,20,19]
and TDC to strip
{"id":5,"chamber":2,"first":741000,"last":743000, "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150., "stripShift":0,"polarity":1, "tdc2strip":[13,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12], "side":[2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0], "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] }, {"id":6,"chamber":6,"first":741000,"last":743000, "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150., "stripShift":12,"polarity":1, "tdc2strip":[13,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12], "side":[2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0], "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] }, {"id":7,"chamber":2,"first":741000,"last":743000, "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150., "stripShift":22,"polarity":1, " "tdc2strip":[13,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12], "side":[2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0], "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] }, {"id":8,"chamber":2,"first":741000,"last":743000, "triggerMean":-180.,"triggerMin":-230.,"triggerMax":-150., "stripShift":33,"polarity":-1, "tdc2strip":[13,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12], "side":[2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0], "delta":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] }
The new data format is explain in