############################################################################## # Class: TMbsUnpackTofPar # Context: TestDefaultContext ############################################################################## [TMbsUnpackTofPar] //---------------------------------------------------------------------------- //******************************// // Input selector // //******************************// // GETEVT__FILE 1 <- LMD File // GETEVT__STREAM 2 <- Stream client // GETEVT__TRANS 3 <- Transport client // GETEVT__EVENT 4 <- Event client // GETEVT__REVSERV 5 <- Remote event client MbsSourceMode: Int_t 1 // Switch ON/OFF the writing of data in the output root file of cbmroot analysis WriteDataInCbmOut: Int_t 1 // Switch ON/OFF debug tests in VFTX unpacker VftxDebug: Int_t 0 // Number of possible VME boards in the MBS event MbsNbVmeBoards: Int_t 31 // BoardTypes // undef = 0, // unknown type, default value // caenV1290 = 1, // CAEN v1290A and CAEN v1290N VME boards based on HPTDC chips // vftx = 2, // FPGA TDC of the VFTX family (E. Bayer dev.) // triglog = 10, // VULOM TRIGLOG board // scalormu = 11, // VULOM Scaler Or Multiplicity board // scalormubig= 12, // VULOM Scaler Or Multiplicity board 32 channel version ? not used for now // scaler2014 = 13, // VULOM Scaler Or/And board used in the GSI April 2014 TOF beamtime // caenv965 = 20, // CAEN v965A and CAEN v965N VME QDC boards // lecroy1182 = 21, // LECROY 1182 VME QDC/ADC board // vulqfwread = 22 // VULOM QFW board (Charge to Frequency Converter Readout) // BoardIndex Active Address AddMod TokenA TokenB Type MbsVmeMapping: Int_t \ 0, 0, 0x14000000, 0x09, 0x74726c6f, 0x6f6c7274, 10, \ 1, 0, 0x0F000000, 0x09, 0x74646331, 0x31636474, 1, \ 2, 0, 0x11000000, 0x09, 0x74646332, 0x32636474, 1, \ 3, 0, 0x12000000, 0x09, 0x74646333, 0x33636474, 1, \ 4, 0, 0x14000000, 0x09, 0x74646334, 0x34636474, 1, \ 5, 0, 0x15000000, 0x09, 0x74646335, 0x35636474, 1, \ 6, 0, 0x17000000, 0x09, 0x74646336, 0x36636474, 1, \ 7, 0, 0x18000000, 0x09, 0x74646337, 0x37636474, 1, \ 8, 0, 0x19000000, 0x09, 0x74646338, 0x38636474, 1, \ 9, 0, 0x03000000, 0x09, 0x66706731, 0x31677066, 2, \ 10, 0, 0x04000000, 0x09, 0x66706732, 0x32677066, 2, \ 11, 0, 0x05000000, 0x09, 0x66706733, 0x33677066, 2, \ 12, 0, 0x06000000, 0x09, 0x66706734, 0x34677066, 2, \ 13, 0, 0x07000000, 0x09, 0x66706735, 0x35677066, 2, \ 14, 0, 0x08000000, 0x09, 0x66706736, 0x36677066, 2, \ 15, 0, 0x09000000, 0x09, 0x66706737, 0x37677066, 2, \ 16, 0, 0x0A000000, 0x09, 0x66706738, 0x38677066, 2, \ 17, 0, 0x0B000000, 0x09, 0x66706739, 0x39677066, 2, \ 18, 0, 0x0C000000, 0x09, 0x6670673a, 0x3a677066, 2, \ 19, 0, 0x0D000000, 0x09, 0x6670673b, 0x3b677066, 2, \ 20, 0, 0x0A000000, 0x09, 0x71646332, 0x32636471, 20, \ 21, 0, 0x0B000000, 0x09, 0x71646333, 0x33636471, 20, \ 22, 0, 0x00600000, 0x39, 0x31313832, 0x32383131, 21, \ 23, 0, 0x00700000, 0x39, 0x31313833, 0x33383131, 21, \ 24, 0, 0x07000000, 0x09, 0x71667731, 0x31776671, 22, \ 25, 0, 0x12000000, 0x09, 0x73636f6d, 0x6d6f6373, 11, \ 26, 0, 0x13000000, 0x09, 0x736f6d62, 0x626d6f73, 11, \ 27, 0, 0x06000000, 0x09, 0x73636131, 0x31616373, 13, \ 28, 0, 0x08000000, 0x09, 0x73636132, 0x32616373, 13, \ 29, 0, 0x10000000, 0x09, 0x73636133, 0x33616373, 13, \ 30, 0, 0x12000000, 0x09, 0x73636134, 0x34616373, 13 // Number of possible Non-VME boards in the MBS event NbNonVmeBoards: Int_t 51 //============================================================================== // General structure // BoardIndex Active RocIndx AddMod TokenA TokenB Type //------------------------------------------------------------------------------ // BoardTypes // 0: unknown -- default // 4: get4 -- GET4 chips // 30: trbseb -- subevent builder on central TRB-FPGA // 31: trbtdc -- TDC on peripheral TRB-FPGA or FEE-TDC // 32: trbhub -- hub on peripheral TRB-FPGA //============================================================================== // TRB specific structure // BoardIndex UnpackTdc FpgaAddr [niu] SebAddr FpgaInData FpgaType //------------------------------------------------------------------------------ // BoardIndex: consecutively numbered index (0...NbNonVmeBoards-1) // UnpackTdc: unpack data from this TDC (0x1) // FpgaAddr: FPGA TRBnet endpoint address // [niu]: field not in use // SebAddr: subevent builder's TRBnet endpoint address // FpgaInData: FPGA TRBnet endpoint sends data (0x1) // FpgaType: see BoardTypes above //============================================================================== // NonVmeMapping: Int_t \ 0, 0x0, 0xc000, 0x0, 0xc000, 0x1, 30, \ 1, 0x0, 0xb001, 0x0, 0xc000, 0x1, 32, \ 2, 0x0, 0xb002, 0x0, 0xc000, 0x1, 32, \ 3, 0x0, 0xb003, 0x0, 0xc000, 0x1, 32, \ 4, 0x0, 0xb004, 0x0, 0xc000, 0x1, 32, \ 5, 0x1, 0x8001, 0x0, 0xc000, 0x1, 30, \ 6, 0x0, 0xb005, 0x0, 0x8001, 0x1, 32, \ 7, 0x0, 0xb006, 0x0, 0x8001, 0x1, 32, \ 8, 0x0, 0xb007, 0x0, 0x8001, 0x1, 32, \ 9, 0x0, 0xb008, 0x0, 0x8001, 0x1, 32, \ 10, 0x0, 0x8002, 0x0, 0x8001, 0x1, 30, \ 11, 0x0, 0x0201, 0x0, 0x8002, 0x1, 31, \ 12, 0x0, 0x0202, 0x0, 0x8002, 0x1, 31, \ 13, 0x0, 0x0203, 0x0, 0x8002, 0x1, 31, \ 14, 0x0, 0x0204, 0x0, 0x8002, 0x1, 31, \ 15, 0x0, 0x8003, 0x0, 0xc000, 0x1, 30, \ 16, 0x0, 0x0301, 0x0, 0x8003, 0x1, 31, \ 17, 0x0, 0x0302, 0x0, 0x8003, 0x1, 31, \ 18, 0x0, 0x0303, 0x0, 0x8003, 0x1, 31, \ 19, 0x0, 0x0304, 0x0, 0x8003, 0x1, 31, \ 20, 0x0, 0x8005, 0x0, 0xc000, 0x1, 30, \ 21, 0x0, 0x0501, 0x0, 0x8005, 0x1, 31, \ 22, 0x0, 0x0502, 0x0, 0x8005, 0x1, 31, \ 23, 0x0, 0x0503, 0x0, 0x8005, 0x1, 31, \ 24, 0x0, 0x0504, 0x0, 0x8005, 0x1, 31, \ 25, 0x0, 0x0f01, 0x0, 0xc000, 0x1, 31, \ 26, 0x0, 0x0f02, 0x0, 0x8001, 0x1, 31, \ 27, 0x0, 0x0f03, 0x0, 0x8001, 0x1, 31, \ 28, 0x0, 0x0f04, 0x0, 0xc000, 0x1, 31, \ 29, 0x0, 0x0f05, 0x0, 0xc000, 0x1, 31, \ 30, 0x0, 0x0f06, 0x0, 0xc000, 0x1, 31, \ 31, 0x0, 0x0f07, 0x0, 0xc000, 0x1, 31, \ 32, 0x0, 0x0f08, 0x0, 0xc000, 0x1, 31, \ 33, 0x0, 0x0f09, 0x0, 0x8001, 0x1, 31, \ 34, 0x0, 0x0f0a, 0x0, 0x8001, 0x1, 31, \ 35, 0x0, 0x0f0b, 0x0, 0x8001, 0x1, 31, \ 36, 0x0, 0x0f0c, 0x0, 0x8001, 0x1, 31, \ 37, 0x0, 0x0f0d, 0x0, 0x8001, 0x1, 31, \ 38, 0x0, 0x0f0e, 0x0, 0x8001, 0x1, 31, \ 39, 0x0, 0x0f0f, 0x0, 0x8001, 0x1, 31, \ 40, 0x0, 0x0f10, 0x0, 0x8001, 0x1, 31, \ 41, 0x0, 0x0f11, 0x0, 0x8001, 0x1, 31, \ 42, 0x0, 0x0f12, 0x0, 0xc000, 0x1, 31, \ 43, 0x1, 0x0f13, 0x0, 0xc000, 0x1, 31, \ 44, 0x1, 0x0f14, 0x0, 0xc000, 0x1, 31, \ 45, 0x1, 0x0f15, 0x0, 0x8001, 0x1, 31, \ 46, 0x1, 0x0f16, 0x0, 0x8001, 0x1, 31, \ 47, 0x0, 0x0f17, 0x0, 0xc000, 0x1, 31, \ 48, 0x0, 0x0f18, 0x0, 0xc000, 0x1, 31, \ 49, 0x0, 0x0f19, 0x0, 0xc000, 0x1, 31, \ 50, 0x0, 0x0f1a, 0x0, 0xc000, 0x1, 31 // // Trigger from the Triglog board for which event are jump by Calib, mapping and conv // For now only jumping work for GET4 data!! //TriggerRejection: Int_t 15 TriggerRejection: Int_t -1 ###########################