Changeset 12450
- Timestamp:
- 11/07/11 18:38:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ftmctrl.cc
r12433 r12450 1285 1285 ConnectionDimFTM(ba::io_service& ioservice, MessageImp &imp) : 1286 1286 ConnectionFTM(ioservice, imp), 1287 fDimPassport ("FTM_CONTROL/PASSPORT", "X:1;S:1", ""), 1288 fDimTriggerRates ("FTM_CONTROL/TRIGGER_RATES", "X:2;I:1;F:1;F:40;F:160;F:1;F:1", ""), 1287 fDimPassport ("FTM_CONTROL/PASSPORT", "X:1;S:1", 1288 "Info about the FTM and FPGA version" 1289 "|Data0[int]:BoardId, hexCode" 1290 "|Data1[int]:DNA of the FTM board"), 1291 fDimTriggerRates ("FTM_CONTROL/TRIGGER_RATES", "X:1;X:1;I:1;F:1;F:40;F:160;F:1;F:1", 1292 "Patch,Board,Camera trigger rates" 1293 "|FTMtimeStamp[us]:Time in microseconds, since trigger enabled or disabled" 1294 "|OnTimeCounter[us]:Effective on-time, i.e. FTM processes triggers (e.g. No FAD busy)" 1295 "|TriggerCounter[int]:Counter of camera trigers (events) since trigger enabled or disabled" 1296 "|TriggerRate[Hz]:Trigger rate" 1297 "|BoardRate[Hz]:Trigger rate of individual FTUs" 1298 "|PatchRate[Hz]:Trigger rate of individual patches" 1299 "|ElapsedTime[sec]:Time elapsed since previous report" 1300 "|OnTime[sec]:OnTime elapsed since previous report"), 1289 1301 fDimError ("FTM_CONTROL/ERROR", "X:1;S:1;S:28", ""), 1290 fDimFtuList ("FTM_CONTROL/FTU_LIST", "X:1;X:1;S:1;C:4;X:40;C:40;C:40", ""), 1291 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", ""), 1292 fDimDynamicData ("FTM_CONTROL/DYNAMIC_DATA", "X:1;X:1;F:4;I:160;I:40;S:40;S:40;S:40;S:1", ""), 1293 fDimCounter ("FTM_CONTROL/COUNTER", "I:6", ""), 1302 fDimFtuList ("FTM_CONTROL/FTU_LIST", "X:1;X:1;S:1;C:4;X:40;C:40;C:40", 1303 "Logs the changes of status of the FTUs" 1304 "|FTMtimeStamp[us]:Time in microseconds" 1305 "|ActiveFTU[bitpattern]:Description of enabled FTUs" 1306 "|NumBoards[int]:Total number of enabled FTUs" 1307 "|NumBoardsCrate[int]:Total number of enabled FTUs per crate" 1308 "|DNA[hexCode]:Hex code identifier of FTUs" 1309 "|Addr[bitpattern]:Crate address (hardware) of FTUs" 1310 "|Ping[int]:Number of pings until FTU response"), 1311 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", 1312 "Configuration of FTM and FTUs" 1313 "|FTMtimeStamp[us]:Time in microseconds, since trigger enabled or disabled" 1314 "|GeneralSettings[bitpattern]:Status of the FTM settings (cf. FTM doc)" 1315 "|LEDStatus[bitpattern]:Not Used" 1316 "|ActiveFTU[bitpattern]:List of enabled FTUs" 1317 "|TriggerInterval[bitpattern]:Period of cal. and ped. events (cf. FTM doc)" 1318 "|TriggerSeq[int]:Sequence of calib. and pedestal events (LPint, LPext, Ped)" 1319 "|LPSettings[bitpattern]:Settings of LP, enabled int, ext, intensity int, ext" 1320 "|PhysTrigMult[int]:N for N out of 40 logic on FTM (Physics)" 1321 "|CalibTrigMult[int]: N for N out of 40 logic on FTM (Calib)" 1322 "|PhysTrigWindow[ns]:Coincidence window for N out of 40 (Physics)" 1323 "|CalibTrigWindow[ns]:Coincidence window for N out of 40 (Calib)" 1324 "|TrigDelay[ns]:Trigger delay applied on FTM" 1325 "|TMDelay[ns]:TM delay applied on FTM" 1326 "|DeadTime[ns]:Dead time applied after each event on the FTM" 1327 "|ClkCond[bitpattern]:Clock conditionner settings on the FTM (DRS sampling freq.)" 1328 "|PixEnabled[bitpattern]:Enabled pixels, pckd in 90 shorts (160*9bits=180bytes)" 1329 "|PatchThresh[DACcounts]:Threshold of the trigger patches" 1330 "|Multiplicity[DACcounts]:N out of 4 logic settings per FTU" 1331 "|Prescaling[500ms]:Update rate of the rate counter"), 1332 1333 fDimDynamicData ("FTM_CONTROL/DYNAMIC_DATA", "X:1;X:1;F:4;I:160;I:40;S:40;S:40;S:40;S:1", 1334 "Regular reports sent by FTM" 1335 "|FTMtimeStamp[us]:Time in microseconds, since trigger enabled or disabled" 1336 "|OnTimeCounter[us]:Ontime, i.e. FTM processes triggers (e.g. No FAD busy)" 1337 "|Temperatures[Nan]:not yet defined nor used (wanna be FTM onboard temps)" 1338 "|TriggerPatchCounter[int]:trigger patches counting since last update (prescaling)" 1339 "|BoardsCounter[int]:FTU board counting after N out of 4 and since last update" 1340 "|RateOverflow[bitpattern]:bits 0-4=patches overflow, 5=board overflow, 1 per board" 1341 "|Prescaling[500ms]:Update rate of the rate counter" 1342 "|CrcError[int]:Number of checksum error in RS485 communication" 1343 "|State[int]:State value of the FTM firmware (cf. FTM doc)"), 1344 fDimCounter ("FTM_CONTROL/COUNTER", "I:1;I:1;I:1;I:1;I:1;I:1", 1345 "Communication statistics to or from FTM control and FTM" 1346 "|Data0[int]:Num. of headers (any header) received by ftm control" 1347 "|Data1[int]:Num. of static data blocks (ftm and ftu settings)" 1348 "|Data2[int]:Num. of dynamic data blocks (e.g. rates)" 1349 "|Data3[int]:Num. of FTU list (FTU identifiers, answer from ping)" 1350 "|Data4[int]:Num. of error messages" 1351 "|Data5[int]:Num. of answers from a single register accesess"), 1294 1352 fTimeStamp(UINT64_MAX), 1295 1353 fTriggerCounter(UINT32_MAX)
Note:
See TracChangeset
for help on using the changeset viewer.