Advertisement
meleneemil

ctpfiles in athena

Sep 2nd, 2022
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. I do (short version):
  2. ```
  3. SG::ReadHandle<TrigConf::L1Menu> l1Menu = SG::makeHandle(L1MenuKey);
  4. smk = l1Menu->smk();
  5. TrigConf::TrigDBCTPFilesLoader db_loader(m_alias_db);
  6. db_loader.loadHardwareFiles(smk, ctpfiles,0x08);
  7. ```
  8. The last function is found here: [TrigDBCTPFilesLoader](https://gitlab.cern.ch/atlas/athena/-/blob/master/Trigger/TrigConfiguration/TrigConfIO/src/TrigDBCTPFilesLoader.cxx#L290)
  9.  
  10. and I have used it the same way in [MuctpiHostController](https://gitlab.cern.ch/atlas-l1ct/MuctpiController/-/blob/master/src/MuctpiHostController.cpp) which runs ok in P1.
  11.  
  12. I see the good printout initially:
  13. ```
  14. RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO Connecting to TRIGGERDB_RUN3
  15. RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO Opened session TRIGGERDB_RUN3 with retrialPeriod/retrialTimeout/connectionTimeout: 0/0/0
  16. RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO TriggerDB schema version: 7
  17. RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO ID of table L1_CTP_FILES : 8
  18. RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO ID of table L1_CTP_SMX : 15
  19. RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO ID of table L1_MUCTPI_FILES : 5
  20. RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO ID of table L1_TMC_SIGNALS : 17
  21. RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO Loading data from table L1_MUCTPI_FILES
  22.  
  23. ```
  24. (last line is from the TrigDBCTPFilesLoader function)
  25.  
  26. And later it seems to have failed to connect:
  27.  
  28. ```
  29. RAWtoALL 14:30:21 TrigDBCTPFilesLoader 0 0 ERROR When reading the L1CTPFiles a coral::QueryException was caught ( Can not get data (Additional Information: [frontier.c:1170]: No more servers/proxies. Last error was: Request 88 on chan 87 failed at Fri Sep 2 14:30:21 2022: -9 [fn-socket.c:147]: connect to [2001:660:5009:304:134:158:234:39]:23128 timed out after 5 seconds) ( CORAL : "coral::FrontierAccess::Statement::execute" from "CORAL/RelationalPlugins/frontier" ) )
  30. ```
  31. ```
  32. RAWtoALL 14:30:21 ToolSvc.MuCTPIByteStreamTool 0 0 ERROR MUCTPI DQ DEBUG: CTPFILES loadHardwareFiles exception: TrigDBCTPFilesLoader: Can not get data (Additional Information: [frontier.c:1170]: No more servers/proxies. Last error was: Request 88 on chan 87 failed at Fri Sep 2 14:30:21 2022: -9 [fn-socket.c:147]: connect to [2001:660:5009:304:134:158:234:39]:23128 timed out after 5 seconds) ( CORAL : "coral::FrontierAccess::Statement::execute" from "CORAL/RelationalPlugins/frontier" )
  33. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement