Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I do (short version):
- ```
- SG::ReadHandle<TrigConf::L1Menu> l1Menu = SG::makeHandle(L1MenuKey);
- smk = l1Menu->smk();
- TrigConf::TrigDBCTPFilesLoader db_loader(m_alias_db);
- db_loader.loadHardwareFiles(smk, ctpfiles,0x08);
- ```
- The last function is found here: [TrigDBCTPFilesLoader](https://gitlab.cern.ch/atlas/athena/-/blob/master/Trigger/TrigConfiguration/TrigConfIO/src/TrigDBCTPFilesLoader.cxx#L290)
- 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.
- I see the good printout initially:
- ```
- RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO Connecting to TRIGGERDB_RUN3
- RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO Opened session TRIGGERDB_RUN3 with retrialPeriod/retrialTimeout/connectionTimeout: 0/0/0
- RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO TriggerDB schema version: 7
- RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO ID of table L1_CTP_FILES : 8
- RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO ID of table L1_CTP_SMX : 15
- RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO ID of table L1_MUCTPI_FILES : 5
- RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO ID of table L1_TMC_SIGNALS : 17
- RAWtoALL 14:28:23 TrigDBCTPFilesLoader 0 0 INFO Loading data from table L1_MUCTPI_FILES
- ```
- (last line is from the TrigDBCTPFilesLoader function)
- And later it seems to have failed to connect:
- ```
- 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" ) )
- ```
- ```
- 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" )
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement