1378 "Info about the FTM and FPGA version" 1379 "|BoardId[int]:BoardId, hexCode" 1380 "|DNA[int]:DNA of the FTM board"),
1381 fDimTriggerRates (
"FTM_CONTROL/TRIGGER_RATES",
"X:1;X:1;I:1;F:1;F:40;F:160;F:1;F:1",
1382 "Patch,Board,Camera trigger rates" 1383 "|FTMtimeStamp[us]:Time in microseconds, since trigger enabled or disabled" 1384 "|OnTimeCounter[us]:Effective on-time, ie. FTM triggers (eg. w/o busy)" 1385 "|TriggerCounter[int]:Counter of triggers since enabled or disabled" 1386 "|TriggerRate[Hz]:Trigger rate" 1387 "|BoardRate[Hz]:Trigger rate of individual FTUs" 1388 "|PatchRate[Hz]:Trigger rate of individual patches" 1389 "|ElapsedTime[s]:Time elapsed since previous report" 1390 "|OnTime[s]:OnTime elapsed since previous report"),
1391 fDimError (
"FTM_CONTROL/ERROR",
"X:1;S:1;S:28",
""),
1392 fDimFtuList (
"FTM_CONTROL/FTU_LIST",
"X:1;X:1;S:1;C:4;X:40;C:40;C:40",
1393 "Logs the changes of status of the FTUs" 1394 "|FTMtimeStamp[us]:Time in microseconds" 1395 "|ActiveFTU[bitpattern]:Description of enabled FTUs" 1396 "|NumBoards[int]:Total number of enabled FTUs" 1397 "|NumBoardsCrate[int]:Total number of enabled FTUs per crate" 1398 "|DNA[hexCode]:Hex code identifier of FTUs" 1399 "|Addr[bitpattern]:Crate address (hardware) of FTUs" 1400 "|Ping[int]:Number of pings until FTU response"),
1401 fDimStaticData (
"FTM_CONTROL/STATIC_DATA",
"X:1;S:1;S:1;X:1;S:1;S:3;C:4;S:1;S:1;S:1;S:1;S:1;S:1;I:1;I:8;S:90;S:160;S:40;S:40",
1402 "Configuration of FTM and FTUs" 1403 "|FTMtimeStamp[us]:Time in microseconds, since trigger enabled or disabled" 1404 "|GeneralSettings[bitpattern]:Status of the FTM settings (cf. FTM doc)" 1405 "|LEDStatus[bitpattern]:Not Used" 1406 "|ActiveFTU[bitpattern]:List of enabled FTUs" 1407 "|TriggerInterval[bitpattern]:Period of cal. and ped. events (cf. FTM doc)" 1408 "|TriggerSeq[int]:Sequence of calib. and pedestal events (LPint, LPext, Ped)" 1409 "|LPSettings[bitpattern]:Settings of LP, enabled int, ext, intensity int, ext" 1410 "|PhysTrigMult[int]:N for N out of 40 logic on FTM (Physics)" 1411 "|CalibTrigMult[int]: N for N out of 40 logic on FTM (Calib)" 1412 "|PhysTrigWindow[ns]:Coincidence window for N out of 40 (Physics)" 1413 "|CalibTrigWindow[ns]:Coincidence window for N out of 40 (Calib)" 1414 "|TrigDelay[ns]:Trigger delay applied on FTM" 1415 "|TMDelay[ns]:TM delay applied on FTM" 1416 "|DeadTime[ns]:Dead time applied after each event on the FTM" 1417 "|ClkCond[bitpattern]:Clock conditionner settings on the FTM (DRS sampling freq.)" 1418 "|PixEnabled[bitpattern]:Enabled pixels, pckd in 90 shorts (160*9bits=180bytes)" 1419 "|PatchThresh[DACcounts]:Threshold of the trigger patches" 1420 "|Multiplicity[DACcounts]:N out of 4 logic settings per FTU" 1421 "|Prescaling[500ms]:Update rate of the rate counter"),
1422 fDimDynamicData (
"FTM_CONTROL/DYNAMIC_DATA",
"X:1;X:1;F:4;I:160;I:40;S:40;S:40;S:40;S:1",
1423 "Regular reports sent by FTM" 1424 "|FTMtimeStamp[us]:Time in microseconds, since trigger enabled or disabled" 1425 "|OnTimeCounter[us]:Ontime, i.e. FTM processes triggers (e.g. No FAD busy)" 1426 "|Temperatures[Nan]:not yet defined nor used (wanna be FTM onboard temps)" 1427 "|TriggerPatchCounter[int]:counting since last update (prescaling)" 1428 "|BoardsCounter[int]:FTU board counting after N out of 4 and since last update" 1429 "|RateOverflow[bitpattern]:bits 0-4=patches overflow, 5=board overflow, 1 per board" 1430 "|Prescaling[500ms]:Update rate of the rate counter" 1431 "|CrcError[int]:Number of checksum error in RS485 communication" 1432 "|State[int]:State value of the FTM firmware (cf. FTM doc)"),
1433 fDimCounter (
"FTM_CONTROL/COUNTER",
"I:1;I:1;I:1;I:1;I:1;I:1",
1434 "Communication statistics to or from FTM control and FTM" 1435 "|NumHeaders[int]:Num. of headers (any header) received by ftm control" 1436 "|NumStaticData[int]:Num. of static data blocks (ftm and ftu settings)" 1437 "|NumDynamicData[int]:Num. of dynamic data blocks (e.g. rates)" 1438 "|NumFtuList[int]:Num. of FTU list (FTU identifiers, answer from ping)" 1439 "|NumErrors[int]:Num. of error messages" 1440 "|NumRegister[int]:Num. of answers from a single register accesess"),
DimDescribedService fDimPassport
DimDescribedService fDimTriggerRates
DimDescribedService fDimDynamicData
ConnectionFTM(ba::io_service &ioservice, MessageImp &imp)
DimDescribedService fDimError
DimDescribedService fDimCounter
DimDescribedService fDimStaticData
DimDescribedService fDimFtuList