View
0
Download
0
Category
Preview:
Citation preview
Data Dictionary of BESIII DAQ database
Mary ChenDAQ Group
2008.10.23
Data Dictionary of BESIII DAQ database V2.0(2008-
10-23 English)
Data Dictionary of BESIII DAQ database V2.0(2008-10-23 English)........................................21. Introduction.......................................................................................................................92. database: Calibration.......................................................................................................10
2.1. table: EMC_Gain............................................................................................102.2. table: EMC_XXX_Crate_YY.........................................................................102.3. table: MDC_X_Crate_YY (X:Q/T,YY:32-39,48-55)..........................152.4. table: TOF_Q_Crate_XX (XX:64、65).......................................................18
3. database: PED.................................................................................................................213.1. table: EMC_Crate_xx (xx:96-103,114-119)..............................................213.2. table: MDC_Crate_xx (xx:32-39, 48-55)........................................................24
4. database: RunInfo...........................................................................................................284.1. table: Calib_PED.............................................................................................284.2. table: OnlineLum............................................................................................284.3. table: RunParams............................................................................................294.4. table: StorageInfo............................................................................................30
5. database: TrgTable..........................................................................................................315.1. table: Tmp_TrgTable......................................................................................315.2. table: TrgTable................................................................................................335.3. table: TrgType.................................................................................................365.4. table: users......................................................................................................36
6. database: configdb..........................................................................................................376.1. table: Application............................................................................................386.2. table: Attributes...............................................................................................396.3. table: Binary....................................................................................................406.4. table: BinaryFile..............................................................................................416.5. table: CircDataOut..........................................................................................41
2
6.6. table: Classes...................................................................................................426.7. table: Component............................................................................................426.8. table: Computer...............................................................................................426.9. table: ComputerParameters.............................................................................436.10. table: ComputerProgram.................................................................................436.11. table: ConfInfo................................................................................................446.12. table: Crate......................................................................................................446.13. table: DCApplicationConfig...........................................................................466.14. table: DCMulticastGroup................................................................................476.15. table: DC_ISResourceUpdate.........................................................................486.16. table: DFApplication.......................................................................................486.17. table: DFApplicationConfig............................................................................506.18. table: DFMApplication...................................................................................506.19. table: DFMConfiguration................................................................................526.20. table: DFMessagePassingNode.......................................................................546.21. table: DFParameters........................................................................................546.22. table: Data.......................................................................................................556.23. table: DataDrivenTriggerIn.............................................................................556.24. table: DataFile.................................................................................................566.25. table: DataFlowParameters.............................................................................566.26. table: DcDataOut.............................................................................................566.27. table: DcTriggerIn...........................................................................................566.28. table: Detector.................................................................................................576.29. table: DummyReadoutModule........................................................................576.30. table: EFD_Application..................................................................................586.31. table: EFD_Barrier..........................................................................................606.32. table: EFD_Configuration...............................................................................606.33. table: EFD_EndTask.......................................................................................616.34. table: EFD_ExtPTsTask..................................................................................616.35. table: EFD_InputTask.....................................................................................626.36. table: EFD_LogFilter......................................................................................626.37. table: EFD_LogLevel......................................................................................636.38. table: EFD_OutputTask..................................................................................636.39. table: EFD_QueueTask...................................................................................636.40. table: EFD_SharedHeap..................................................................................646.41. table: EFD_Task.............................................................................................646.42. table: EFIOConfiguration................................................................................656.43. table: EFO.......................................................................................................656.44. table: EF_SubFarm.........................................................................................656.45. table: EMCCalibration....................................................................................666.46. table: EMCChooseRange................................................................................676.47. table: EMCMonitor.........................................................................................686.48. table: EMCPed................................................................................................696.49. table: EMCSubSystem....................................................................................69
3
6.50. table: EQM......................................................................................................706.51. table: ETC.......................................................................................................756.52. table: EmulatedDataOut..................................................................................756.53. table:EmulatedHardwareTriggerIn..................................................................766.54. table: EmulatedReadoutModule......................................................................766.55. table: EmulatedSequentialReadoutModule.....................................................776.56. table: EmulatedSingleFragmentReadoutModule.............................................776.57. table: EmulatedTriggerIn................................................................................786.58. table: EthSequentialReadoutModule...............................................................786.59. table: EventCastorStorage...............................................................................786.60. table: EventStorage.........................................................................................796.61. table: FCTL.....................................................................................................796.62. table: FEMApplication....................................................................................806.63. table: FEMConfiguration................................................................................826.64. table: FilarReadoutModule..............................................................................826.65. table: FpgaProgram.........................................................................................836.66. table: GATHERERApplication.......................................................................846.67. table: GATHERERConfiguration...................................................................856.68. table: HW_Object...........................................................................................866.69. table: HW_System..........................................................................................866.70. table: HardwareTriggerIn................................................................................866.71. table: IOManager............................................................................................876.72. table: InputChannel.........................................................................................886.73. table: Interface.................................................................................................886.74. table: InterfaceMap.........................................................................................896.75. table: JarFile....................................................................................................896.76. table: L2DummySteering................................................................................906.77. table:L2DummyStep.......................................................................................906.78. table: L2PUApplication..................................................................................906.79. table: L2PUConfiguration...............................................................................926.80. table: L2SVApplication..................................................................................936.81. table: L2SVConfiguration...............................................................................956.82. table: Layers....................................................................................................966.83. table: LinkInterface.........................................................................................966.84. table: MCC......................................................................................................976.85. table: MDCCalibration....................................................................................976.86. table: MDCChooseRange................................................................................986.87. table: MDCPed................................................................................................986.88. table: MDCSubSystem....................................................................................996.89. table: MDC_Inner...........................................................................................996.90. table: MDC_Outer.........................................................................................1006.91. table: MDC_Step...........................................................................................1006.92. table: MQT....................................................................................................1016.93. table: MROC.................................................................................................103
4
6.94. table: MTI.....................................................................................................1036.95. table: MUONROC........................................................................................1036.96. table: MUONROMO.....................................................................................1046.97. table: MUONSubSystem...............................................................................1046.98. table: MemoryPool........................................................................................1056.99. table: MessageLossEmulation.......................................................................1066.100. table: Methods...............................................................................................1066.101. table: Module................................................................................................1066.102. table: MonObjectGroupConf.........................................................................1086.103. table: MonitoringApplication........................................................................1096.104. table: MySQLConfiguration..........................................................................1116.105. table: Network...............................................................................................1116.106. table: NetworkInterface.................................................................................1116.107. table: NonPhysicsParams..............................................................................1126.108. table: NullTriggerIn.......................................................................................1126.109. table: OHCApplication..................................................................................1136.110. table: OHCConfiguration..............................................................................1156.111. table: OHCHistogram....................................................................................1156.112. table: OHCMethod........................................................................................1156.113. table: OHFCell..............................................................................................1166.114. table: OHFCellSet.........................................................................................1166.115. table: OHFConfiguration...............................................................................1166.116. table: OHFEFViarable...................................................................................1176.117. table: OHFFillingConfiguration....................................................................1176.118. table: OHFFillingRange................................................................................1186.119. table: OHFHistogram....................................................................................1186.120. table: OHFHistogramAxes............................................................................1196.121. table: OHFHistogramInfo.............................................................................1196.122. table: OHFLayer............................................................................................1196.123. table: OHFLayerSet......................................................................................1206.124. table: OHFMUCLayerSet.............................................................................1206.125. table: OHFPublishConf.................................................................................1206.126. table: OHGApplication.................................................................................1216.127. table: OHGConfiguration..............................................................................1236.128. table: OHGHistogram...................................................................................1236.129. table: OHGProviders.....................................................................................1236.130. table: OHSApplication..................................................................................1246.131. table: OHSConfiguration..............................................................................1256.132. table: OnlineSegment....................................................................................1266.133. table: PPCApplication...................................................................................1276.134. table: PPCConfiguration...............................................................................1296.135. table: PPCModule.........................................................................................1296.136. table: PTApplication.....................................................................................1296.137. table: PTConfiguration..................................................................................131
5
6.138. table: Parameter.............................................................................................1326.139. table: Partition...............................................................................................1326.140. table: Platform...............................................................................................1336.141. table: PreloadedReadoutModule...................................................................1346.142. table: PseudoROSModule.............................................................................1346.143. table: PtDummySteering...............................................................................1346.144. table: RCD....................................................................................................1356.145. table: RM_Computer_Resource....................................................................1376.146. table: RM_HW_Resource.............................................................................1386.147. table: RM_Resource......................................................................................1386.148. table: RM_SW_Resource..............................................................................1396.149. table: ROS.....................................................................................................1396.150. table: ROSApplication..................................................................................1426.151. table: ROSE..................................................................................................1446.152. table: ROSEConfiguration............................................................................1476.153. table: Rack....................................................................................................1476.154. table: ReadoutApplication.............................................................................1476.155. table: ReadoutModule...................................................................................1486.156. table: ReadoutOutput....................................................................................1486.157. table: ReadoutTrigger....................................................................................1486.158. table: Relationships.......................................................................................1496.159. table: Resource..............................................................................................1496.160. table: RoIBApplication.................................................................................1496.161. table: RoIBConfiguration..............................................................................1516.162. table: RobinDataChannel..............................................................................1526.163. table: RobinExpertParameter........................................................................1536.164. table: RobinReadoutModule.........................................................................1536.165. table: RootStorage.........................................................................................1556.166. table: RunControlApplication.......................................................................1556.167. table: SFIApplication....................................................................................1576.168. table: SFIConfiguration.................................................................................1596.169. table: SFOApplication...................................................................................1606.170. table: SFOConfiguration...............................................................................1626.171. table: Slink....................................................................................................1636.172. table: SLinkDataOut.....................................................................................1636.173. table: SLinkEthernet.....................................................................................1646.174. table: SLinkFILAR.......................................................................................1646.175. table: SLinkSSPCI........................................................................................1646.176. table: SSPCIReadoutModule.........................................................................1656.177. table: SW_Object..........................................................................................1656.178. table: SW_Repository...................................................................................1666.179. table: Schemes...............................................................................................1676.180. table: Script...................................................................................................1676.181. table: Segment...............................................................................................168
6
6.182. table: SpecificPackagesError.........................................................................1686.183. table: TCLK..................................................................................................1696.184. table: TCPDataOut........................................................................................1696.185. table: TCPTriggerIn......................................................................................1706.186. table: TCPTriggerReadoutModule................................................................1716.187. table: TFEE...................................................................................................1716.188. table: TMON.................................................................................................1726.189. table: TOFCalibration...................................................................................1746.190. table: TOFChooseRange...............................................................................1756.191. table: TOFMonitor........................................................................................1756.192. table: TOFPed...............................................................................................1756.193. table: TOFSubSystem...................................................................................1766.194. table: TROC..................................................................................................1776.195. table: Tag......................................................................................................1776.196. table: Test......................................................................................................1786.197. table: Test4Class...........................................................................................1796.198. table: Test4Object.........................................................................................1806.199. table: TrgTable..............................................................................................1816.200. table: Trg_CLKF...........................................................................................1846.201. table: Trg_EACC..........................................................................................1846.202. table: Trg_EACC_Debug..............................................................................1866.203. table: Trg_FCTL...........................................................................................1876.204. table: Trg_GTL.............................................................................................1886.205. table: Trg_LTKC...........................................................................................1926.206. table: Trg_MUDT.........................................................................................1926.207. table: Trg_MUTL..........................................................................................1936.208. table: Trg_SAF..............................................................................................1946.209. table: Trg_STKC...........................................................................................1966.210. table: Trg_TCBA..........................................................................................1966.211. table: Trg_TDC.............................................................................................1976.212. table: Trg_TFCF...........................................................................................1996.213. table: Trg_TKF.............................................................................................1996.214. table: Trg_TKFGeneral.................................................................................2006.215. table: Trg_TOFT...........................................................................................2016.216. table: Trg_TROC..........................................................................................2026.217. table: Users....................................................................................................2036.218. table: Variable...............................................................................................2036.219. table: VariableSet..........................................................................................2036.220. table: ptioEfd.................................................................................................2046.221. table: ptioFile................................................................................................2046.222. table: ptioMon...............................................................................................204
7. database: hwconfig........................................................................................................2067.1. table: Bcode..................................................................................................2067.2. table: Ecode...................................................................................................206
7
7.3. table: MainAmpToQ.....................................................................................2077.4. table: TFEEConfig........................................................................................2077.5. table: Wcode.................................................................................................2087.6. table: mdcinfo...............................................................................................208
8. database: part_trg1234pt (information of dataflow)....................................................2108.1. table: DFM_1................................................................................................2118.2. table: L2SV_1...............................................................................................2128.3. table: OnlineLum..........................................................................................2128.4. table: ROS_ROS_n.......................................................................................2148.5. table: ROS_ROS_n_Expert_Core.................................................................2158.6. table: ROS_ROS_n_Expert_DataChannels...................................................2168.7. table: ROS_ROS_n_Expert_DataOut...........................................................2168.8. table: ROS_ROS_n_Expert_InterruptCatcher...............................................2168.9. table: ROS_ROS_n_Expert_ReadoutModule...............................................2168.10. table: ROS_ROS_n_Expert_SequentialInputHandler...................................2178.11. table: ROS_ROS_n_Expert_TriggerIn..........................................................2178.12. table: ROS_ROS_n_Expert_UserActionScheduler.......................................2178.13. table: SFI_n...................................................................................................2188.14. table: SFO_n.................................................................................................219
8
1. Introduction
The information of BESIII DAQ database include ‘Calibration’, ‘PED’, ‘RunInfo’, ‘TrgTable’, ‘configdb’, ‘hwconfig’ and ‘part_trg1234pt’. Database ‘Calibration’ stores the calibration information of MDC, EMC and TOF system and the information of EMC Gain. Database ‘PED’ stores the pedestal information of MDC and EMC system. Database ‘RunInfo’ stores the base information of run, including the information of data file stored in local of DAQ or castor. Database ‘TrgTable’ is used by trigger group to set trigger table on web. Database ‘configdb’ stores the information of DAQ configuration, including hardware configuration of every detector, electronics and trigger subsystem. Database ‘hwconfig’ stores the corresponding relationships between layer number, thread number of detector and crate, module, channel no of electronics, and the code of crate, module, channel in DAQ configuration. Database ‘part_trg1234pt’ is the dataflow information of DAQ system. The detail information will be list below.
9
2. database: Calibration
2.1. table: EMC_Gain
Field Type Descriptions
id int(11) Auto increment, primary key
run_id int(11) Run number of data acquisition for EMC Gain
mode_id varchar(10) analysis mode of EMC Gain data
time datetime time
ppc_id varchar(10) Id of PowerPC
Qmodule_no tinyint(11) Number of EMC Q module
Qchannel_no tinyint(11) Channel number of EMC Q module
Acrate_no tinyint(4) MainAmp crate number
Amodule_no tinyint(4) Number of MainAmp module
10
Achannel_no tinyint(4) Channel number of MainAmp module
Aaddress tinyint(4) Address of MainAmp module
gain int(11) Gain value
2.2. table: EMC_XXX_Crate_YY
(XXX:HIGH/MID/LOW,YY:96-103,112-119)Field Type Descriptions
id int(11) Auto increment, primary key
run_number int(11) Run number
time datetime Time
module_no int(11) Module number
a2_channel_1 float The second item of calibration parameter of channel 1
a1_channel_1 float The first item of calibration parameter of channel 1
a0_channel_1 float The constant of calibration parameter of channel 1
rms_channel_1 float The rms value of channel 1
a2_channel_2 float The second item of calibration parameter of channel 2
a1_channel_2 float The first item of calibration parameter of channel 2
a0_channel_2 float The constant of calibration parameter of channel 2
rms_channel_2 float The rms value of channel 2
a2_channel_3 float The second item of calibration parameter of channel 3
a1_channel_3 float The first item of calibration parameter of channel 3
a0_channel_3 float The constant of calibration parameter of channel 3
rms_channel_3 float The rms value of channel 3
a2_channel_4 float The second item of calibration parameter of channel 4
a1_channel_4 float The first item of calibration parameter of channel 4
a0_channel_4 float The constant of calibration parameter of channel 4
rms_channel_4 float The rms value of channel 4
a2_channel_5 float The second item of calibration parameter of channel 5
a1_channel_5 float The first item of calibration parameter of channel 5
a0_channel_5 float The constant of calibration parameter of channel 5
rms_channel_5 float The rms value of channel 5
a2_channel_6 float The second item of calibration parameter of channel 6
11
a1_channel_6 float The first item of calibration parameter of channel 6
a0_channel_6 float The constant of calibration parameter of channel 6
rms_channel_6 float The rms value of channel 6
a2_channel_7 float The second item of calibration parameter of channel 7
a1_channel_7 float The first item of calibration parameter of channel 7
a0_channel_7 float The constant of calibration parameter of channel 7
rms_channel_7 float The rms value of channel 7
a2_channel_8 float The second item of calibration parameter of channel 8
a1_channel_8 float The first item of calibration parameter of channel 8
a0_channel_8 float The constant of calibration parameter of channel 8
rms_channel_8 float The rms value of channel 8
a2_channel_9 float The second item of calibration parameter of channel 9
a1_channel_9 float The first item of calibration parameter of channel 9
a0_channel_9 float The constant of calibration parameter of channel 9
rms_channel_9 float The rms value of channel 9
a2_channel_10 float The second item of calibration parameter of channel 10
a1_channel_10 float The first item of calibration parameter of channel 10
a0_channel_10 float The constant of calibration parameter of channel 10
rms_channel_10 float The rms value of channel 10
a2_channel_11 float The second item of calibration parameter of channel 11
a1_channel_11 float The first item of calibration parameter of channel 11
a0_channel_11 float The constant of calibration parameter of channel 11
rms_channel_11 float The rms value of channel 11
a2_channel_12 float The second item of calibration parameter of channel 12
a1_channel_12 float The first item of calibration parameter of channel 12
a0_channel_12 float The constant of calibration parameter of channel 12
rms_channel_12 float The rms value of channel 12
a2_channel_13 float The second item of calibration parameter of channel 13
a1_channel_13 float The first item of calibration parameter of channel 13
a0_channel_13 float The constant of calibration parameter of channel 13
rms_channel_13 float The rms value of channel 13
a2_channel_14 float The second item of calibration parameter of channel 14
a1_channel_14 float The first item of calibration parameter of channel 14
12
a0_channel_14 float The constant of calibration parameter of channel 14
rms_channel_14 float The rms value of channel 14
a2_channel_15 float The second item of calibration parameter of channel 15
a1_channel_15 float The first item of calibration parameter of channel 15
a0_channel_15 float The constant of calibration parameter of channel 15
rms_channel_15 float The rms value of channel 15
a2_channel_16 float The second item of calibration parameter of channel 16
a1_channel_16 float The first item of calibration parameter of channel 16
a0_channel_16 float The constant of calibration parameter of channel 16
rms_channel_16 float The rms value of channel 16
a2_channel_17 float The second item of calibration parameter of channel 17
a1_channel_17 float The first item of calibration parameter of channel 17
a0_channel_17 float The constant of calibration parameter of channel 17
rms_channel_17 float The rms value of channel 17
a2_channel_18 float The second item of calibration parameter of channel 18
a1_channel_18 float The first item of calibration parameter of channel 18
a0_channel_18 float The constant of calibration parameter of channel 18
rms_channel_18 float The rms value of channel 18
a2_channel_19 float The second item of calibration parameter of channel 19
a1_channel_19 float The first item of calibration parameter of channel 19
a0_channel_19 float The constant of calibration parameter of channel 19
rms_channel_19 float The rms value of channel 19
a2_channel_20 float The second item of calibration parameter of channel 20
a1_channel_20 float The first item of calibration parameter of channel 20
a0_channel_20 float The constant of calibration parameter of channel 20
rms_channel_20 float The rms value of channel 20
a2_channel_21 float The second item of calibration parameter of channel 21
a1_channel_21 float The first item of calibration parameter of channel 21
a0_channel_21 float The constant of calibration parameter of channel 21
rms_channel_21 float The rms value of channel 21
a2_channel_22 float The second item of calibration parameter of channel 22
a1_channel_22 float The first item of calibration parameter of channel 22
a0_channel_22 float The constant of calibration parameter of channel 22
13
rms_channel_22 float The rms value of channel 22
a2_channel_23 float The second item of calibration parameter of channel 23
a1_channel_23 float The first item of calibration parameter of channel 23
a0_channel_23 float The constant of calibration parameter of channel 23
rms_channel_23 float The rms value of channel 23
a2_channel_24 float The second item of calibration parameter of channel 24
a1_channel_24 float The first item of calibration parameter of channel 24
a0_channel_24 float The constant of calibration parameter of channel 24
rms_channel_24 float The rms value of channel 24
a2_channel_25 float The second item of calibration parameter of channel 25
a1_channel_25 float The first item of calibration parameter of channel 25
a0_channel_25 float The constant of calibration parameter of channel 25
rms_channel_25 float The rms value of channel 25
a2_channel_26 float The second item of calibration parameter of channel 26
a1_channel_26 float The first item of calibration parameter of channel 26
a0_channel_26 float The constant of calibration parameter of channel 26
rms_channel_26 float The rms value of channel 26
a2_channel_27 float The second item of calibration parameter of channel 27
a1_channel_27 float The first item of calibration parameter of channel 27
a0_channel_27 float The constant of calibration parameter of channel 27
rms_channel_27 float The rms value of channel 27
a2_channel_28 float The second item of calibration parameter of channel 28
a1_channel_28 float The first item of calibration parameter of channel 28
a0_channel_28 float The constant of calibration parameter of channel 28
rms_channel_28 float The rms value of channel 28
a2_channel_29 float The second item of calibration parameter of channel 29
a1_channel_29 float The first item of calibration parameter of channel 29
a0_channel_29 float The constant of calibration parameter of channel 29
rms_channel_29 float The rms value of channel 29
a2_channel_30 float The second item of calibration parameter of channel 30
a1_channel_30 float The first item of calibration parameter of channel 30
a0_channel_30 float The constant of calibration parameter of channel 30
rms_channel_30 float The rms value of channel 30
14
a2_channel_31 float The second item of calibration parameter of channel 31
a1_channel_31 float The first item of calibration parameter of channel 31
a0_channel_31 float The constant of calibration parameter of channel 31
rms_channel_31 float The rms value of channel 31
a2_channel_32 float The second item of calibration parameter of channel 32
a1_channel_32 float The first item of calibration parameter of channel 32
a0_channel_32 float The constant of calibration parameter of channel 32
rms_channel_32 float The rms value of channel 32
2.3. table: MDC_X_Crate_YY (X:Q/T,YY:32-39,48-55)
Field Type Descriptions
id int(11) Auto increment, primary key
run_number int(11) Run number
time datetime Time
module_no int(11) Module number
a1_channel_1 float The first item of calibration parameter of channel 1
a0_channel_1 float The constant of calibration parameter of channel 1
rms_channel_1 float The rms value of channel 1
a1_channel_2 float The first item of calibration parameter of channel 2
a0_channel_2 float The constant of calibration parameter of channel 2
rms_channel_2 float The rms value of channel 2
a1_channel_3 float The first item of calibration parameter of channel 3
a0_channel_3 float The constant of calibration parameter of channel 3
rms_channel_3 float The rms value of channel 3
a1_channel_4 float The first item of calibration parameter of channel 4
a0_channel_4 float The constant of calibration parameter of channel 4
rms_channel_4 float The rms value of channel 4
a1_channel_5 float The first item of calibration parameter of channel 5
a0_channel_5 float The constant of calibration parameter of channel 5
rms_channel_5 float The rms value of channel 5
a1_channel_6 float The first item of calibration parameter of channel 6
15
a0_channel_6 float The constant of calibration parameter of channel 6
rms_channel_6 float The rms value of channel 6
a1_channel_7 float The first item of calibration parameter of channel 7
a0_channel_7 float The constant of calibration parameter of channel 7
rms_channel_7 float The rms value of channel 7
a1_channel_8 float The first item of calibration parameter of channel 8
a0_channel_8 float The constant of calibration parameter of channel 8
rms_channel_8 float The rms value of channel 8
a1_channel_9 float The first item of calibration parameter of channel 9
a0_channel_9 float The constant of calibration parameter of channel 9
rms_channel_9 float The rms value of channel 9
a1_channel_10 float The first item of calibration parameter of channel 10
a0_channel_10 float The constant of calibration parameter of channel 10
rms_channel_10 float The rms value of channel 10
a1_channel_11 float The first item of calibration parameter of channel 11
a0_channel_11 float The constant of calibration parameter of channel 11
rms_channel_11 float The rms value of channel 11
a1_channel_12 float The first item of calibration parameter of channel 12
a0_channel_12 float The constant of calibration parameter of channel 12
rms_channel_12 float The rms value of channel 12
a1_channel_13 float The first item of calibration parameter of channel 13
a0_channel_13 float The constant of calibration parameter of channel 13
rms_channel_13 float The rms value of channel 13
a1_channel_14 float The first item of calibration parameter of channel 14
a0_channel_14 float The constant of calibration parameter of channel 14
rms_channel_14 float The rms value of channel 14
a1_channel_15 float The first item of calibration parameter of channel 15
a0_channel_15 float The constant of calibration parameter of channel 15
rms_channel_15 float The rms value of channel 15
a1_channel_16 float The first item of calibration parameter of channel 16
a0_channel_16 float The constant of calibration parameter of channel 16
rms_channel_16 float The rms value of channel 16
a1_channel_17 float The first item of calibration parameter of channel 17
16
a0_channel_17 float The constant of calibration parameter of channel 17
rms_channel_17 float The rms value of channel 17
a1_channel_18 float The first item of calibration parameter of channel 18
a0_channel_18 float The constant of calibration parameter of channel 18
rms_channel_18 float The rms value of channel 18
a1_channel_19 float The first item of calibration parameter of channel 19
a0_channel_19 float The constant of calibration parameter of channel 19
rms_channel_19 float The rms value of channel 19
a1_channel_20 float The first item of calibration parameter of channel 20
a0_channel_20 float The constant of calibration parameter of channel 20
rms_channel_20 float The rms value of channel 20
a1_channel_21 float The first item of calibration parameter of channel 21
a0_channel_21 float The constant of calibration parameter of channel 21
rms_channel_21 float The rms value of channel 21
a1_channel_22 float The first item of calibration parameter of channel 22
a0_channel_22 float The constant of calibration parameter of channel 22
rms_channel_22 float The rms value of channel 22
a1_channel_23 float The first item of calibration parameter of channel 23
a0_channel_23 float The constant of calibration parameter of channel 23
rms_channel_23 float The rms value of channel 23
a1_channel_24 float The first item of calibration parameter of channel 24
a0_channel_24 float The constant of calibration parameter of channel 24
rms_channel_24 float The rms value of channel 24
a1_channel_25 float The first item of calibration parameter of channel 25
a0_channel_25 float The constant of calibration parameter of channel 25
rms_channel_25 float The rms value of channel 25
a1_channel_26 float The first item of calibration parameter of channel 26
a0_channel_26 float The constant of calibration parameter of channel 26
rms_channel_26 float The rms value of channel 26
a1_channel_27 float The first item of calibration parameter of channel 27
a0_channel_27 float The constant of calibration parameter of channel 27
rms_channel_27 float The rms value of channel 27
a1_channel_28 float The first item of calibration parameter of channel 28
17
a0_channel_28 float The constant of calibration parameter of channel 28
rms_channel_28 float The rms value of channel 28
a1_channel_29 float The first item of calibration parameter of channel 29
a0_channel_29 float The constant of calibration parameter of channel 29
rms_channel_29 float The rms value of channel 29
a1_channel_30 float The first item of calibration parameter of channel 30
a0_channel_30 float The constant of calibration parameter of channel 30
rms_channel_30 float The rms value of channel 30
a1_channel_31 float The first item of calibration parameter of channel 31
a0_channel_31 float The constant of calibration parameter of channel 31
rms_channel_31 float The rms value of channel 31
a1_channel_32 float The first item of calibration parameter of channel 32
a0_channel_32 float The constant of calibration parameter of channel 32
rms_channel_32 float The rms value of channel 32
2.4. table: TOF_Q_Crate_XX (XX:64、65)
Field Type Descriptions
id int(11) Auto increment, primary key
run_number int(11) Run number
time datetime Time
module_no int(11) Module number
a2_channel_1 float The second item of calibration parameter of channel 1
a1_channel_1 float The first item of calibration parameter of channel 1
a0_channel_1 float The constant of calibration parameter of channel 1
rms_channel_1 float The rms value of channel 1
a2_channel_2 float The second item of calibration parameter of channel 2
a1_channel_2 float The first item of calibration parameter of channel 2
a0_channel_2 float The constant of calibration parameter of channel 2
rms_channel_2 float The rms value of channel 2
a2_channel_3 float The second item of calibration parameter of channel 3
a1_channel_3 float The first item of calibration parameter of channel 3
18
a0_channel_3 float The constant of calibration parameter of channel 3
rms_channel_3 float The rms value of channel 3
a2_channel_4 float The second item of calibration parameter of channel 4
a1_channel_4 float The first item of calibration parameter of channel 4
a0_channel_4 float The constant of calibration parameter of channel 4
rms_channel_4 float The rms value of channel 4
a2_channel_5 float The second item of calibration parameter of channel 5
a1_channel_5 float The first item of calibration parameter of channel 5
a0_channel_5 float The constant of calibration parameter of channel 5
rms_channel_5 float The rms value of channel 5
a2_channel_6 float The second item of calibration parameter of channel 6
a1_channel_6 float The first item of calibration parameter of channel 6
a0_channel_6 float The constant of calibration parameter of channel 6
rms_channel_6 float The rms value of channel 6
a2_channel_7 float The second item of calibration parameter of channel 7
a1_channel_7 float The first item of calibration parameter of channel 7
a0_channel_7 float The constant of calibration parameter of channel 7
rms_channel_7 float The rms value of channel 7
a2_channel_8 float The second item of calibration parameter of channel 8
a1_channel_8 float The first item of calibration parameter of channel 8
a0_channel_8 float The constant of calibration parameter of channel 8
rms_channel_8 float The rms value of channel 8
a2_channel_9 float The second item of calibration parameter of channel 9
a1_channel_9 float The first item of calibration parameter of channel 9
a0_channel_9 float The constant of calibration parameter of channel 9
rms_channel_9 float The rms value of channel 9
a2_channel_10 float The second item of calibration parameter of channel 10
a1_channel_10 float The first item of calibration parameter of channel 10
a0_channel_10 float The constant of calibration parameter of channel 10
rms_channel_10 float The rms value of channel 10
a2_channel_11 float The second item of calibration parameter of channel 11
a1_channel_11 float The first item of calibration parameter of channel 11
a0_channel_11 float The constant of calibration parameter of channel 11
19
rms_channel_11 float The rms value of channel 11
a2_channel_12 float The second item of calibration parameter of channel 12
a1_channel_12 float The first item of calibration parameter of channel 12
a0_channel_12 float The constant of calibration parameter of channel 12
rms_channel_12 float The rms value of channel 12
a2_channel_13 float The second item of calibration parameter of channel 13
a1_channel_13 float The first item of calibration parameter of channel 13
a0_channel_13 float The constant of calibration parameter of channel 13
rms_channel_13 float The rms value of channel 13
a2_channel_14 float The second item of calibration parameter of channel 14
a1_channel_14 float The first item of calibration parameter of channel 14
a0_channel_14 float The constant of calibration parameter of channel 14
rms_channel_14 float The rms value of channel 14
a2_channel_15 float The second item of calibration parameter of channel 15
a1_channel_15 float The first item of calibration parameter of channel 15
a0_channel_15 float The constant of calibration parameter of channel 15
rms_channel_15 float The rms value of channel 15
a2_channel_16 float The second item of calibration parameter of channel 16
a1_channel_16 float The first item of calibration parameter of channel 16
a0_channel_16 float The constant of calibration parameter of channel 16
rms_channel_16 float The rms value of channel 16
20
3. database: PED
3.1. table: EMC_Crate_xx (xx:96-103,114-119)
Field Type Descriptions
id int(11) Auto increment, primary key
run_number int(11) Run number
time datetime Time
module_no int(11) Module number
average_value_1 float Average value of channel 1
sigma_value_1 float Sigma value of channel 1
effective_rate_1 int(11) Effective rate of channel 1
average_value_2 float Average value of channel 2
sigma_value_2 float Sigma value of channel 2
effective_rate_2 int(11) Effective rate of channel 2
average_value_3 float Average value of channel 3
sigma_value_3 float Sigma value of channel 3
effective_rate_3 int(11) Effective rate of channel 3
average_value_4 float Average value of channel 4
sigma_value_4 float Sigma value of channel 4
effective_rate_4 int(11) Effective rate of channel 4
average_value_5 float Average value of channel 5
sigma_value_5 float Sigma value of channel 5
effective_rate_5 int(11) Effective rate of channel 5
average_value_6 float Average value of channel 6
sigma_value_6 float Sigma value of channel 6
effective_rate_6 int(11) Effective rate of channel 6
average_value_7 float Average value of channel 7
sigma_value_7 float Sigma value of channel 7
effective_rate_7 int(11) Effective rate of channel 7
average_value_8 float Average value of channel 8
sigma_value_8 float Sigma value of channel 8
21
effective_rate_8 int(11) Effective rate of channel 8
average_value_9 float Average value of channel 9
sigma_value_9 float Sigma value of channel 9
effective_rate_9 int(11) Effective rate of channel 9
average_value_10 float Average value of channel 10
sigma_value_10 float Sigma value of channel 10
effective_rate_10 int(11) Effective rate of channel 10
average_value_11 float Average value of channel 11
sigma_value_11 float Sigma value of channel 11
effective_rate_11 int(11) Effective rate of channel 11
average_value_12 float Average value of channel 12
sigma_value_12 float Sigma value of channel 12
effective_rate_12 int(11) Effective rate of channel 12
average_value_13 float Average value of channel 13
sigma_value_13 float Sigma value of channel 13
effective_rate_13 int(11) Effective rate of channel 13
average_value_14 float Average value of channel 14
sigma_value_14 float Sigma value of channel 14
effective_rate_14 int(11) Effective rate of channel 14
average_value_15 float Average value of channel 15
sigma_value_15 float Sigma value of channel 15
effective_rate_15 int(11) Effective rate of channel 15
average_value_16 float Average value of channel 16
sigma_value_16 float Sigma value of channel 16
effective_rate_16 int(11) Effective rate of channel 16
average_value_17 float Average value of channel 17
sigma_value_17 float Sigma value of channel 17
effective_rate_17 int(11) Effective rate of channel 17
average_value_18 float Average value of channel 18
sigma_value_18 float Sigma value of channel 18
effective_rate_18 int(11) Effective rate of channel 18
average_value_19 float Average value of channel 19
22
sigma_value_19 float Sigma value of channel 19
effective_rate_19 int(11) Effective rate of channel 19
average_value_20 float Average value of channel 20
sigma_value_20 float Sigma value of channel 20
effective_rate_20 int(11) Effective rate of channel 20
average_value_21 float Average value of channel 21
sigma_value_21 float Sigma value of channel 21
effective_rate_21 int(11) Effective rate of channel 21
average_value_22 float Average value of channel 22
sigma_value_22 float Sigma value of channel 22
effective_rate_22 int(11) Effective rate of channel 22
average_value_23 float Average value of channel 23
sigma_value_23 float Sigma value of channel 23
effective_rate_23 int(11) Effective rate of channel 23
average_value_24 float Average value of channel 24
sigma_value_24 float Sigma value of channel 24
effective_rate_24 int(11) Effective rate of channel 24
average_value_25 float Average value of channel 25
sigma_value_25 float Sigma value of channel 25
effective_rate_25 int(11) Effective rate of channel 25
average_value_26 float Average value of channel 26
sigma_value_26 float Sigma value of channel 26
effective_rate_26 int(11) Effective rate of channel 26
average_value_27 float Average value of channel 27
sigma_value_27 float Sigma value of channel 27
effective_rate_27 int(11) Effective rate of channel 27
average_value_28 float Average value of channel 28
sigma_value_28 float Sigma value of channel 28
effective_rate_28 int(11) Effective rate of channel 28
average_value_29 float Average value of channel 29
sigma_value_29 float Sigma value of channel 29
effective_rate_29 int(11) Effective rate of channel 29
average_value_30 float Average value of channel 30
23
sigma_value_30 float Sigma value of channel 30
effective_rate_30 int(11) Effective rate of channel 30
average_value_31 float Average value of channel 31
sigma_value_31 float Sigma value of channel 31
effective_rate_31 int(11) Effective rate of channel 31
average_value_32 float Average value of channel 32
sigma_value_32 float Sigma value of channel 32
effective_rate_32 int(11) Effective rate of channel 32
3.2. table: MDC_Crate_xx (xx:32-39, 48-55)
Field Type Descriptionsid int(11) Auto increment, primary key
run_number int(11) Run number
time datetime
Time
module_no int(11) Module number
average_value_1 float Average value of channel 1
sigma_value_1 float Sigma value of channel 1
effective_rate_1 int(11) Effective rate of channel 1
average_value_2 float Average value of channel 2
sigma_value_2 float Sigma value of channel 2
effective_rate_2 int(11) Effective rate of channel 2
average_value_3 float Average value of channel 3
sigma_value_3 float Sigma value of channel 3
effective_rate_3 int(11) Effective rate of channel 3
average_value_4 float Average value of channel 4
sigma_value_4 float Sigma value of channel 4
effective_rate_4 int(11) Effective rate of channel 4
average_value_5 float Average value of channel 5
sigma_value_5 float Sigma value of channel 5
effective_rate_5 int(11) Effective rate of channel 5
average_value_6 float Average value of channel 6
24
sigma_value_6 float Sigma value of channel 6
effective_rate_6 int(11) Effective rate of channel 6
average_value_7 float Average value of channel 7
sigma_value_7 float Sigma value of channel 7
effective_rate_7 int(11) Effective rate of channel 7
average_value_8 float Average value of channel 8
sigma_value_8 float Sigma value of channel 8
effective_rate_8 int(11) Effective rate of channel 8
average_value_9 float Average value of channel 9
sigma_value_9 float Sigma value of channel 9
effective_rate_9 int(11) Effective rate of channel 9
average_value_10
float Average value of channel 10
sigma_value_10 float Sigma value of channel 10
effective_rate_10 int(11) Effective rate of channel 10
average_value_11
float Average value of channel 11
sigma_value_11 float Sigma value of channel 11
effective_rate_11 int(11) Effective rate of channel 11
average_value_12
float Average value of channel 12
sigma_value_12 float Sigma value of channel 12
effective_rate_12 int(11) Effective rate of channel 12
average_value_13
float Average value of channel 13
sigma_value_13 float Sigma value of channel 13
effective_rate_13 int(11) Effective rate of channel 13
average_value_14
float Average value of channel 14
sigma_value_14 float Sigma value of channel 14
effective_rate_14 int(11) Effective rate of channel 14
average_value_15
float Average value of channel 15
sigma_value_15 float Sigma value of channel 15
effective_rate_15 int(11) Effective rate of channel 15
25
average_value_16
float Average value of channel 16
sigma_value_16 float Sigma value of channel 16
effective_rate_16 int(11) Effective rate of channel 16
average_value_17
float Average value of channel 17
sigma_value_17 float Sigma value of channel 17
effective_rate_17 int(11) Effective rate of channel 17
average_value_18
float Average value of channel 18
sigma_value_18 float Sigma value of channel 18
effective_rate_18 int(11) Effective rate of channel 18
average_value_19
float Average value of channel 19
sigma_value_19 float Sigma value of channel 19
effective_rate_19 int(11) Effective rate of channel 19
average_value_20
float Average value of channel 20
sigma_value_20 float Sigma value of channel 20
effective_rate_20 int(11) Effective rate of channel 20
average_value_21
float Average value of channel 21
sigma_value_21 float Sigma value of channel 21
effective_rate_21 int(11) Effective rate of channel 21
average_value_22
float Average value of channel 22
sigma_value_22 float Sigma value of channel 22
effective_rate_22 int(11) Effective rate of channel 22
average_value_23
float Average value of channel 23
sigma_value_23 float Sigma value of channel 23
effective_rate_23 int(11) Effective rate of channel 23
average_value_24
float Average value of channel 24
sigma_value_24 float Sigma value of channel 24
26
effective_rate_24 int(11) Effective rate of channel 24
average_value_25
float Average value of channel 25
sigma_value_25 float Sigma value of channel 25
effective_rate_25 int(11) Effective rate of channel 25
average_value_26
float Average value of channel 26
sigma_value_26 float Sigma value of channel 26
effective_rate_26 int(11) Effective rate of channel 26
average_value_27
float Average value of channel 27
sigma_value_27 float Sigma value of channel 27
effective_rate_27 int(11) Effective rate of channel 27
average_value_28
float Average value of channel 28
sigma_value_28 float Sigma value of channel 28
effective_rate_28 int(11) Effective rate of channel 28
average_value_29
float Average value of channel 29
sigma_value_29 float Sigma value of channel 29
effective_rate_29 int(11) Effective rate of channel 29
average_value_30
float Average value of channel 30
sigma_value_30 float Sigma value of channel 30
effective_rate_30 int(11) Effective rate of channel 30
average_value_31
float Average value of channel 31
sigma_value_31 float Sigma value of channel 31
effective_rate_31 int(11) Effective rate of channel 31
average_value_32
float Average value of channel 32
sigma_value_32 float Sigma value of channel 32
effective_rate_32 int(11) Effective rate of channel 32
27
4. database: RunInfo
4.1. table: Calib_PED
The information of calibration and PED used into physics run.
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
MDCQCalib int(11) The run number of MDC Q calibration.->Calibration.MDC_Q*.run_number
MDCTCalib int(11) The run number of MDC T calibration.-> Calibration.MDC_T*.run_number
MDCPED int(11) The run number of MDC PED ->PED.MDC*.run_number
TOFCalib int(11) The run number of TOF calibration.->Calibration.TOF*.run_number
EMCCalib int(11) The run number of EMC calibration.->Calibration.EMC*.run_number
EMCPED int(11) The run number of EMC PED.->PED.EMC*.run_number
EMCGain varchar(50) The join of run_id and mode_id of EMC Gain.->Calibration.EMCGain.(run_id)_(mode_id)
28
4.2. table: OnlineLum
The online luminosity of every run.
Field Type Descriptions
id int(11) Auto increment, primary key
run_number int(11) Run number
NumCorBEE int(11) The value is the corrected number of e+ e- events in this run
NumCorEEE int(11) The value is the corrected number of e+ e- events in this run.
NumCorUU int(11) The value is the corrected number of dimuon events in this run.
NumCorGG int(11) The value is the corrected number of diphoton events in this run.
NumCorHadron int(11) The value is the corrected number of hadronic events in this run.
SNR float The value is the ratio between signal and noise.
IntLumEndcapEE float The integral luminosity(nb^-1) is calculated by the number of Endcap e+ e- events.
XSecbyEndcapEE float The cross section(nb) of hadron is calculated by LumEndcapEE.
4.3. table: RunParams
Field Type Descriptions
id int(11) Auto increment, primary key
run_number int(11) Run number
max_events int(11) Maximum of events can be stored in this run
rec_enable int(11) Enable store data in file.
trigger_type int(11) Trigger type, now is not used
run_type varchar(20) Run type(Physics、Calibration、PED、Monitor)
detector_mask int(11) Detector mask, now is not used
29
beam_type int(11) Beam type
beam_energy float Beam energy, it is e+ energy in START record, e- energy is END record.
filename_tag varchar(255) Tag of filename
timeSOR datetime Time of run start
timeEOR datetime Time of run end
totalTime int(11) Total time of run
numberOfEvents int(32) Number of events stored in local of DAQ
numberOfEvents_Castor int(32) Number of events stored in castor.
config_id int(11) Corresponding to the DAQ configuration.->configdb.ConfInfo.ConfId
trgtable_id int(11) Corresponding to the used trigger table.
->configdb.TrgTable.Obj_id
calib_ped_id int(11) Corresponding to the information of calibration and PED.->Calib_PED的 id
versionNum float Version number of DAQ data format
status enum('START', 'END', 'INSTART')
run status, it shows this record is recorded in run start, running or run end.
All information will be updated in run start and run end and a new record will be written into this table. The record which status is ‘INSTART’ is written into this table when run start and updated in real time. Only timeEOR, numberOfEvents, numberOfEvents_Castor will be updated. If the run is stopped abnormal, the record which status is ‘END’ will be lost.
4.4. table: StorageInfo
This table records information of all data file stored in local of DAQ or castor.
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime time
runNumber int(11) Run number->RunParams.run_number
30
host varchar(50) The host name used to store data file.
fileName varchar(255) Data file name
status varchar(50) File status(‘opened’、‘closed’)numberOfEvents int(11) Number of events in the file
5. database: TrgTable
This database is used by trigger group to modify or update trigger table on web. After set the record ‘active’, then the trigger table will be written into DAQ configuration, and it will be used in next run after reload db in DAQ system. The really trigger table in DAQ configuration will be stored in TrgTable table of configdb database.
5.1. table: Tmp_TrgTable
This is a temporary table for storing the information of trigger table. It is not used for user.
Field Type Descriptions
Time datetime time
User varchar(50) User who update the trigger table
TrgTypeId int(11) Type fo trigger table, it shows the trigger table is used in test, cosmic test or other.
Active tinyint(4) active/inactive, active shows this trigger table will be used in next run.
Remark varchar(255) remark
31
ChEnable varchar(10) Event channel enable
CH01_1 varchar(10) Parameter 1 of trigger channel 1
CH01_2 varchar(10) Parameter 2 of trigger channel 1
CH01_3 varchar(10) Parameter 3 of trigger channel 1
CH01_4 varchar(10) Parameter 4 of trigger channel 1
CH02_1 varchar(10) Parameter 1 of trigger channel 2
CH02_2 varchar(10) Parameter 2 of trigger channel 2
CH02_3 varchar(10) Parameter 3 of trigger channel 2
CH02_4 varchar(10) Parameter 4 of trigger channel 2
CH03_1 varchar(10) Parameter 1 of trigger channel 3
CH03_2 varchar(10) Parameter 2 of trigger channel 3
CH03_3 varchar(10) Parameter 3 of trigger channel 3
CH03_4 varchar(10) Parameter 4 of trigger channel 3
CH04_1 varchar(10) Parameter 1 of trigger channel 4
CH04_2 varchar(10) Parameter 2 of trigger channel 4
CH04_3 varchar(10) Parameter 3 of trigger channel 4
CH04_4 varchar(10) Parameter 4 of trigger channel 4
CH05_1 varchar(10) Parameter 1 of trigger channel 5
CH05_2 varchar(10) Parameter 2 of trigger channel 5
CH05_3 varchar(10) Parameter 3 of trigger channel 5
CH05_4 varchar(10) Parameter 4 of trigger channel 5
CH06_1 varchar(10) Parameter 1 of trigger channel 6
CH06_2 varchar(10) Parameter 2 of trigger channel 6
CH06_3 varchar(10) Parameter 3 of trigger channel 6
CH06_4 varchar(10) Parameter 4 of trigger channel 6
CH07_1 varchar(10) Parameter 1 of trigger channel 7
CH07_2 varchar(10) Parameter 2 of trigger channel 7
CH07_3 varchar(10) Parameter 3 of trigger channel 7
CH07_4 varchar(10) Parameter 4 of trigger channel 7
CH08_1 varchar(10) Parameter 1 of trigger channel 8
CH08_2 varchar(10) Parameter 2 of trigger channel 8
CH08_3 varchar(10) Parameter 3 of trigger channel 8
CH08_4 varchar(10) Parameter 4 of trigger channel 8
32
CH09_1 varchar(10) Parameter 1 of trigger channel 9
CH09_2 varchar(10) Parameter 2 of trigger channel 9
CH09_3 varchar(10) Parameter 3 of trigger channel 9
CH09_4 varchar(10) Parameter 4 of trigger channel 9
CH10_1 varchar(10) Parameter 1 of trigger channel 10
CH10_2 varchar(10) Parameter 2 of trigger channel 10
CH10_3 varchar(10) Parameter 3 of trigger channel 10
CH10_4 varchar(10) Parameter 4 of trigger channel 10
CH11_1 varchar(10) Parameter 1 of trigger channel 11
CH11_2 varchar(10) Parameter 2 of trigger channel 11
CH11_3 varchar(10) Parameter 3 of trigger channel 11
CH11_4 varchar(10) Parameter 4 of trigger channel 11
CH12_1 varchar(10) Parameter 1 of trigger channel 12
CH12_2 varchar(10) Parameter 2 of trigger channel 12
CH12_3 varchar(10) Parameter 3 of trigger channel 12
CH12_4 varchar(10) Parameter 4 of trigger channel 12
CH13_1 varchar(10) Parameter 1 of trigger channel 13
CH13_2 varchar(10) Parameter 2 of trigger channel 13
CH13_3 varchar(10) Parameter 3 of trigger channel 13
CH13_4 varchar(10) Parameter 4 of trigger channel 13
CH14_1 varchar(10) Parameter 1 of trigger channel 14
CH14_2 varchar(10) Parameter 2 of trigger channel 14
CH14_3 varchar(10) Parameter 3 of trigger channel 14
CH14_4 varchar(10) Parameter 4 of trigger channel 14
CH15_1 varchar(10) Parameter 1 of trigger channel 15
CH15_2 varchar(10) Parameter 2 of trigger channel 15
CH15_3 varchar(10) Parameter 3 of trigger channel 15
CH15_4 varchar(10) Parameter 4 of trigger channel 15
CH16_1 varchar(10) Parameter 1 of trigger channel 16
CH16_2 varchar(10) Parameter 2 of trigger channel 16
CH16_3 varchar(10) Parameter 3 of trigger channel 16
CH16_4 varchar(10) Parameter 4 of trigger channel 16
33
5.2. table: TrgTable
Field Type Descriptions
id int(11) Auto increment, primary key
Time datetime Time
User varchar(50) User who update the trigger table
TrgTypeId int(11) Type fo trigger table, it shows the trigger table is used in test, cosmic test or other.
Active tinyint(4) active/inactive, active shows this trigger table will be used in next run.
Remark varchar(255) remark
ChEnable varchar(10) Event channel enable
CH01_1 varchar(10) Parameter 1 of trigger channel 1
CH01_2 varchar(10) Parameter 2 of trigger channel 1
CH01_3 varchar(10) Parameter 3 of trigger channel 1
CH01_4 varchar(10) Parameter 4 of trigger channel 1
CH02_1 varchar(10) Parameter 1 of trigger channel 2
CH02_2 varchar(10) Parameter 2 of trigger channel 2
CH02_3 varchar(10) Parameter 3 of trigger channel 2
CH02_4 varchar(10) Parameter 4 of trigger channel 2
CH03_1 varchar(10) Parameter 1 of trigger channel 3
CH03_2 varchar(10) Parameter 2 of trigger channel 3
CH03_3 varchar(10) Parameter 3 of trigger channel 3
CH03_4 varchar(10) Parameter 4 of trigger channel 3
CH04_1 varchar(10) Parameter 1 of trigger channel 4
CH04_2 varchar(10) Parameter 2 of trigger channel 4
CH04_3 varchar(10) Parameter 3 of trigger channel 4
CH04_4 varchar(10) Parameter 4 of trigger channel 4
CH05_1 varchar(10) Parameter 1 of trigger channel 5
CH05_2 varchar(10) Parameter 2 of trigger channel 5
CH05_3 varchar(10) Parameter 3 of trigger channel 5
CH05_4 varchar(10) Parameter 4 of trigger channel 5
CH06_1 varchar(10) Parameter 1 of trigger channel 6
34
CH06_2 varchar(10) Parameter 2 of trigger channel 6
CH06_3 varchar(10) Parameter 3 of trigger channel 6
CH06_4 varchar(10) Parameter 4 of trigger channel 6
CH07_1 varchar(10) Parameter 1 of trigger channel 7
CH07_2 varchar(10) Parameter 2 of trigger channel 7
CH07_3 varchar(10) Parameter 3 of trigger channel 7
CH07_4 varchar(10) Parameter 4 of trigger channel 7
CH08_1 varchar(10) Parameter 1 of trigger channel 8
CH08_2 varchar(10) Parameter 2 of trigger channel 8
CH08_3 varchar(10) Parameter 3 of trigger channel 8
CH08_4 varchar(10) Parameter 4 of trigger channel 8
CH09_1 varchar(10) Parameter 1 of trigger channel 9
CH09_2 varchar(10) Parameter 2 of trigger channel 9
CH09_3 varchar(10) Parameter 3 of trigger channel 9
CH09_4 varchar(10) Parameter 4 of trigger channel 9
CH10_1 varchar(10) Parameter 1 of trigger channel 10
CH10_2 varchar(10) Parameter 2 of trigger channel 10
CH10_3 varchar(10) Parameter 3 of trigger channel 10
CH10_4 varchar(10) Parameter 4 of trigger channel 10
CH11_1 varchar(10) Parameter 1 of trigger channel 11
CH11_2 varchar(10) Parameter 2 of trigger channel 11
CH11_3 varchar(10) Parameter 3 of trigger channel 11
CH11_4 varchar(10) Parameter 4 of trigger channel 11
CH12_1 varchar(10) Parameter 1 of trigger channel 12
CH12_2 varchar(10) Parameter 2 of trigger channel 12
CH12_3 varchar(10) Parameter 3 of trigger channel 12
CH12_4 varchar(10) Parameter 4 of trigger channel 12
CH13_1 varchar(10) Parameter 1 of trigger channel 13
CH13_2 varchar(10) Parameter 2 of trigger channel 13
CH13_3 varchar(10) Parameter 3 of trigger channel 13
CH13_4 varchar(10) Parameter 4 of trigger channel 13
CH14_1 varchar(10) Parameter 1 of trigger channel 14
CH14_2 varchar(10) Parameter 2 of trigger channel 14
35
CH14_3 varchar(10) Parameter 3 of trigger channel 14
CH14_4 varchar(10) Parameter 4 of trigger channel 14
CH15_1 varchar(10) Parameter 1 of trigger channel 15
CH15_2 varchar(10) Parameter 2 of trigger channel 15
CH15_3 varchar(10) Parameter 3 of trigger channel 15
CH15_4 varchar(10) Parameter 4 of trigger channel 15
CH16_1 varchar(10) Parameter 1 of trigger channel 16
CH16_2 varchar(10) Parameter 2 of trigger channel 16
CH16_3 varchar(10) Parameter 3 of trigger channel 16
CH16_4 varchar(10) Parameter 4 of trigger channel 16
5.3. table: TrgType
Field Type Descriptionsid int(11) id
Type varchar(255)
Type of trigger table, test, cosmic test, or other. It is defined by trigger group.
5.4. table: users
Field Type Descriptions
id int(11) Id
UserName varchar(50) User name to loggin the webpage of trgtable.
Passwd varchar(50) User password
Type enum('admin', 'common') User type used to confirm user popedom
36
6. database: configdb
The database ‘configdb’ is the DAQ configuration database. It is includes all the configuration information of DAQ system. Table ‘ConfInfo’ is the first table, it descripts the patition, datafiles and schemafiles in the configuration. Table ‘Data’ records the information of all data files, includes file name, file path, file contents and objects in the file (show as classname@Obj_id). Table ‘classname’ descripts all the information of objects. Table ‘Schemes’ records the information of all schema files, includes file name, file path and file contents.The relationships of every table is list in below picture.
37
6.1. table: Application
This class is used to describe processes which can be started at certain moment and order. To describe a new process it is necessary to create an instance of this class and put references to the software object (i.e. ComputerProgram class) to describe what to start and the Computer to describe where to start. The Initialization and Shutdown dependencies are used in case if we want to start a process synonymously and we know which one we must start or kill first.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Id of DataFile,->Data.DataFileid
OID varchar(255) Object ID
Name text Object name
Parameters text Command line parameters
38
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed; means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined(SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined(SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used
39
for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
6.2. table: Attributes
Field Type Descriptions
Id int(11) Auto increment, primary key
ClassId int(11) The class id which the attribute belongs to
Name tinytext Name
Type enum('bool', 's8', 'u8', 's16', 'u16', 's32', 'u32', 'float', 'double', 'date', 'time', 'string', 'enum')
Data type
Format enum('dec', 'hex', 'oct') Data format
IsMultiValue enum('YES', 'NO') Whether it is multi value
IsNoNull enum('YES', 'NO') Whether it is no null
Range tinytext Data range
InitValue tinytext Initial value
Description text description
6.3. table: Binary
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
40
Name text Name
BinaryName text Binary name
Description text Description
Authors text Authors
HelpURL text Help URL
DefaultParameters text Default parameters
Needs text ->RM_Resource
BelongsTo text ->SW_RepositoryA software object can belong to some software repository.
Uses text ->SW_Repository A software object can use zero or many software repositories(here uses means that at least it needs shared libraries from them).
ProcessEnvironment text ->Parameter
ExactImplementations text Is used to describe implementations differnt from default, e.g. having different binary name, command line parameters, environment, etc.If a program object is defined, there are no default implementations.
6.4. table: BinaryFile
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
BinaryName text Binary name
Tag text ->Tag
6.5. table: CircDataOut
Output class for the IO Manager to send events to a circular buffer. Can work in both master and slave mode, either pretending to write out all the events or to skip them when the output buffer is full.
41
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
OutputCircName text This is the name of the output circular buffer.
SamplingGap int(10) Define the minimum gap between two sampled events. As a consequence, a maximum sampling ratio is defined. If the ThrowIfFull parameter is true, sampled event can be skipped if the buffer is full, else all the events are written as soon as there is room in the buffer. The default value (1) means that all the events are sent to the output, 0 means that no event is sent.
OutputDelay int(10) Delay the output
BufferSize int(10) The size of the circular buffer to be used. BufferSize=0 means that the access will be in slave mode (i.e., the buffer is created by someone else).
ThrowIfFull varchar(10) If the ThrowIfFull parameter is true, sampled event can be skipped if the buffer is full, else all the events are written as soon as there is room in the buffer, thus generating backpressure.
6.6. table: Classes
Field Type Descriptions
ClassId int(11) Auto increment, primary key
SchemaFileId int(11) The id of schemafile in the Schemes table.
ClassName tinytext Class name
SuperClasses tinytext Super classes
SubClasses tinytext Sub classes
Attributes tinytext Attributes
Relationships tinytext Relationships
Methods tinytext Methods
IsAbstract tinytext Is abstract?
Description text description
42
6.7. table: Component
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
6.8. table: Computer
Describes a computer.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
HW_Tag enum('i686-slc3', 'i686-rh73')
Set of all available hardware tags in the format: hardware platform-operating system;
Name text Name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
Memory smallint(5) Memory in Mgb
CPU smallint(5) Computer performance.
RLogin text Defines command used for computer remote login. Examples: rsh, ash, ssh.
Interfaces text ->Interface
6.9. table: ComputerParameters
Discribe a computer parameters.
43
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Memory smallint(5) Memory in Mgb
CPU smallint(5) Computer performance.
6.10. table: ComputerProgram
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
BinaryName text Binary name
Description text Description
Authors text Authors
HelpURL text Help URL
DefaultParameters text Default parameters
Needs text ->RM_Resource
BelongsTo text ->SW_Repository A software object can belong to some software repository.
Uses text ->SW_Repository A software object can use zero or many software repositories(here uses means that at least it needs shared libraries from them).
ProcessEnvironment text ->Parameter
6.11. table: ConfInfo
This is the first table to search configuration.
Field Type Descriptions
ConfId int(11) Auto increment, primary key
44
PartitionId int(11) The id of Partition. ->Partition.Obj_id
PartitionName varchar(255) The name of Partition. ->Partition.Name
SchemaFileIds text The id of schema files in Schemes table. ->Schemes.SchemaFileId
DataFileIds text The id of data file in Data table. ->Data.DataFileId
6.12. table: Crate
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
NumberOfSlots int(10) Number of slots
Position int(10) Position
LogicalId int(10) Logical id
NumberOfModules int(10) Number of modules
NumberOfEvents int(10) The max number of events
Modules text ->Module
BelongsTo text ->Rack
MROC text ->MROC
MCC text ->MCC
MTI text ->MTI
PPCModule text ->PPCModule
ETC text ->ETC
EFO text ->EFO
TFEE text ->TFEE
45
TMON text ->TMON
TROC text ->TROC
TCLK text ->TCLK
MUONROMO text ->MUONROMO
MUONROC text ->MUONROC
FCTL text ->FCTL
Trg_SAF text ->Trg_SAF
Trg_GTL text ->Trg_GTL
Trg_TDC text ->Trg_TDC
Trg_TROC text ->Trg_TROC
Trg_LTKC text ->Trg_LTKC
Trg_STKC text ->Trg_STKC
Trg_TKF text ->Trg_TKF
Trg_TKFGeneral text ->Trg_TKFGeneral
Trg_EACC text ->Trg_EACC
Trg_EACC_Debug text ->Trg_EACC_Debug
Trg_TCBA text ->Trg_TCBA
Trg_TOFT text ->Trg_TOFT
Trg_CLKF text ->Trg_CLKF
Trg_FCTL text ->Trg_FCTL
Trg_TFCF text ->Trg_TFCF
Trg_MUTL text ->Trg_MUTL
Trg_MUDT text ->Trg_MUDT
EMCMonitor text ->EMCMonitor
Trg_BASG text ->Trg_BASG
6.13. table: DCApplicationConfig
Configures AppControl, Monitoring and ErrorReporting
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, -
46
>Data.DataFileId
OID varchar(255) Object id
verbose varchar(10) Determines if error output is verbose or not.
ErrorOutputStream enum('STDOUT', 'STDERR', 'MRS', 'LCTRL')
The output stream to use for errors.
DebugOutputStream enum('STDOUT', 'STDERR', 'MRS', 'LCTRL')
The output stream to use for debug statements.
DebugLevel enum('DEBUGLEVEL0', 'DEBUGLEVEL1', 'DEBUGLEVEL2', 'DEBUGLEVEL3')
Determines which debug messages to suppress.
SeverityLevel enum('INFO', 'WARNING', 'RECOVERABLE', 'FATAL')
Determines which error messages to suppress.
monitorActiveOnNodes text Describes on which nodes the stand-alone MonitorThread should be active, see description for activeOnNodes for class DC_ISResourceUpdate.
ISThreadResourceCheckInterval int(10) Interval in seconds for which the IS Resource QUEUE is checked for new/deleted Resources.
ISDefaultRsrcUpdateInterval int(10) Default interval in seconds for Resource updates to IS server. Zero means that Resource is not exported.
ISDefaultServer text Name of the default IS server.
ISlongTimeout int(10) Long timeout in seconds is used for eg, sleep when queue is empty
47
SpecificPackagesError text Debug/Severity levels for specific packages.
refDC_ISResourceUpdate text Defines an update interval and opt. IS server for each Resource.
6.14. table: DCMulticastGroup
A logical multicast group. Sending to this group will send the same message to all nodes that are part of this group. This might use Ethernet or UDP multicast, or simulate it in software when using TCP.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
MulticastAddress text Either a protocol:IPAddress:port string, or a MACAddress in rawsock:AA:BB:CC:DD:EE:FF form.
6.15. table: DC_ISResourceUpdate
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text Name of the Resource exported to IS.
delay int(10) Delay between updates to the IS server in seconds.0 = not exported to IS.
isServer text The IS server to update. If not specified the defaultISServer is used.Field not used yet.
activeOnNodes text Describes which nodes a Resource is active on by giving node Name (eg ROS-4), node Type (eg L2PU) or all by keyword ALL.To exclude a node name or type, preceed it with an
48
exclamation mark ‘!’ (eg,!DFM-1).Inclusion/exclusion of nodes is done in the following order;1) inclusive node Name (eg ROS-4)2) exclusive node Name (eg !DFM-1)3) inclusive node Type (eg ROS)4) exclusive node Type (eg !DFM)5) inclusive all by keyword ALL
6.16. table: DFApplication
Derived from OnlineSW Application. Specific Parameters needed by a DF Application
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined(SOR/EOR = Start/End of run).
StopAt enum('SOR', The application is stoped at
49
'EOR', 'Shutdown', 'UserDefined')
appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
50
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
6.17. table: DFApplicationConfig
Base class to define DC or ROS application configurations.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
6.18. table: DFMApplication
Field Type descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR',
The application is started at appropriate moment if the value is not
51
'Shutdown', 'UserDefined')
equal to UserDefined(SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
52
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text -> DFApplicationConfig
belongs_to text Link to multicast groups this node belongs to.
Interfaces text Describes alternative interfaces for message passing
DFMConfiguration text ->DFMConfiguration
MulticastToROS text ->DCMulticastGroup
6.19. table: DFMConfiguration
Describes the configuration for a group of DFMs.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
TimeoutCycle_ms int(10) Length of one timeout cycle in ms.
TimeoutCredits int(10) Number of cycles before an event times out.
MaxReassign int(10) Number of times event will be reasked. Zero means there will be no reasking, events will time out for good in the DFM.
MaxInputQueueSize int(10) Max size of input queue
ClearGroupSize int(10) Grouping factor for clear messages.
53
DecisionGroupSize int(10) Grouping factor for DFM decision messages sent to ROSes (i.e. in push mode).
PullScenario varchar(10) This makes the choice of the message flow scenario for the event building. What we had until now corresponds to false.
TriggerSource enum('LVL2DecisionMessage', 'TTC', 'CORBO', 'EmulatedHardware', 'Internal')
Switch trigger source of the DFM.
InternalTriggerClearsPerAccept int(10) Used only in self-triggering mode. Specifies how many LVL2 rejects will be generated for every accept.
ExternalTriggerDelay_ms double Delay of external trigger in ms.
BackupSFI text sfi active only in emergency.
MinSFINum int(10) threshold when backup sfi active.
UpBSThreshold int(10) InputQueue threshold when open backup sfi.
DownBSThreshold int(10) InputQueue threshold when close backup sfi.
6.20. table: DFMessagePassingNode
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
54
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
belongs_to text Link to multicast groups this node belongs to.
Interfaces text Describes alternative interfaces for message passing
6.21. table: DFParameters
Global configuration parameters for the DataFLow.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Protocol enum('udp', 'tcp', 'rawsock')
Protocol to use for default message passing.
BasePortMessagePassing smallint(5) Base port for the calculation of Ports for message passing.
BasePortMonitoring smallint(5) Base port for the calculation of Ports for monitoring.
BasePortEFD_SFI smallint(5) Base port for the calculation of Ports for EFD for the SFIs.
BasePortEFD_SFO smallint(5) Base port for the calculation of Ports for EFD for the SFOs.
UsesDataFiles text Link to the files containing raw detector data.
6.22. table: Data
Field Type Descriptions
DataFileId int(11) Auto increment, primary key
FileTime datetime File time
FileName varchar(255) File name
FileLocation varchar(255) File path
55
FileText mediumtext File content
Objects text Objects in the file
6.23. table: DataDrivenTriggerIn
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DeleteGrouping int(10) groups the delete messages which go to the inout channels
QueueSize int(10) Determines the queue size between datainput and trigger.
QueueUnblockOffset int(10) The offset of unblock queue
RequestType enum('AllRequestWithRelease', 'EBRequestWithRelease')
Type of request instantiated when data arrives. Known types are: AllRequestWithRelease and EBRequestWithRelease.
6.24. table: DataFile
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
FileName text File name
6.25. table: DataFlowParameters
Field Type Descriptions
56
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
6.26. table: DcDataOut
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
6.27. table: DcTriggerIn
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DeleteGrouping int(10) groups the delete messages which go to the inout channels
MessageLossEmulations text Specifies the percentage of lost messages arriving to the ROS (for clear, ROI and EB messages).
6.28. table: Detector
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Description text Description
HelpLink text Help link
57
State varchar(10) State
LogicalId tinyint(3) Logical id
HW_Systems text ->HW_System
HW_Objects text ->HW_Object
Crates text ->Crate
Layers text ->Layers
6.29. table: DummyReadoutModule
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) states if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
DataSize enum('FIXED', 'RANDOM') Data size
6.30. table: EFD_Application
EFD Instance specific configuration.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the
58
Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in
59
Error state or sends a FATAL error.
sfi text LIst of SFI addresses to be used by the generic EFD configuration.
sfo text List of SFO addresses to be used by generic EFD configuraiton.
StartIn text Working directory for efd applications. Can be afs or nfs directory. CAUTION: Read emptyWD description !
clearWD varchar(10) Allows efd to delete all files in the working directory at startup. NOT IMPLEMENTED YET.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
logStdOut text Log level for standard output.
logMRS text Log level for MRS
config text Generic configuration to use.
subFarm text The subfarm the efd belongs to
6.31. table: EFD_Barrier
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text Barrier instance name
desc text Describes role of barrier
60
log text Log filter to use
6.32. table: EFD_Configuration
Generic EFD configuration.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text Generic configuration name
desc text Describes configuration and requirement
nbrWorker int(10) Number of concurrent worker threads
stopTimeout int(10) max time to stop and wait to become empty (sec)
unconfigTimeout int(10) max time to unconfigure and wait for threads to terminate (sec)
statePoll int(10) Thread state polling interval while waiting (sec)
statUpdateRate int(10) IS Information update rate expressed in seconds
log text Log filter to use
logEvent text LogFilter for all events
logWork text Log Filter for the work manager
logWorker text Log Filter for all worker threads
ctlBarrier text Barriers controlled by start/stop. Will be initially locked until start is issued by the controller.
inputTasks text List of input task in configuration. For each input task a corresponding sfi address must be specified in the EFD_Application.
sharedHeap text SharedHeap instance to use in configuration.
6.33. table: EFD_EndTask
EFD dataflow path terminator task. Every incomming event is deleted. next shall be empty.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
61
OID varchar(255) Object id
name text Task instance name
desc text Describes configuration and requirements
log text Log filter to use
next text Successor tasks (order is relevant)
6.34. table: EFD_ExtPTsTask
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text Task instance name
desc text Describes configuration and requirements
overflowLimit int(10) Number of event overflow limit
maxProcessingTime int(10) Maximum processing time (sec)
retryProcessing enum('no', 'yes')
Retry processing event if PT crashes
answer text Answers accepeted by this instance. For each answer there must be a corresponding successor task.
log text Log filter to use
next text Successor tasks (order is relevant)
barrier text Barrier to lock when overflow
6.35. table: EFD_InputTask
InputTask connected to SFI.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text Task instance name
62
desc text Describes configuration and requirements
sfi int(10) Index of SFI in EFD_Application instance
dataTimeout int(10) EFIO protocol timeout (data wait timeout : msec)
queuedRequests int(10) Maximum pending event requests to SFI.
log text Log filter to use
next text Successor tasks (order is relevant)
barrier text Barrier to lock when overflow
6.36. table: EFD_LogFilter
Predefined log filters.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text Log level name
flags enum('Fatal', 'Error', 'Warning', 'Success', 'Info', 'Debug', 'Debug1', 'Debug2')
List of selected flags
6.37. table: EFD_LogLevel
Abstract class defining log level to be used by the instance.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
log text Log filter to use
6.38. table: EFD_OutputTask
Task sending out events to SFO. next shall be empty.
63
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text Task instance name
desc text Describes configuration and requirements
overflowLimit int(10) Number of event overflow limit
sfo int(10) Index of SFO in EFD_Application instance.
IfMonitored varchar(10) Monitor this data stream or not.
log text Log filter to use
next text Successor tasks (order is relevant)
barrier text Barrier to lock when overflow
6.39. table: EFD_QueueTask
Abstract queue task. Every incomming event is queued for asynchronous processing by a Task specific thread.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text Task instance name
desc text Describes configuration and requirements
overflowLimit int(10) Number of event overflow limit
log text Log filter to use
next text Successor tasks (order is relevant)
barrier text Barrier to lock when overflow
6.40. table: EFD_SharedHeap
SharedHeap instance.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
64
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text SharedHeap instance name
fileName text Path and name of file containing data
size int(10) SharedHeap size (Mbytes)
erase varchar(10) Specify if the SharedHeap file must be erased prior to create operation. If false the create operation will fail if the file already exist. This option is ignored in SharedHeap recovery process.
log text Log filter to use
6.41. table: EFD_Task
Abstract task base class.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
name text Task instance name
desc text Describes configuration and requirements
log text Log filter to use
next text Successor tasks (order is relevant)
6.42. table: EFIOConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
NagleEnable varchar(10) Switches the Nagle Algorithm for the EFIO TCP data transfer
TCPSendBufferSize smallint(5) Sets the TCP send buffer size. 0 means default.
TCPRecvBufferSize smallint(5) Sets the TCP receive Buffer size. 0 means default.
65
6.43. table: EFO
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress smallint(5) Physics address
Enable varchar(10) Module enable
DAC int(10) DAC value
CAL int(10) CAL value
BelongsTo text ->Crate
6.44. table: EF_SubFarm
Event Filter SubFarm segment
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
desc text Describes the sub farm content
Segments text ->Segment
UsesObjects text -> HW_Object
UsesSystems text -> HW_System
Resources text -> Resource
Infrastructure text Infrastructure applications are started before any other applications from given and all included segments.
Applications text -> Application
ProcessEnvironment text -> Parameter
IsControlledBy text ->RunControlApplication
DefaultTags text ->Tag
JarFiles text -> JarFile
66
Parameters text Parameters which are used by database objects belonging to this segment.
is text IS application to send statistics and monitoring information to
6.45. table: EMCCalibration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
MySQLEnable varchar(10) If it is enable, the calibration result will be write into mysql database.
HistogramEnable varchar(10) If it is enable, the calibration data will be fill in histogram.
AbnormalChooseEnable varchar(10) Choose abnormal channel
FitHandler text Simulate type: linear, quadric
LowBegin smallint(5) Begin value of DAC in low range
LowEnd smallint(5) End value of DAC in low range
LowStep smallint(5) Step value of DAC in low range
MidBegin smallint(5) Begin value of DAC in middle range
MidEnd smallint(5) End value of DAC in middle range
MidStep smallint(5) Step value of DAC in middle range
HighBegin smallint(5) Begin value of DAC in high range
HighEnd smallint(5) End value of DAC in high range
HighStep smallint(5) Step value of DAC in high range
EMCChooseRange text -> EMCChooseRange
6.46. table: EMCChooseRange
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
67
OID varchar(255) Object id
A0MaxLow float Maximum value of a0 in low range
A0MinLow float Minimum value of a0 in low range
A1MaxLow float Maximum value of a1 in low range
A1MinLow float Minimum value of a1 in low range
A2MaxLow float Maximum value of a2 in low range
A2MinLow float Minimum value of a2 in low range
RMSMaxLow float Maximum value of rms in low range
RMSMinLow float Minimum value of rms in low range
A0MaxMid float Maximum value of a0 in mid range
A0MinMid float Minimum value of a0 in mid range
A1MaxMid float Maximum value of a1 in mid range
A1MinMid float Minimum value of a1 in mid range
A2MaxMid float Maximum value of a2 in mid range
A2MinMid float Minimum value of a2 in mid range
RMSMaxMid float Maximum value of rms in mid range
RMSMinMid float Minimum value of rms in mid range
A0MaxHigh float Maximum value of a0 in high range
A0MinHigh float Minimum value of a0 in high range
A1MaxHigh float Maximum value of a1 in high range
A1MinHigh float Minimum value of a1 in high range
A2MaxHigh float Maximum value of a2 in high range
A2MinHigh float Minimum value of a2 in high range
RMSMaxHigh float Maximum value of rms in high range
RMSMinHigh float Minimum value of rms in high range
6.47. table: EMCMonitor
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
RuntimesForNonNormalRun smallint(5) Run times
68
MySQLEnable varchar(10) If it is enable, the calibration result will be write into mysql database.
HistogramEnable varchar(10) If it is enable, the calibration data will be fill in histogram.
AbnormalChooseEnable varchar(10) Choose abnormal channel
FitHandler text Simulate type: linear, quadric
LowBegin smallint(5) Begin value of DAC in low range
LowEnd smallint(5) End value of DAC in low range
LowStep smallint(5) Step value of DAC in low range
MidBegin smallint(5) Begin value of DAC in middle range
MidEnd smallint(5) End value of DAC in middle range
MidStep smallint(5) Step value of DAC in middle range
HighBegin smallint(5) Begin value of DAC in high range
HighEnd smallint(5) End value of DAC in high range
HighStep smallint(5) Step value of DAC in high range
EMCChooseRange text ->EMCChooseRange
6.48. table: EMCPed
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
RuntimesForNonNormalRun smallint(5) Run times
MySQLEnable varchar(10) If it is enable, the calibration result will be write into mysql database.
HistogramEnable varchar(10) If it is enable, the calibration data will be fill in histogram.
6.49. table: EMCSubSystem
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
69
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Description text description
HelpLink text URL containing description.
State varchar(10) If the state is true, the hw device is On.
LogicalId tinyint(3) Logical id
ControlRegister int(10) Control register
CSR smallint(5) Control status register
HW_Systems text ->HW_System
HW_Objects text ->HW_Object
Crates text ->Crate
Layers text ->Layer
6.50. table: EQM
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Type text Module type.
Location text Physical location of module.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
PhysAddress int(10) Physical address of module
CommAddress int(10) Communication address
Position smallint(5) Position of module
Width smallint(5) width
LogicalId int(10) Logical id
TriggerLatencyRegister int(10) Trigger latency register
70
SampleWindowRegister int(10) Sample window register
Channel1 int(10) The channel information of channel 1
Channel2 int(10) The channel information of channel 2
Channel3 int(10) The channel information of channel 3
Channel4 int(10) The channel information of channel 4
Channel5 int(10) The channel information of channel 5
Channel6 int(10) The channel information of channel 6
Channel7 int(10) The channel information of channel 7
Channel8 int(10) The channel information of channel 8
Channel9 int(10) The channel information of channel 9
Channel10 int(10) The channel information of channel 10
Channel11 int(10) The channel information of channel 11
Channel12 int(10) The channel information of channel 12
Channel13 int(10) The channel information of channel 13
Channel14 int(10) The channel information of channel 14
Channel15 int(10) The channel information of channel 15
Channel16 int(10) The channel information of channel 16
Channel17 int(10) The channel information of channel 17
Channel18 int(10) The channel information of channel 18
Channel19 int(10) The channel information of channel 19
Channel20 int(10) The channel information of channel 20
Channel21 int(10) The channel information of channel 21
Channel22 int(10) The channel information of channel 22
Channel23 int(10) The channel information of channel 23
Channel24 int(10) The channel information of channel 24
Channel25 int(10) The channel information of channel 25
Channel26 int(10) The channel information of channel 26
Channel27 int(10) The channel information of channel 27
Channel28 int(10) The channel information of channel 28
Channel29 int(10) The channel information of channel 29
Channel30 int(10) The channel information of channel 30
Channel31 int(10) The channel information of channel 31
Channel32 int(10) The channel information of channel 32
71
Enable varchar(10) Enable the module
CSR int(10) Control status register
OUTL1 varchar(10) OUTL1
MainAmpGeo1 int(10) The corresponding address of MainAmp of channel 1
MainAmpGeo2 int(10) The corresponding address of MainAmp of channel 2
MainAmpGeo3 int(10) The corresponding address of MainAmp of channel 3
MainAmpGeo4 int(10) The corresponding address of MainAmp of channel 4
MainAmpGeo5 int(10) The corresponding address of MainAmp of channel 5
MainAmpGeo6 int(10) The corresponding address of MainAmp of channel 6
MainAmpGeo7 int(10) The corresponding address of MainAmp of channel 7
MainAmpGeo8 int(10) The corresponding address of MainAmp of channel 8
MainAmpGeo9 int(10) The corresponding address of MainAmp of channel 9
MainAmpGeo10 int(10) The corresponding address of MainAmp of channel 10
MainAmpGeo11 int(10) The corresponding address of MainAmp of channel 11
MainAmpGeo12 int(10) The corresponding address of MainAmp of channel 12
MainAmpGeo13 int(10) The corresponding address of MainAmp of channel 13
MainAmpGeo14 int(10) The corresponding address of MainAmp of channel 14
MainAmpGeo15 int(10) The corresponding address of MainAmp of channel 15
MainAmpGeo16 int(10) The corresponding address of MainAmp of channel 16
MainAmpGeo17 int(10) The corresponding address of MainAmp of channel 17
72
MainAmpGeo18 int(10) The corresponding address of MainAmp of channel 18
MainAmpGeo19 int(10) The corresponding address of MainAmp of channel 19
MainAmpGeo20 int(10) The corresponding address of MainAmp of channel 20
MainAmpGeo21 int(10) The corresponding address of MainAmp of channel 21
MainAmpGeo22 int(10) The corresponding address of MainAmp of channel 22
MainAmpGeo23 int(10) The corresponding address of MainAmp of channel 23
MainAmpGeo24 int(10) The corresponding address of MainAmp of channel 24
MainAmpGeo25 int(10) The corresponding address of MainAmp of channel 25
MainAmpGeo26 int(10) The corresponding address of MainAmp of channel 26
MainAmpGeo27 int(10) The corresponding address of MainAmp of channel 27
MainAmpGeo28 int(10) The corresponding address of MainAmp of channel 28
MainAmpGeo29 int(10) The corresponding address of MainAmp of channel 29
MainAmpGeo30 int(10) The corresponding address of MainAmp of channel 30
MainAmpGeo31 int(10) The corresponding address of MainAmp of channel 31
MainAmpGeo32 int(10) The corresponding address of MainAmp of channel 32
Gain1 int(10) The gain value of channel 1, now is not used
Gain2 int(10) The gain value of channel 2, now is not used
Gain3 int(10) The gain value of channel 3, now is not used
Gain4 int(10) The gain value of channel 4, now is not used
Gain5 int(10) The gain value of channel 5, now is not used
Gain6 int(10) The gain value of channel 6, now is not used
Gain7 int(10) The gain value of channel 7, now is not used
73
Gain8 int(10) The gain value of channel 8, now is not used
Gain9 int(10) The gain value of channel 9, now is not used
Gain10 int(10) The gain value of channel 10, now is not used
Gain11 int(10) The gain value of channel 11, now is not used
Gain12 int(10) The gain value of channel 12, now is not used
Gain13 int(10) The gain value of channel 13, now is not used
Gain14 int(10) The gain value of channel 14, now is not used
Gain15 int(10) The gain value of channel 15, now is not used
Gain16 int(10) The gain value of channel 16, now is not used
Gain17 int(10) The gain value of channel 17, now is not used
Gain18 int(10) The gain value of channel 18, now is not used
Gain19 int(10) The gain value of channel 19, now is not used
Gain20 int(10) The gain value of channel 20, now is not used
Gain21 int(10) The gain value of channel 21, now is not used
Gain22 int(10) The gain value of channel 22, now is not used
Gain23 int(10) The gain value of channel 23, now is not used
Gain24 int(10) The gain value of channel 24, now is not used
Gain25 int(10) The gain value of channel 25, now is not used
Gain26 int(10) The gain value of channel 26, now is not used
Gain27 int(10) The gain value of channel 27, now is not
74
used
Gain28 int(10) The gain value of channel 28, now is not used
Gain29 int(10) The gain value of channel 29, now is not used
Gain30 int(10) The gain value of channel 30, now is not used
Gain31 int(10) The gain value of channel 31, now is not used
Gain32 int(10) The gain value of channel 32, now is not used
CPUs text ->Computer
BelongsTo text ->Crate
BelongsToEMC text -> EMCSubSystem
6.51. table: ETC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress smallint(5) Physical address
Enable varchar(10) Enable module
DAC int(10) DAC value
CAL int(10) CAL
CSR int(10) Control status register
BelongsTo text ->Crate
6.52. table: EmulatedDataOut
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
75
OutputDelay int(10) Output delay
SamplingGap int(10) Sampling gap
FormattedOutput varchar(10) Boolean flag. Set to true when data have to be written to a file using the EventStorage library.
EventStorageConfiguration text get parameters to write data with event storage.
6.53. table:EmulatedHardwareTriggerIn
Internal generation of Hardware Triggers. Emulates CORBO, TCP or other real hardware triggers.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DeleteGrouping int(10) groups the delete messages which go to the inout channels
RequestType enum('HWTriggeredROSDataRequest', 'HWTriggeredRODEmulationRequest', 'HWTriggeredRemoteRequest')
Type of Request to be generated and queued by this Trigger
6.54. table: EmulatedReadoutModule
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) states if data coming into the device shall be swapped or not.
76
PhysicalAddress int(10) Physical address of the module.
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
GetFragmentDelay int(10) Delay of get fragment
MessageDelay int(10) Message delay
ReleaseDelay int(10) Release delay
ReleaseGroupDelay int(10) Delay of release group
GetMissingFragment float Get missing fragment
DetEvType int(10) DetEvType
NumberOfStatusElements int(11) Number of status element
StatusBlockPosition int(10) Status block position
DataSize enum('FIXED', 'RANDOM') Data size
MCFileName text MC file name
6.55. table: EmulatedSequentialReadoutModule
Readout module that emulates sequential input.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) states if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
6.56. table: EmulatedSingleFragmentReadoutModule
ReadoutModule for testing ROD emulation. Corresponding data channels create emulated hardware fragments via getNextFragment().
Field Type Descriptions
77
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) states if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
6.57. table: EmulatedTriggerIn
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
L2RequestFraction float L2 request fraction
L2RequestAll text L2 request ALL
EBRequestFraction float EB request fraction
DeleteGrouping int(10) groups the delete messages which go to the inout channels
InputDelay int(10) Input delay
ROIDistribution int(10) Description of the probability (%) of the distribution of RoIs over the various ROLs in a ROS. Sum should be 100."
6.58. table: EthSequentialReadoutModule
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) states if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
78
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
6.59. table: EventCastorStorage
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
EnableCastor varchar(10) Castor writing enable flag
BufferSize_kB int(10) Buffer size in kb for one rfio_write. Performance will be low if buffer_size less than 50KB
DirectoryToWrite text Directory in which the data will be written
MaxEventsPerFile int(10) Maximum number of events in an output file. The new file is open automatically by EventStorage
MaxMegaBytesPerFile int(10) Max size of an output file in MB. New file is open automatically byEventStorage
6.60. table: EventStorage
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DisableWriting varchar(10) Writing disenable flag.
DirectoryToWrite text Directory in which the data will be written
MaxEventsPerFile int(10) Maximum number of events in an output file. The new file is open automatically by EventStorage."
MaxMegaBytesPerFile int(10) Max size of an output file in MB. New file is open automatically by EventStorage.
79
6.61. table: FCTL
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress smallint(5) Physical address
Enable varchar(10) Enable module
BelongsTo text ->Crate
6.62. table: FEMApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies; means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR',
The application is started at appropriate moment if the value is not
80
'Shutdown', 'UserDefined')
equal to UserDefined(SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
81
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
belongs_to text ->DCMulticastGroupLink to multicast groups this node belongs to.
Interfaces text ->InterfaceMapDescribes alternative interfaces for message passing
FEMConfiguration text ->FEMConfiguration
6.63. table: FEMConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Detector text Detector
NumberOfTrigger int(10) Number of trigger
NormalModeSelfL1 smallint(5) Normal mode self L1
ROS text ->ROS
NonDataPPCModule text PPCModule
NonPhysicsParams text NonPhysicsParams
6.64. table: FilarReadoutModule
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) states if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
82
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
RevisionNumber int(10) Revision number of FILAR
FastTestMode int(10) Allows to control whether event data should go to the output stage (for experts). Possible values: 0 - all events to output (default); 1 - no events to output; 2 - 1% of events to output
6.65. table: FpgaProgram
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
BinaryName text Binary name
Description text Description
Authors text Authors
HelpURL text Help URL
VersionID int(10) Version number reported by this FPGA program when loaded.
CadProject text Name of the CAD project used to create the FPGA program (can be checked in the binary file).
CheckString text Some other string which can (optionally) be checked in the binary file.
Checksum int(10) Expected checksum of the binary file.
ChipType text Type of FPGA chip into which this program may be loaded
FlashRamBlock int(10) Block within flash RAM to download this FPGA program.
SourceURL text URL for downloading new versions of the binary file
ProgramType text Function of this FPGA program
DeviceName text Name of FPGA device on the module for which this
83
FPGA program is intended.
Needs text ->RM_Resource
BelongsTo text ->SW_Repository A software object can belong to some software repository.
Uses text ->SW_Repository A software object can use zero or many software repositories (here uses means that at least it needs shared libraries from them).
6.66. table: GATHERERApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined(SOR/EOR = Start/End of run).
84
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
HW_Object text ->HW_Object
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
GATHERERConfiguration text -> GATHERERConfigurationRelation to the GATHERER configuration.
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
6.67. table: GATHERERConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
85
OID varchar(255) Object id
physicsAnalysisLibrary text Implementation of the Physics Library Framework to load.
MonObjectGroupConfNames text This is the list of MonObjectGroupConf names defined. Each of the names is associated with a MonObjectGroupConf object (UID).
6.68. table: HW_Object
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
6.69. table: HW_System
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Description text description
HelpLink text URL containing description.
State varchar(10) If the state is true, the hw device is On.
HW_Systems text ->HW_System
86
HW_Objects text ->HW_Object
6.70. table: HardwareTriggerIn
Base class for hardware triggers. Generates RODEmulation requests or ROSRequests (unusual).
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DeleteGrouping int(10) groups the delete messages which go to the inout channels
RequestType enum('HWTriggeredROSDataRequest', 'HWTriggeredRODEmulationRequest', 'HWTriggeredRemoteRequest')
Type of Request to be generated and queued by this Trigger
6.71. table: IOManager
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Trace int(10) defines the verbosity
Package int(10) Defines what package shall be debugged
QueueSize int(10) Determines how many requests can be pending inside the IOM
QueueUnblockOffset int(10) Determines when the Request queue shall be unblocked (low mark).
NumberOfRequestHandlers int(10) Defines how many requests can be processed in parallel in a IOM
RequestTimeOut int(10) Maximum time a Request survives in the
87
Request queue.
MonitoringScalingFactor int(10) Monitoring scaling factor
Trigger text -> ReadoutTrigger
ReadoutOutput text ->ReadoutOutput
ReadoutModule text ->ReadoutModule
MemoryConfiguration text ->MemoryPool
NonPhysicsStorage text ->EventStorage
6.72. table: InputChannel
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Id int(10) Identifier of the ROB. Unique across the system
ROLPhysicalAddress int(10) Address of the ROL
HW_Object text ->HW_Object
MemoryConfiguration text Links the ROB to a memory pool which is used to store events
BelongsTo text ->ReadoutModule
PPCModule text ->PPCModule
6.73. table: Interface
Field Type DescriptionsObj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
88
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
Label text Name of NetworkInterface Label to use for communication
6.74. table: InterfaceMap
Alternative interface to use for communication with Peer. If there is no mapping for a given peer class, the interface defaults to the hostname of the node as specified in Computer.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Peer enum('ROS', 'RoIB', 'L2SV', 'L2PU', 'DFM', 'SFI', 'SFO', 'EFPU', 'ALL')
Peer application class. The NetworkInterface with the given Label will be used for communication.
Label text Name of NetworkInterface Label to use for communication
Protocol enum('default', 'udp', 'tcp', 'rawsock')
Override the global protocol value for this connection."
6.75. table: JarFile
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
BinaryName text Binary name
Description text Description
Authors text Authors
HelpURL text Help URL
Needs text ->RM_Resource
89
BelongsTo text ->SW_Repository A software object can belong to some software repository.
Uses text ->SW_Repository A software object can use zero or many software repositories (here uses means that at least it needs shared libraries from them).
6.76. table: L2DummySteering
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
resultSize int(10) Describes the L2 Dummy Result size to be used
step text Relates to the Steps to be run during the execution of this Dummy Steering
6.77. table:L2DummyStep
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
nROB int(10) The number of ROB that should be pulled during this step processing.
burnTime int(10) Time to burn during this steps execution
subDetector tinyint(3) The subDetector from which this step should retrieve data from. A value of zero means the whole detector
acceptance float The acceptance rate for this step
6.78. table: L2PUApplication
Describes a single L2PU
90
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
91
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
HW_Object text ->HW_Object
belongs_to text ->DCMulticastGroupLink to multicast groups this node belongs to.
Interfaces text ->InterfaceMapDescribes alternative interfaces for message passing
L2PUConfiguration text ->L2PUConfiguration
92
6.79. table: L2PUConfiguration
Describes a group of L2PUs
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
handlerTimeout int(10) data handler timeout in micro seconds
noWorkerThreads int(10) number of worker threads for this PU
DataRequestDestination enum('PC', 'ROBIN')
Indicates whether the L2PU should ask data to a ROS PC or directly to a ROBIN
maxOutstanding_ROS_requests int(10) The maximum number of requests that the L2PU can simultanously have outstanding to ROSses
RoI_retries int(10) The maximum number of times that the L2PU reasks a ROI
physicsAnalysisLibrary text The name of the shared library objects to be loaded, that contain the Physics Analysis Framework implementation to be used.
physicsAnalysisConfiguration text A string that defines the sole configuration parameter for the Physics Analysis Framework being used
robDataSize int(10) The number of words (1 word == 4 bytes) that goes in each RODFragment sent by the ROS emulator into the L2PU
appendL1Result varchar(10) The L2PU adds the L1Result ROB to the LVL2Result ROSFragment if true
93
6.80. table: L2SVApplication
Describes a single L2SV
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
94
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
belongs_to text ->DCMulticastGroupLink to multicast groups this node belongs to.
Interfaces text ->InterfaceMapDescribes alternative interfaces for message passing
95
L2SVConfiguration text ->L2SVConfiguration
6.81. table: L2SVConfiguration
Describes a group of L2SVs
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
l2puQueueSize int(11) Number of events allowed in L2PU queue
dfmThreshold int(11) Number of L2Decisions to group before sending to DFM
l1SourceType text Type of L1Source to use
loadBalanceType text Identifies the load balancing method
l2puTimeout int(11) Timeout (milliseconds) for L2PU to return a decision
eventMax int(11) Max number of of events in this run. If zero, run forever (until stop by RC)
eventDelay int(11) Sleep in milliseconds between each event.Should be frequency in Hz?
l2puDisableLimit int(10) Number of consecutive timeouts to disable a L2PU. Zero means that L2PUs are never disabled. The L2SV is informed via IS when a L2PU can be enabled
6.82. table: Layers
Class Layers describes cell num of all layer of the subdetector
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
EastWestSide enum('East', 'West') East or west side
CellNum smallint(5) Cells num with every layer
96
6.83. table: LinkInterface
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
Label text Name of NetworkInterface Label to use for communication
Type enum('source', 'destination')
Hardware manufacture type.
6.84. table: MCC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress smallint(5) Physical address
Enable varchar(10) Enable module
LatencyToT0 int(10) Latency to T0
BelongsTo text ->Crate
6.85. table: MDCCalibration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
97
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
MySQLEnable varchar(10) If it is enable, the calibration result will be write into mysql database.
HistogramEnable varchar(10) If it is enable, the calibration data will be fill in histogram.
AbnormalChooseEnable varchar(10) Choose abnormal channel
FitHandler text Simulate type: linear, quadric
DACBegin smallint(5) Begin value of DAC
DACEnd smallint(5) End value of DAC
DACStep smallint(5) Step value of DAC
T0Begin smallint(5) Begin value of T0
T0End smallint(5) End value of T0
T0Step smallint(5) Step value of T0
MDCChooseRange text ->MDCChooseRange
6.86. table: MDCChooseRange
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
A0Max float Maximum value of a0
A0Min float Minimum value of a0
A1Max float Maximum value of a1
A1Min float Minimum value of a1
A2Max float Maximum value of a2
A2Min float Minimum value of a2
RMSMax float Maximum value of rms
RMSMin float Minimum value of rms
98
6.87. table: MDCPed
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
RuntimesForNonNormalRun smallint(5) Run times
MySQLEnable varchar(10) If it is enable, the calibration result will be write into mysql database.
HistogramEnable varchar(10) If it is enable, the calibration data will be fill in histogram.
6.88. table: MDCSubSystem
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DAC int(10) DAC value
ControlRegister int(10) Control register
TriggerLatencyRegister smallint(5) Trigger latency register
SampleWindowRegister int(10) Sample wimdow register
TimeHighThreshold int(10) High threshold of Time
TimeLowThreshold int(10) Low threshold of Time
TimeSampleWindowRegister int(10) Time sample window register
QThreshold int(10) Threshold of Q
TimeChannelEnable int(10) Whether enable the time channel
6.89. table: MDC_Inner
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
99
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DAC int(10) DAC value
ControlRegister int(10) Control register
TriggerLatencyRegister smallint(5) Trigger latency register
SampleWindowRegister int(10) Sample wimdow register
TimeHighThreshold int(10) High threshold of Time
TimeLowThreshold int(10) Low threshold of Time
TimeSampleWindowRegister int(10) Time sample window register
QThreshold int(10) Threshold of Q
TimeChannelEnable int(10) Whether enable the time channel
MQT text ->MQT
6.90. table: MDC_Outer
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DAC int(10) DAC value
ControlRegister int(10) Control register
TriggerLatencyRegister smallint(5) Trigger latency register
SampleWindowRegister int(10) Sample wimdow register
TimeHighThreshold int(10) High threshold of Time
TimeLowThreshold int(10) Low threshold of Time
TimeSampleWindowRegister int(10) Time sample window register
QThreshold int(10) Threshold of Q
TimeChannelEnable int(10) Whether enable the time channel
MQT text ->MQT
100
6.91. table: MDC_Step
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DAC int(10) DAC value
ControlRegister int(10) Control register
TriggerLatencyRegister smallint(5) Trigger latency register
SampleWindowRegister int(10) Sample wimdow register
TimeHighThreshold int(10) High threshold of Time
TimeLowThreshold int(10) Low threshold of Time
TimeSampleWindowRegister int(10) Time sample window register
QThreshold int(10) Threshold of Q
TimeChannelEnable int(10) Whether enable the time channel
MQT text ->MQT
6.92. table: MQT
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Type text Module type.
Location text Physical location of module.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
PhysAddress int(10) Physical address of module
CommAddress int(10) Communication address
101
Position smallint(5) Position of module
Width smallint(5) width
LogicalId int(10) Logical id
TriggerLatencyRegister int(10) Trigger latency register
SampleWindowRegister int(10) Sample window register
Channel1 int(10) The channel information of channel 1
Channel2 int(10) The channel information of channel 2
Channel3 int(10) The channel information of channel 3
Channel4 int(10) The channel information of channel 4
Channel5 int(10) The channel information of channel 5
Channel6 int(10) The channel information of channel 6
Channel7 int(10) The channel information of channel 7
Channel8 int(10) The channel information of channel 8
Channel9 int(10) The channel information of channel 9
Channel10 int(10) The channel information of channel 10
Channel11 int(10) The channel information of channel 11
Channel12 int(10) The channel information of channel 12
Channel13 int(10) The channel information of channel 13
Channel14 int(10) The channel information of channel 14
Channel15 int(10) The channel information of channel 15
Channel16 int(10) The channel information of channel 16
Channel17 int(10) The channel information of channel 17
Channel18 int(10) The channel information of channel 18
Channel19 int(10) The channel information of channel 19
Channel20 int(10) The channel information of channel 20
Channel21 int(10) The channel information of channel 21
Channel22 int(10) The channel information of channel 22
Channel23 int(10) The channel information of channel 23
Channel24 int(10) The channel information of channel 24
Channel25 int(10) The channel information of channel 25
Channel26 int(10) The channel information of channel 26
Channel27 int(10) The channel information of channel 27
Channel28 int(10) The channel information of channel 28
102
Channel29 int(10) The channel information of channel 29
Channel30 int(10) The channel information of channel 30
Channel31 int(10) The channel information of channel 31
Channel32 int(10) The channel information of channel 32
Enable varchar(10) Enable the module
DAC int(10) Control status register
TimeHighThreshold int(10) High threshold of Time
TimeLowThreshold int(10) Low threshold of Time
TimeTriggerLatencyRegister int(10) Time trigger lantency register
TimeSampleWindowRegister int(10) Time sample window register
TimeChannelEnable int(10) Whether enable the time channel
ControlRegister int(10) Control register
QTHitOption int(10) Q,T hit option
CPUs text ->Computer
BelongsTo text ->Crate
BelongsToMDC text ->MDCSubsystem
6.93. table: MROC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress int(10) Physical address
Enable varchar(10) Enable the module
BelongsTo text ->Crate
6.94. table: MTI
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
103
OID varchar(255) Object id
PhysAddress int(10) Physical address
Enable varchar(10) Enable the module
BelongsTo text ->Crate
6.95. table: MUONROC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress int(10) Physical address
Enable varchar(10) Enable the module
TriggerRate int(10) Trigger rate
TriggerMode int(10) Trigger mode
BelongsTo text ->Crate
6.96. table: MUONROMO
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress int(10) Physical address
Enable varchar(10) Enable the module
TriggerSource int(10) VME ROMO module count:1VME ROC module drive:2LEMO of VME ROMO module:3
DataSource int(10) Chain Control FPGA:1Chain simulator:2detector:3
DataFormat int(10) meta data:0compress data:1
104
Pattern int(10) Pattern
Threshold int(10) Threshold
Test int(10) Test
FECNumber int(10) FEC number
TriggerLatency int(10) Trigger latency
BelongsTo text ->Crate
BelongsToMUON text ->MUONSubSystem
6.97. table: MUONSubSystem
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Description text description
HelpLink text URL containing description.
State varchar(10) If the state is true, the hw device is On.
LogicalId tinyint(3) Logical id
TriggerSource int(10) VME ROMO module count:1VME ROC module drive:2LEMO of VME ROMO module:3
DataSource int(10) Chain Control FPGA:1Chain simulator:2detector:3
DataFormat int(10) meta data:0compress data:1
Pattern int(10) Pattern
Threshold int(10) Threshold
Test int(10) Test
FECNumber int(10) FEC number
TriggerLatency int(10) Trigger latency
HW_Systems text ->HW_System
HW_Objects text ->HW_Object
105
Crates text ->Crate
Layers text ->Layer
6.98. table: MemoryPool
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Type enum('MALLOC', 'CMEM', 'CMEM_BPA')
Type of memory to use.
NumberOfPages int(10) Number of pages in the pool.
PageSize int(10) Size of an individual memory page.
6.99. table: MessageLossEmulation
Allows to emulate the loss of several types of messages arriving to a ROS (clear, ROI and EB), in terms of percentage.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ClearLostPercent int(10) Percentage (0..100) of lost clear messages.
ROILostPercent int(10) Percentage (0..100) of lost ROI messages.
EBLostPercent int(10) Percentage (0..100) of lost EB messages.
6.100. table: Methods
Field Type Descriptions
Id int(11) Auto increment, primary key
ClassId int(11) Datafile id, ->Data.DataFileId
Name tinytext Object id
106
Language tinytext The language of the program used
Prototype text Program prototype
Body text Program body
Description text description
6.101. table: Module
Class Module describes a generic module.It has a lot of subclasses.Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Type text Module type.
Location text Physical location of module.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
PhysAddress int(10) Physical address of module
CommAddress int(10) Communication address
Position smallint(5) Position of module
Width smallint(5) width
LogicalId int(10) Logical id
TriggerLatencyRegister int(10) Trigger latency register
SampleWindowRegister int(10) Sample window register
Channel1 int(10) The channel information of channel 1
Channel2 int(10) The channel information of channel 2
Channel3 int(10) The channel information of channel 3
Channel4 int(10) The channel information of channel 4
Channel5 int(10) The channel information of channel 5
Channel6 int(10) The channel information of channel 6
Channel7 int(10) The channel information of channel 7
107
Channel8 int(10) The channel information of channel 8
Channel9 int(10) The channel information of channel 9
Channel10 int(10) The channel information of channel 10
Channel11 int(10) The channel information of channel 11
Channel12 int(10) The channel information of channel 12
Channel13 int(10) The channel information of channel 13
Channel14 int(10) The channel information of channel 14
Channel15 int(10) The channel information of channel 15
Channel16 int(10) The channel information of channel 16
Channel17 int(10) The channel information of channel 17
Channel18 int(10) The channel information of channel 18
Channel19 int(10) The channel information of channel 19
Channel20 int(10) The channel information of channel 20
Channel21 int(10) The channel information of channel 21
Channel22 int(10) The channel information of channel 22
Channel23 int(10) The channel information of channel 23
Channel24 int(10) The channel information of channel 24
Channel25 int(10) The channel information of channel 25
Channel26 int(10) The channel information of channel 26
Channel27 int(10) The channel information of channel 27
Channel28 int(10) The channel information of channel 28
Channel29 int(10) The channel information of channel 29
Channel30 int(10) The channel information of channel 30
Channel31 int(10) The channel information of channel 31
Channel32 int(10) The channel information of channel 32
Enable varchar(10) Enable the module
CPUs text ->Computer
BelongsTo text ->Crate
6.102. table: MonObjectGroupConf
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
108
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
MatchingChar text Name od the MonObjectGroupConf. Each object constains the configuration for a series of MonObjects selected by the MatchingChar.
ServerNames text These are the servers where the GATHERER will publish the info.
ClientProtocol enum('ONLINE', 'DIM')
Client protocol for the MonObjectGroupConf. The GATHERER receives info via any of these protocols (ONLINE, DIM).
ServerProtocol enum('ONLINE', 'DIM')
Server protocol for the MonObjectGroupConf. The GATHERER publishes info via any of these protocols (ONLINE, DIM).
InfoTreatment enum('sumUp', 'substitute')
What the GATHERER does with the info:sumUp - sum information substitute - replace old by new info
RetrievalMode enum('pull', 'waitInfo')
How the info is sent to the GATHERER:pull - push mode with some frequency waitInfo info sent after condition is met
BroadcastMode enum('request', 'condition')
How the GATHERER publishes the info: request - requested by client condition sent when condition is met
Frequency int(10) Frequency (time in seconds) at which the MonObjects in MonObjectGroupConf will update.
6.103. table: MonitoringApplication
This class is used for easy identification of monitoring applications. It is expected it will have direct attributes in future.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart
109
application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
110
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
6.104. table: MySQLConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Server text The address of MySQL server run
User text The user name log in the MySQL server
Passwd text The password of the user which is used to log in the MySQL server
6.105. table: Network
Field Type DescriptionsObj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
IPMask text IP mask
EndPoints text -> NetworkInterface
6.106. table: NetworkInterface
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
111
Name text Name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
Label text Name of NetworkInterface label to use for communication
IPAddress text The hostname or dotted IP address for this interface.
MACAddress text The ethernet MAC address in AA:BB:CC:DD:EE:FF notation.
6.107. table: NonPhysicsParams
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Enable varchar(10) Enable the non physics parameter
RootStorageConfiguration text RootStorage
RuntimesForNonNormalRun smallint(5) Run times
MySQLConfiguration text ->MySQLConfiguration
MDCCalibration text ->MDCCalibration
EMCCalibration text ->EMCCalibration
TOFCalibration text ->TOFCalibration
MDCPed text ->MDCPed
EMCPed text ->EMCPed
TOFPed text ->TOFPed
EMCMonitor text ->EMCMonitor
TOFMonitor text ->TOFMonitor
112
6.108. table: NullTriggerIn
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DeleteGrouping int(10) groups the delete messages which go to the inout channels
6.109. table: OHCApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown',
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR =
113
'UserDefined') Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
114
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
OHCConfiguration text -> OHCConfiguration
6.110. table: OHCConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Histograms text ->OHCHistogram
6.111. table: OHCHistogram
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text The string defines name of the OHCHistogram.
OHServer text The OH Server name which the histogram will be publish to
Provider text The Proivder name of the histogram
SubDetector text ->Detector
CheckingMethod text ->OHCMethod
CheckingCrates text ->Crate
6.112. table: OHCMethod
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
115
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Custom Varchar(255) Custom histogram checking.
Hitmap enum('DeadChannel', 'Threshold', 'HugeChannel')
Hit map histogram checking.
Value enum('Mean', 'RMS', 'LowThreshol') Value map histogram checking.
RefHisto enum('Chi2', 'Kolmogorov') Reference Histogram Compare
6.113. table: OHFCell
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
EastWestSide enum('East', 'West') East or west side
LayerId smallint(5) Layer id
CellId smallint(5) Cell id
6.114. table: OHFCellSet
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
FirstCell text ->OHFCell, the number of first cell
LastCell text ->OHFCell, the number of last cell
6.115. table: OHFConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
116
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
EnableFill varchar(10) Flag to enable filling all histogram
EventFillRatio int(10) The ration of event fill into histograms is 1/n
L1EventTypeMask Int(32) The mask for AND with L1 event type of the data will be filled.
EnablePublish varchar(10) Flag to enable publish all histogram
PublishDelayTime_s smallint(5) Delay time to publish high level histograms
MediumDelayRatio smallint(5) elay time ratio with PublishDelayTime_s to publish medium level histograms
LowDelayRatio smallint(5) Delay time ratio with PublishDelayTime_s to publish low level histograms
OHFHistograms text ->OHFHistogram
DefaultPublishConf text ->OHFPublishConf
6.116. table: OHFEFViarable
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
SubDetector enum('EF', 'MDC', 'TOF', 'EMC', 'MUC')
Sub detecotor of the viarable.
Index tinyint(3) The index of the viarable in the sub detector’s viarables.
DataType enum('Int', 'Float') The data type of the viarable
EventTypeMask int(10) The mask for OR with event type of the data will be filled.
6.117. table: OHFFillingConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
117
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
RangeType enum('Whole', 'Each')
Describe whole the Layers and Cells will be filled in one histo or each Layer or Cell will be filled respective histos.
OHFFillingRange text ->OHFFillingRange
6.118. table: OHFFillingRange
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
OHFCells text ->OHFCell
OHFCellSets text ->OHFCellSet
OHFLayers text ->OHFLayer
OHFLayerSets text ->OHFLayerSet
MUCLayerSet text ->MUCLayerSet
6.119. table: OHFHistogram
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text The string defines name of the OHFHistogram.
Title text Histogram title
EnableFill varchar(10) Enable flag for filling this histogram.
HistoType enum('Hit', 'Value', 'Other')
Type of histogram
TQType enum('T', 'Q', 'TandQ', 'QandT', 'Other')
TQ type of filling(contents depends on FillingType(Hit or Value))
118
OHFHistogramAxes text ->OHFHistogramAxes
SubDetector text ->Detector
OHFFillingConfiguration text ->OHFFillingConfiguration
OHFPublishConf text ->OHFPublishConf
6.120. table: OHFHistogramAxes
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Axes_lable text Lables for axes.
Axes_type enum('NoAxis', 'FixedAxis', 'VariableAxis')
Types of different axes
Axes_cbins int(11) Bins counts for axes.
Axes_low double Low of Axes ranges (contents depends on axes types).
Axes_up double Up of Axes ranges (contents depends on axes types).
6.121. table: OHFHistogramInfo
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text The string defines name of the OHFHistogram.
Title text Histogram title
OHFHistogramAxes text ->OHFHistogramAxes
6.122. table: OHFLayer
Field Type Descriptions
119
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
EastWestSide enum('East', 'West') East or west side
LayerId smallint(5) Layer id
6.123. table: OHFLayerSet
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
FirstLayer text ->OHFLayer, the first layer
LastLayer text ->OHFLayer, the last layer
6.124. table: OHFMUCLayerSet
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PartitionID tinyint(3) The id of partition
GroupingType enum('Seg', 'Layer')
Indicate the histogram will be gourped by Seg or Layer (every the same layer of all Seg).
SegmentID tinyint(3) Segment id
LayerID tinyint(3) Layer id
6.125. table: OHFPublishConf
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
120
OID varchar(255) Object id
OHServer text The OH Server name which the histogram will be publish to
Publish_Level enum('High', 'Medium', 'Low', 'PublishAtEndRun', 'NoPublish')
The level of publish.
NumEntriestoPublish int(10) Histogram can be published when the number of new filled entries is more than this number.
6.126. table: OHGApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
121
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
122
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
OHGConfiguration text -> OHGConfiguration
6.127. table: OHGConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Histograms text ->OHGHistogram
DefaultPublishConf text ->OHFPublishConf
Providers text ->OHGProviders
OHFConfiguration text ->OHFConfiguration
6.128. table: OHGHistogram
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
LayerDivide varchar(10) Set the flag for dividing a whole hitmap histogram by layer.
ProfileHisto enum('None', 'PhiProfile', 'ZProfile', 'PhiandZProfile')
Rebin the histogram to pofile histogram by Phi or Z way.
OHFHistogram text ->OHFHistogram
PublishConf text ->OHFPublishConf
Providers text ->OHGProviders
6.129. table: OHGProviders
Field Type Descriptions
123
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Providers text The OHG provider
6.130. table: OHSApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
124
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
OHSConfiguration text ->OHSConfiguration
125
6.131. table: OHSConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DirectoryToWrite text The directory to write
6.132. table: OnlineSegment
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Segments text ->Segment
UsesObjects text -> HW_Object
UsesSystems text -> HW_System
Resources text -> Resource
Infrastructure text Infrastructure applications are started before any other applications from given and all included segments.
Applications text -> Application
ProcessEnvironment text -> Parameter
IsControlledBy text ->RunControlApplication
DefaultTags text ->Tag
JarFiles text -> JarFile
Parameters text Parameters which are used by database objects belonging to this segment.
PmgAgent text ->SW_Object Points to the software object describing process-manager-agent
126
program.
PartitionIndependentApplications text ->Application
6.133. table: PPCApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others,
127
e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
belongs_to text ->DCMulticastGroupLink to multicast groups this node belongs to.
Interfaces text ->InterfaceMap
128
Describes alternative interfaces for message passing
PPCConfiguration text -> PPCConfiguration
6.134. table: PPCConfiguration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
NumberOfTrigger int(10) Number of trigger
ROS text ->ROS
NonDataPPCModule text ->PPCModule
6.135. table: PPCModule
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress smallint(5) Physical address
Enable varchar(10) Enable the module
PPCId smallint(5) The id of PowerPC module
PowerPCPort smallint(5) The port of PowerPC module
PowerPC_IPAddress text The IP address of PowerPC module
BelongsTo text ->Crate
6.136. table: PTApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
129
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a
130
state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfig
HW_Object text ->HW_Object
PTConfiguration text ->PTConfiguration Relation to the Processing Task configuration object
subFarm text ->EF_SubFarm The subfarm the PT belongs to
6.137. table: PTConfiguration
Configuration of a particular Processing Task
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
131
OID varchar(255) Object id
physicsAnalysisLibrary text Implementation of the physics analysis framework to load
physicsAnalysisConfiguration text Configuration string to pass to the implementation of the physics analysis framework
ptioLibrary text DLL implementing the event source
ptioConfiguration text Configuration string to pass to the implemetation of ptio interface
answerList text Kinds of answer from EFD.
6.138. table: Parameter
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Description text Describes the purpose of the parameter.
6.139. table: Partition
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text name
RepositoryRoot text The root of repository
IPCRef text Defines IPC init reference. By default, it is copied from the variable TDAQ_IPC_INIT_REF defined in the process environment and passed to environment of all applications of such partition.
DBPath text Defines locations of database repositories (i.e. OKS_DB_ROOT). By default, it is
132
copied from the variable TDAQ_DB_PATH defined in the process environment and passed to environment of all applications of such partition.
DBName text Defines database name, e.g. name of the OKS data file. By default, it is copied from the variable TDAQ_DB_DATA defined in the process environment and passed to environment of all applications of such partition.
DBTechnology enum('rdbconfig', 'oksconfig')
Defines config database technology implementation to be used by all processes running in given partition. Defines TDAQ_DB variable to be passed to all applications of the partition.
LogRoot text Defines root directory for log files.
WorkingDirectory text Defines directory, where a new process run by pmg will be started.
RunTypes text The type of run
EventNumberSource text A string to specify the name of the IS information used as event number.
Segments text -> Segment
DefaultHost text ->Computer, the default host to run the partition
OnlineInfrastructure text -> OnlineSegment , Defines online infrastructure segment.
DataFlowParameters text -> DataFlowParameters , A partition may have one data-flow parameters set.
DefaultTags text ->Tag
Disabled text ->Component , Lists segments and resources, which are temporary disabled.
ProcessEnvironment text -> Parameter
Parameters text -> Parameter
6.140. table: Platform
Field Type Descriptions
133
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
HW_Tag enum('i686-slc3', 'i686-rh73')
Set of all available hardware tags in the format: hardware platform-operating system;
6.141. table: PreloadedReadoutModule
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) States if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
6.142. table: PseudoROSModule
Describes the parameters needed for a pseudo ros.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) States if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
TriggerQueue enum('Trgin', 'Direct') Describes the way in which the trigger is activated.
134
6.143. table: PtDummySteering
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
resultSize int(10) Size of the ef output extension. It should be given in 32bin words.
burnTime int(10) Burn time in microseconds
acceptance float Acceptance of ef selection
TimeOutFrequency int(10) How often timeout occurs.
MinRemainder int(10) Which event will timeout.
6.144. table: RCD
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Trace int(10) defines the verbosity
Package int(10) Defines what package shall be debugged
QueueSize int(10) Determines how many requests can be pending inside the IOM
QueueUnblockOffset int(10) Determines when the Request queue shall be unblocked (low mark).
NumberOfRequestHandlers int(10) Defines how many requests can be processed in parallel in a IOM
RequestTimeOut int(10) Maximum time a Request survives in the Request queue.
MonitoringScalingFactor int(10) Monitoring scaling factor
Name text Object name
Parameters text Command line parameters
135
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate momentif the value is not equal to UserDefined(SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
136
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
Id smallint(5) In ROD emulation, it’s the RCD module ID. It is included in the lower 16 bits of the source identifier of the ROD header.
Trigger text -> ReadoutTrigger
ReadoutOutput text ->ReadoutOutput
ReadoutModule text ->ReadoutModule
MemoryConfiguration text ->MemoryPool
NonPhysicsStorage text ->EventStorage
Detector text ->Detector, Relationship to associate a ROS to a detector.
Handles text ->InputChannel
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
137
6.145. table: RM_Computer_Resource
The RM_Computer_Resource class is used to describe limits of ComputerParameters to be used.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Description text Description
MaxCopyPerPartition int(11) Maximum copy number per partition
MaxCopyTotal int(11) Maximum copy number
HelpLink text Help link
Memory smallint(5) Memory in Mgb
CPU smallint(5) Computer performance.
6.146. table: RM_HW_Resource
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Description text Description
MaxCopyPerPartition int(11) Maximum copy number per partition
MaxCopyTotal int(11) Maximum copy number
HelpLink text Help link
HardwareClass text The hardware class
DB_Path text Database path
6.147. table: RM_Resource
The Resource class is used to describe shared and exclusive resources used by the
138
processes: the name of the resource, the maximum numbers of copies per partition and per system (i.e. total), and documentation (help URL and comments). The dynamic part of a resource includes the list of processes that allocated this resource.An example of a resource could be a run-time license (for example we can start limited number of processes with GUI that use some commercial widget). A resource can describe some hardware resources (for example we can not have two concurrent processes that write on the same type recorder device). The use of resources can be connected with the architecture of the process (for example, we do not want to allow start simultaneously several GUI editors for the same data, if there is no concurrent update of graphical view or the creator of software objects knows that it must be started only once per system or per partition, etc.).
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Description text Description
MaxCopyPerPartition int(11) Maximum copy number per partition
MaxCopyTotal int(11) Maximum copy number
HelpLink text Help link
6.148. table: RM_SW_Resource
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Description text Description
MaxCopyPerPartition int(11) Maximum copy number per partition
MaxCopyTotal int(11) Maximum copy number
HelpLink text Help link
6.149. table: ROS
Field Type Descriptions
139
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
140
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
Id smallint(5) Id of the ROS. It is included in the lower 16 bits of the source identifier of the ROS header.
Trace int(10) defines the verbosity
Package int(10) Defines what package shall be debugged
QueueSize int(10) Determines how many requests can be pending inside the IOM
QueueUnblockOffset int(10) Determines when the Request queue shall be unblocked (low mark).
NumberOfRequestHandlers int(10) Defines how many requests can be processed in parallel in a IOM
RequestTimeOut int(10) Maximum time a Request survives in the Request queue.
MonitoringScalingFactor int(10) Monitoring scaling factor
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
141
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
Detector text ->Detector, Relationship to associate a ROS to a detector.
Handles text ->InputChannel
belongs_to text Link to multicast groups this node belongs to.
Interfaces text Describes alternative interfaces for message passing
Trigger text -> ReadoutTrigger
ReadoutOutput text ->ReadoutOutput
ReadoutModule text ->ReadoutModule
MemoryConfiguration text ->MemoryPool
NonPhysicsStorage text ->EventStorage
6.150. table: ROSApplication
Describes a single ROS
Field Type DescriptionsObj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the
142
application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational
143
statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
Id smallint(5) Id of the ROS. It is included in the lower 16 bits of the source identifier of the ROS header.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
Detector text ->Detector, Relationship to associate a ROS to a detector.
Handles text ->InputChannel
belongs_to text Link to multicast groups this node belongs to.
Interfaces text Describes alternative interfaces for message passing
6.151. table: ROSE
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
144
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
145
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
Id smallint(5) Id of the ROS. It is included in the lower 16 bits of the source identifier of the ROS header.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfigCommon DF application info.
Detector text ->Detector, Relationship to associate a ROS to a detector.
Handles text ->InputChannel
belongs_to text Link to multicast groups this node belongs to.
Interfaces text Describes alternative interfaces for message passing
ROSEConfiguration text ->ROSEConfiguration, Global ROSE configuration settings
146
6.152. table: ROSEConfiguration
Describes a group of ROSEs
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
robDataSize int(10) The data size (in multiples of 4 bytes) returned by a requested ROB (same for all ROBs in one ROS)
storeSize int(10) number of LVL2Results in the PROS internal store
runMode text Mode one of Internal, Preloaded or PROS
6.153. table: Rack
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
Nodes text ->Computer
Crates text ->Crate, the crates install in the rack
6.154. table: ReadoutApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
147
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Detector text ->Detector, Relationship to associate a ROS to a detector.
Handles text ->InputChannel
6.155. table: ReadoutModule
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) States if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
6.156. table: ReadoutOutput
Field Type DescriptionsObj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255)
Object id
6.157. table: ReadoutTrigger
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DeleteGrouping int(10) groups the delete messages which go to the inout channels
148
6.158. table: Relationships
Field Type Descriptions
Id int(11) Auto increment, primary key
ClassId int(11) Datafile id, ->Data.DataFileId
Name tinytext Object id
RelClass tinytext Relation class
LowConstraint enum('Zero', 'One', 'Many') The constraint of the low end
HighConstraint enum('One', 'Many') The constraint of high end
ReferenceType enum('Weak (non Composite)', 'Dependent Exclusive', 'InDependent Exclusive', 'Dependent Shared', 'InDependent Shared')
Reference type
Description text description
6.159. table: Resource
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
HW_Object text ->HW_Object
6.160. table: RoIBApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
149
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a
150
controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfig
RoIBConfiguration text ->RoIBConfiguration
6.161. table: RoIBConfiguration
Describes the RoI Builder.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
roibTtype enum('TRG_RAM', 'TRG_ROD', 'TRG_TTC')
Method to trigger the RoIB
liveChannel smallint(5) Bit mask describing live input channels
eventrate smallint(5) integer setting the event rate
151
InputModuleSlots int(10) List of VME slots occupied by the Input Modules
OutputModuleSlots int(10) List of VME slots occupied by the Output Modules
ActiveInputChannels text List of input channels expected to receive data
ActiveOutputChannels text List of output channels on which assembled event fragments will be sent
EnableStandalone varchar(10) Flag to enable/disable standalone operation of the Input modules, i.e. capture data disregarding flow control from the Output modules
EnableFlowControl varchar(10) Flag to enable/disable flow control on the Output modules
MaxInputSkew int(10) Maximum time (microseconds) to allow between the first and last fragment received on the Input module
UsesTestFiles text List of test pattern files which will loaded into Diagnostic RAM of the Input modules
6.162. table: RobinDataChannel
ROL configuration.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Id int(10) Identifier of the ROB. Unique across the system
ROLPhysicalAddress int(10) Address of the ROL
TestSize int(10) The size of the generated fragments (in rolemu or roldatagen mode).
RolDataGen varchar(10) Enables the internal data generator (incompatible with rolemu).
DumpRolEnabled varchar(10) Enables dumping all data arriving on the ROL
152
to the serial PowerPC monitor.
DcNodeId int(10) Default just used to force serial number based calculation. Value = (sernum -1)*3 + channel# (e.g. sernum = 1 => 0,1,2))
HW_Object text ->HW_Object
MemoryConfiguration text Links the ROB to a memory pool which is used to store events
BelongsTo text ->ReadoutModule
PPCModule text ->PPCModule
ExpertParameters text ->RobinExpertParameter, ROL expert parameters, to be set ONLY by Robin experts.
6.163. table: RobinExpertParameter
Robin expert parameter, to be used ONLY by Robin experts.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name of the Robin expert parameter.
Value int(10) Value of the Robin expert parameter.
6.164. table: RobinReadoutModule
Robin board configuration.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) states if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
153
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
RevisionNumber int(10) Revision number of the ROBIN firmware.
Timeout float Timeout for PCI based communication with ROBIN in seconds.
NumberOfOutstandingReq int(10) The max. number of entries in the message passing FIFO that the application may use.
MsgInputMemorySize int(10) The amount of DPM in the Robin reserved for message passing.
MiscSize int(10) The amount of PC RAM reserved for the reception of messages other than event fragments.
BaseIPAddress text The Robin IP address for UDP.
NetworkEnabled varchar(10) Enables or disables the Robin GbE port.
EbistEnabled varchar(10) Enables or disables the extended BIST.
UDPBasePort int(10) The Robin base UDP port.
DebugEnabled varchar(10) Enables Robin debugging. This creates a verbose output at the PowerPC serial monitor only if a debug firmware is loaded.
belongs_to text Link to multicast groups this node belongs to.
Interfaces text Describes alternative interfaces for message passing
HasNetworkInterface text Describes the network interface of the ROBIN.
ExpertParameters text List of Robin expert parameters, to be used ONLY
154
by Robin experts.
6.165. table: RootStorage
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DirectoryToWrite text Directory in which the data will be written.
MaxEventsPerFile int(10) Maximum number of events in an output file. The new file is open automatically by RootStorage.
MaxMegaBytesPerFile int(10) Max size of an output file in MB. New file is open automatically byRootStorage.
6.166. table: RunControlApplication
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
155
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started
156
before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
6.167. table: SFIApplication
Describes a single SFI
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
157
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
158
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfig
HW_Object text ->HW_Object
belongs_to text Link to multicast groups this node belongs to.
Interfaces text Describes alternative interfaces for message passing
SFIConfiguration text ->SFIConfiguration
6.168. table: SFIConfiguration
Describes a group of SFIs
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DataRequestDestination enum('PC', 'ROBIN')
Indicates whether the SFI shall ask data to a ROS PC or directly to a ROBIN.
MaxAssignEvents int(10) Maximal number of events being build concurrently at one SFI before busy signal issued.
MaxOutputQueueSize int(10) Maximal number of completed events handled concurrently by the event handler of one SFI before busy signal issued.
TimeoutCycle_ms int(10) Time in milliseconds after which the credits of all events are decremented. Thus TimeoutCycle_ms * MaxReask = Timeout for the event assembling.
MaxReask int(10) Initial credit for each new event being deminished by timeout thread. If the credit is exhausted, the event has timed out.
TrafficShapingCredits int(10) SFI can do traffic shaping in pull mode. The traffic shaping parameter
159
defines the maximum number of outstanding data requests
SemaphoreConcentration int(10) Defines the significance of the Semaphore between the input thread and the request thread. The value of the attribute is the number of credits per semaphore switching
QueueConcentration int(10) Number of entries needed to wake up queue between the Input and the AssemblyThread
OutputStream enum('None', 'EFIO', 'DataFile')
Defines where complete events should go to.
ROS_DataSizeCookie_words int(10) Hardware ROB/ROS emulators send back data volume defined in a message header cookie.
MonitoringEnable varchar(10) Enables the Event Monitoring in the SFI
MonitoringSamplerQueueSize int(10) Number of event stored in the sampler queue for the monitoring
MonitoringRatio int(10) The ration of event put into the sampler queue for monitoring is 1/n
MonitoringDelay_ms int(10) delay between two events sent to the monitoring accumulator
EventStorageConfiguration text Get the parameters for the Event Storage
EFIOConfiguration text Reference to EFIOConfiguration
OHFConfiguration text ->OHFConfiguration
6.169. table: SFOApplication
Describes a single SFO
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Object name
160
Parameters text Command line parameters
RestartParameters text Command line parameters to restart application in case of application failure.
ControlledByOnline varchar(10) When the value is true, it is assumed that the application is controlled by the Online SW. This requires pmg_agent to be started at boot time on host where the application will be started.
IfDies enum('Error', 'Ignore', 'Restart')
If the application dies after succesfull start-up, it could be restarted. Dies means that the application exits.
IfFailed enum('Error', 'Ignore', 'Restart')
If the application failed, it could be restarted.Failed means that the application terminates due to a signal.
StartAt enum('Boot', 'SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is started at appropriate moment if the value is not equal to UserDefined(SOR/EOR = Start/End of run).
StopAt enum('SOR', 'EOR', 'Shutdown', 'UserDefined')
The application is stoped at appropriate moment if the value is not equal to UserDefined (SOR/EOR = Start/End of run).
InitTimeout int(10) Initialization timeout, i.e. maximum time for a process to go to state ready-to-communicate with others, e.g. a server start up time.
StartIn text Directory where to start the process.
InputDevice text If defined, it will be used as standard input.
Logging varchar(10) Indicates whether the stdout of this application shall be piped to /dev/null or stored in a log file
ActionTimeout int(11) Maximum time allowed to change a state.
ShortTimeout int(11) Minimum time allowed to change a state.
ProbeInterval int(11) Defines at what interval (in seconds) a
161
controller shall probe its children.
FullStatisticsInterval int(11) Defines at what time interval (in seconds) the controller shall request complete operational statistics to its children.
IfError enum('Error', 'Ignore', 'Restart', 'Handle')
This attribute is used by the parent controller to know how to react in case that this controlled application goes in Error state or sends a FATAL error.
RunsOn text Defines computer device where to start the process.
InitializationDependsFrom text Defines processes to be started before this one.
ShutdownDependsFrom text Defines shutdown order.
Program text Defines computer program to be used for this process.
ExplicitTag text If defined it points to the exact tag of computer program.
Uses text ->SW_Repository
ProcessEnvironment text ->Parameter
DFApplicationConfig text ->DFApplicationConfig
HW_Object text ->HW_Object
SFOConfiguration text ->SFOConfiguration
6.170. table: SFOConfiguration
Describes a group of SFOs
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
NumberOfBuffers int(10) Number of internal buffers of the SFO.
BufferSize_kB int(10) Size of each SFO buffer.
EFIOEventRequestTimeout_us int(10) Timeout in microseconds for the event data being received after an
162
EventRequest sent to the EFD.
EventTypeMask int(10) this mask decides which types of the events will be stored.
EventStorageConfiguration text ->EventStorage, Get parameters for event storage.
EventCastorStorageConfiguration text ->EventCastorStorage, Get parameters for event Castor storage.
EFIOConfiguration text Reference to EFIOConfiguration
6.171. table: Slink
Describes an S-Link connection.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
6.172. table: SLinkDataOut
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
SLinkOccurrence int(10) Slink occurrence
163
6.173. table: SLinkEthernet
S-Link connection emulation by means of an ethernet connection.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
6.174. table: SLinkFILAR
Describes a FILAR based S-Link connection.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
164
6.175. table: SLinkSSPCI
Describes an SSPCI based S-Link connection.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Type text Hardware manufacture type.
Location text Physical location of hw object.
Description text description
HelpLink text URL containing description.
InstallationRef text Reference to object from installation DB.
State varchar(10) If the state is true, the hw device is On.
6.176. table: SSPCIReadoutModule
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) States if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
6.177. table: SW_Object
This class is used to desribe platform independent part of DAQ software component from logical point of view. The platform dependent part is described by ‘Program’ class. To start DAQ software component it is necessary to create an instance of ‘SW_Object’class.
Field Type Descriptions
165
Obj_id int(11) Auto increment, primary key
FileId int(11) ->Data.DataFileId
OID varchar(255) Object id
Name text Name
BinaryName text Binary name
Description text Description
Authors text Authors
HelpURL text Help URL
Needs text ->RM_Resource
BelongsTo text ->SW_Repository A software object can belong to some software repository.
Uses text ->SW_Repository A software object can use zero or many software repositories (here uses means that at least it needs shared libraries from them).
6.178. table: SW_Repository
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text The string defines name of the software repository.
InstallationPath text The string defines the software repository installation path.
ISInfoDescriptionFiles text List of files desribing IS information produced by the computer programs of given repository.
SW_Objects text ->SW_Object,A software repository contains at least one software object. A referenced software object shall point to the same software repository (i.e. a software object can't be shared by several repositories).
Tags text ->Tag
166
Uses text ->SW_RepositoryDesfines others sw repositories which are used by given one.This adds paths to bin and lib directoris of the repositoty programs.
6.179. table: Schemes
this table describe the information of schema file, include file time, file name, file path and the content of the file.
Field Type Descriptions
SchemaFileId int(11) Auto increment, primary key
FileTime datetime File time
FileName varchar(255) File name
FileLocation varchar(255) File path
FileText text File content
6.180. table: Script
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
BinaryName text Binary name
Description text Description
Authors text Authors
HelpURL text Help URL
DefaultParameters text Default parameters
Shell text Used shell
Needs text ->RM_Resource
BelongsTo text ->SW_Repository A software object can belong to some software repository.
167
Uses text ->SW_Repository A software object can use zero or many software repositories(here uses means that at least it needs shared libraries from them).
ProcessEnvironment text ->Parameter
6.181. table: Segment
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Segments text ->Segment
UsesObjects text -> HW_Object
UsesSystems text -> HW_System
Resources text -> Resource
Infrastructure text Infrastructure applications are started before any other applications from given and all included segments.
Applications text -> Application
ProcessEnvironment text -> Parameter
IsControlledBy text ->RunControlApplication
DefaultTags text ->Tag
JarFiles text -> JarFile
Parameters text Parameters which are used by database objects belonging to this segment.
6.182. table: SpecificPackagesError
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, -
168
>Data.DataFileId
OID varchar(255) Object id
Package_ID tinyint(3) Package id
DebugLevel enum('DEBUGLEVEL0', 'DEBUGLEVEL1', 'DEBUGLEVEL2', 'DEBUGLEVEL3')
Debug level
SeverityLevel enum('INFO', 'WARNING', 'RECOVERABLE', 'FATAL')
Severity level
6.183. table: TCLK
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress smallint(5) Physical address
Enable varchar(10) Enable the module
ClockSource int(10) Clock source
BelongsTo text ->Crate
6.184. table: TCPDataOut
Output class for the IO Manager to send data through a TCP connection.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DestinationNode text Name or IP address of the destination node for event fragments
DestinationPort int(10) Destination port for the event fragments
SamplingGap int(10) Define the minimum gap between two sampled events. As a consequence, a maximum sampling ratio is defined.If the ThrowIfUnavailable parameter is true, sampled event can be skipped if there are no
169
resources available, else all the events are written as soon as possible.The default value (1) means that all the events are sent to the output, 0 means that no event is sent.
OutputDelay int(10) Delay the output
TCPBufferSize int(10) Size of the TCP internal buffer
ThrowIfUnavailable varchar(10) If the ThrowIfUnavailable parameter is true, sampled event can be skipped if no resources are vailable, else all the events are written as soon as possible, thus generating backpressure.
6.185. table: TCPTriggerIn
Trigger coming via TCP.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
DeleteGrouping int(10) groups the delete messages which go to the inout channels
RequestType enum('HWTriggeredROSDataRequest', 'HWTriggeredRODEmulationRequest', 'HWTriggeredRemoteRequest')
Type of Request to be generated and queued by this Trigger
TriggerSourceIPAddress text Trigger source network address.
TriggerSourcePort int(10) Trigger source network port. Cannot be zero.
ConnectTimeout int(10) Timeout to connect to trigger server (in sec).
ClearDelay int(10) Introduce a delay
170
before sending a clear to the server (for debug).
6.186. table: TCPTriggerReadoutModule
Trigger server module for remote TCPTriggerIns.
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
ByteSwapping varchar(10) States if data coming into the device shall be swapped or not.
PhysicalAddress int(10) Physical address of the module.
InputFragmentType enum('RODFragment', 'ROSFragment')
Indicates which type of fragment flows into the IOManager.
ConnectTimeout int(10) Time to accept connections during configuration.
TriggerSourcePort int(10) Trigger source network port. Cannot be zero.
6.187. table: TFEE
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress smallint(5) Physical address
Enable varchar(10) Enable the module
BarrelEnd int(10) The relation position is Barrel or end
ChannelEnable int(10) Channel enable
TriggerEnable int(10) Trigger enable
RejectLaten int(10) Reject latency
TriggerLatency int(10) Trigger latency
171
TriggerSearchWinT int(10) Trigger search window of T
TriggerMatchWinT int(10) Trigger match window of T
TriggerSearchWinQT int(10) Trigger search window of QT
TriggerMatchWinQT int(10) Trigger match window of QT
HitCountPerEventT int(10) Hit count per event T
HitCountPerEventQT int(10) Hit count per event QT
HighThreshold int(10) High threshold
LowThreshold int(10) Low threshold
HighThresholdQT int(10) QT high threshold
LowThresholdQT int(10) QT low threshold
ConstVoltage int(10) Const voltage
SelfTestSignalAmp int(10) Self test signal amplitude
SerialNum int(10) Serial number
Channel1 int(10) The channel information of channel 1
Channel2 int(10) The channel information of channel 2
Channel3 int(10) The channel information of channel 3
Channel4 int(10) The channel information of channel 4
Channel5 int(10) The channel information of channel 5
Channel6 int(10) The channel information of channel 6
Channel7 int(10) The channel information of channel 7
Channel8 int(10) The channel information of channel 8
Channel9 int(10) The channel information of channel 9
Channel10 int(10) The channel information of channel 10
Channel11 int(10) The channel information of channel 11
Channel12 int(10) The channel information of channel 12
Channel13 int(10) The channel information of channel 13
Channel14 int(10) The channel information of channel 14
Channel15 int(10) The channel information of channel 15
Channel16 int(10) The channel information of channel 16
BelongsTo text ->Crate
BelongsToTOF text ->TOFSubsystem
172
6.188. table: TMON
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress smallint(5) Physical address
Enable varchar(10) Enable the module
BarrelEnd int(10) The relation position is Barrel or end
ChannelEnable int(10) Channel enable
TriggerEnable int(10) Trigger enable
RejectLaten int(10) Reject latency
TriggerLatency int(10) Trigger latency
TriggerSearchWinT int(10) Trigger search window of T
TriggerMatchWinT int(10) Trigger match window of T
TriggerSearchWinQT int(10) Trigger search window of QT
TriggerMatchWinQT int(10) Trigger match window of QT
HitCountPerEventT int(10) Hit count per event T
HitCountPerEventQT int(10) Hit count per event QT
HighThreshold int(10) High threshold
LowThreshold int(10) Low threshold
HighThresholdQT int(10) QT high threshold
LowThresholdQT int(10) QT low threshold
ConstVoltage int(10) Const voltage
SelfTestSignalAmp int(10) Self test signal amplitude
SerialNum int(10) Serial number
Channel1 int(10) The channel information of channel 1
Channel2 int(10) The channel information of channel 2
Channel3 int(10) The channel information of channel 3
Channel4 int(10) The channel information of channel 4
Channel5 int(10) The channel information of channel 5
Channel6 int(10) The channel information of channel 6
173
Channel7 int(10) The channel information of channel 7
Channel8 int(10) The channel information of channel 8
Channel9 int(10) The channel information of channel 9
Channel10 int(10) The channel information of channel 10
Channel11 int(10) The channel information of channel 11
Channel12 int(10) The channel information of channel 12
Channel13 int(10) The channel information of channel 13
Channel14 int(10) The channel information of channel 14
Channel15 int(10) The channel information of channel 15
Channel16 int(10) The channel information of channel 16
LDPulseIntervalReg int(10) pulse interval of laser device
LDPulseNumReg int(10) Pulse number of laser device
MonitorL1LatencyReg int(10) Latency of monitor L1
LDPulseWidthReg int(10) Pulse width of laser device
MonitorL1PulseWidthReg int(10) Pulse width of monitor L1
L1DelayBitSelect int(10) Select the bit of L1 delay
LDSolenoid int(10) Laser device solenoid
BelongsTo text ->Crate
BelongsToTOF text ->TOFSubsystem
6.189. table: TOFCalibration
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
MySQLEnable varchar(10) If it is enable, the calibration result will be write into mysql database.
HistogramEnable varchar(10) If it is enable, the calibration data will be fill in histogram.
AbnormalChooseEnable varchar(10) Choose abnormal channel
FitHandler text Simulate type: linear, quadric
DACBegin smallint(5) Begin value of DAC
174
DACEnd smallint(5) End value of DAC
DACStep smallint(5) Step value of DAC
TOFChooseRange text ->TOFChooseRange
6.190. table: TOFChooseRange
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
A0Max float The maximum value of a0
A0Min float The minimum value of a0
A1Max float The maximum value of a1
A1Min float The minimum value of a1
A2Max float The maximum value of a2
A2Min float The minimum value of a2
RMSMax float The maximum value of rms
RMSMin float The minimum value of rms
6.191. table: TOFMonitor
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
RuntimesForNonNormalRun smallint(5) Run times
IntervalReg smallint(5) Interval time
PulseNum smallint(5) Pulse number
Solinoid smallint(5) solinoid
175
6.192. table: TOFPed
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
RuntimesForNonNormalRun smallint(5) Run times
MySQLEnable varchar(10) If it is enable, the calibration result will be write into mysql database.
HistogramEnable varchar(10) If it is enable, the calibration data will be fill in histogram.
6.193. table: TOFSubSystem
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text name
Description text description
HelpLink text URL containing description.
State varchar(10) If the state is true, the hw device is On.
LogicalId tinyint(3) Logical id
Enable varchar(10) Module enable
WorkMode int(10) Work mode
ChannelEnable int(10) Channel enable
TriggerEnable int(10) Trigger enable
RejectLaten int(10) Reject latency
TriggerLatency int(10) Trigger latency
TriggerSearchWinT int(10) Trigger search window of T
TriggerMatchWinT int(10) Trigger match window of T
TriggerSearchWinQT int(10) Trigger search window of QT
176
TriggerMatchWinQT int(10) Trigger match window of QT
HitCountPerEventT int(10) Hit count per event T
HitCountPerEventQT int(10) Hit count per event QT
HighThreshold int(10) High threshold
LowThreshold int(10) Low threshold
HighThresholdQT int(10) QT high threshold
LowThresholdQT int(10) QT low threshold
ConstVoltage int(10) Const voltage
SelfTestSignalAmp int(10) Self test signal amplitude
SerialNum int(10) Serial number
HW_Systems text ->HW_System
HW_Objects text ->HW_Object
Crates text ->Crate
Layers text ->Layer
6.194. table: TROC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
PhysAddress smallint(5) Physical address
Enable varchar(10) Enable module
ClockSource int(10) Clock source
L1Latency int(10) L1 lantency
TestL1 int(10) Test L1
AutoL1Interval int(10) Interval of auto L1
SemiAutoL1Num int(10) Number of semi auto L1
BelongsTo text ->Crate
177
6.195. table: Tag
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
HW_Tag enum('i686-slc3', 'i686-rh73') Hardware tag
SW_Tag enum('gcc32-opt', 'gcc32-dbg', 'gcc323-opt', 'gcc323-dbg', 'icc8-opt', 'icc8-dbg')
Software tag
6.196. table: Test
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
timeout int(11) timeout for test execution
parameters text Parameters used
host text host name where the test shall be executed
exec_mode enum('async', 'sync')
flag for concurrent or sequiential mode test execution
init_timeout int(11) PMG creation syncronization timeout
diagnosis text If test failed, this text will be presented to the user, as more detailed explanation of what is going wrong.
advice text If test failed, this text can be shown to the user. It contains advices on what can be done to repair the problem.
scope enum('any', 'absent', 'idle', 'run')
Defines the context in which the test execution is allowed.Can be:Any, absent, idle, run
178
complexity tinyint(3) Define levels of complexity of tests. If value is specified, only those tests will be executed. By default all tests are executed.
test_mask text The user can have access to a particular test (or group of tests) by setting the test_mask attribute. By default all tests have test_mask set to * meaning all tests are selected for execution.
interactive varchar(10) if set to true, the test is seen as an interactive test (or action). If set to false, is seen by the TestManager as a regular test.
is-a text ->ComputerProgram, Test implementation, needed to execute test
init-depends-from text ->Test, Used to specify the order in which tests must be started.
6.197. table: Test4Class
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
timeout int(11) timeout for test execution
parameters text Parameters used
host text host name where the test shall be executed
exec_mode enum('async', 'sync')
flag for concurrent or sequiential mode test execution
init_timeout int(11) PMG creation syncronization timeout
diagnosis text If test failed, this text will be presented to the user, as more detailed explanation of what is going wrong.
advice text If test failed, this text can be shown to the user. It contain advices on what can be done to repair the problem.
scope enum('any', 'absent', 'idle', 'run')
Defines the context in which the test execution is allowed.Can be:
179
Any, absent, idle, run
complexity tinyint(3) Define levels of complexity of tests. If value is specified, only those tests will be executed. By default all tests are executed.
test_mask text The user can have access to a particular test (or group of tests) by setting the test_mask attribute. By default all tests have test_mask set to * meaning all tests are selected for execution.
interactive varchar(10) If set to true, the test is seen as an interactive test (or action). If set to false, is seen by the TestManager as a regular test.
class_name text Class name from the databse. The test tests all objects of this class.
is-a text ->ComputerProgram, Test implementation, needed to execute test
init-depends-from text ->Test, Used to specify the order in which tests must be started.
6.198. table: Test4Object
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
timeout int(11) timeout for test execution
parameters text Parameters used
host text host name where the test shall be executed
exec_mode enum('async', 'sync')
flag for concurrent or sequiential mode test execution
init_timeout int(11) PMG creation syncronization timeout
diagnosis text If test failed, this text will be presented to the user, as more detailed explanation of what is going wrong.
advice text If test failed, this text can be shown to the user. It contains advices on what can be done
180
to repair the problem.
scope enum('any', 'absent', 'idle', 'run')
Defines the context in which the test execution is allowed.Can be:Any, absent, idle, run
complexity tinyint(3) Define levels of complexity of tests. If value is specified, only those tests will be executed. By default all tests are executed.
test_mask text The user can have access to a particular test (or group of tests) by setting the test_mask attribute. By default all tests have test_mask set to * meaning all tests are selected for execution.
interactive varchar(10) if set to true, the test is seen as an interactive test (or action). If set to false, is seen by the TestManager as a regular test.
object_id text reference to some object in the database, that is tested by this test
override_test4class varchar(10) Both Test4Class and Test4Object can be defined for an object in database.If this attribute set ti true, Test4Object overrides Test4Class (this is default behaviour).Otherwise it is bappended to the list of tests defined for this object via Test4Class.
is-a text ->ComputerProgram, Test implementation, needed to execute test
init-depends-from text ->Test, Used to specify the order in which tests must be started.
6.199. table: TrgTable
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
EventChannelEnableRegister int(10) Event channel enable
181
TrgTable_CH01_1 int(10) Parameter 1 of trigger channel 1
TrgTable_CH01_2 int(10) Parameter 2 of trigger channel 1
TrgTable_CH01_3 int(10) Parameter 3 of trigger channel 1
TrgTable_CH01_4 int(10) Parameter 4 of trigger channel 1
TrgTable_CH02_1 int(10) Parameter 1 of trigger channel 2
TrgTable_CH02_2 int(10) Parameter 2 of trigger channel 2
TrgTable_CH02_3 int(10) Parameter 3 of trigger channel 2
TrgTable_CH02_4 int(10) Parameter 4 of trigger channel 2
TrgTable_CH03_1 int(10) Parameter 1 of trigger channel 3
TrgTable_CH03_2 int(10) Parameter 2 of trigger channel 3
TrgTable_CH03_3 int(10) Parameter 3 of trigger channel 3
TrgTable_CH03_4 int(10) Parameter 4 of trigger channel 3
TrgTable_CH04_1 int(10) Parameter 1 of trigger channel 4
TrgTable_CH04_2 int(10) Parameter 2 of trigger channel 4
TrgTable_CH04_3 int(10) Parameter 3 of trigger channel 4
TrgTable_CH04_4 int(10) Parameter 4 of trigger channel 4
TrgTable_CH05_1 int(10) Parameter 1 of trigger channel 5
TrgTable_CH05_2 int(10) Parameter 2 of trigger channel 5
TrgTable_CH05_3 int(10) Parameter 3 of trigger channel 5
TrgTable_CH05_4 int(10) Parameter 4 of trigger channel 5
TrgTable_CH06_1 int(10) Parameter 1 of trigger channel 6
TrgTable_CH06_2 int(10) Parameter 2 of trigger channel 6
TrgTable_CH06_3 int(10) Parameter 3 of trigger channel 6
TrgTable_CH06_4 int(10) Parameter 4 of trigger channel 6
TrgTable_CH07_1 int(10) Parameter 1 of trigger channel 7
TrgTable_CH07_2 int(10) Parameter 2 of trigger channel 7
TrgTable_CH07_3 int(10) Parameter 3 of trigger channel 7
TrgTable_CH07_4 int(10) Parameter 4 of trigger channel 7
TrgTable_CH08_1 int(10) Parameter 1 of trigger channel 8
TrgTable_CH08_2 int(10) Parameter 2 of trigger channel 8
TrgTable_CH08_3 int(10) Parameter 3 of trigger channel 8
TrgTable_CH08_4 int(10) Parameter 4 of trigger channel 8
TrgTable_CH09_1 int(10) Parameter 1 of trigger channel 9
182
TrgTable_CH09_2 int(10) Parameter 2 of trigger channel 9
TrgTable_CH09_3 int(10) Parameter 3 of trigger channel 9
TrgTable_CH09_4 int(10) Parameter 4 of trigger channel 9
TrgTable_CH10_1 int(10) Parameter 1 of trigger channel 10
TrgTable_CH10_2 int(10) Parameter 2 of trigger channel 10
TrgTable_CH10_3 int(10) Parameter 3 of trigger channel 10
TrgTable_CH10_4 int(10) Parameter 4 of trigger channel 10
TrgTable_CH11_1 int(10) Parameter 1 of trigger channel 11
TrgTable_CH11_2 int(10) Parameter 2 of trigger channel 11
TrgTable_CH11_3 int(10) Parameter 3 of trigger channel 11
TrgTable_CH11_4 int(10) Parameter 4 of trigger channel 11
TrgTable_CH12_1 int(10) Parameter 1 of trigger channel 12
TrgTable_CH12_2 int(10) Parameter 2 of trigger channel 12
TrgTable_CH12_3 int(10) Parameter 3 of trigger channel 12
TrgTable_CH12_4 int(10) Parameter 4 of trigger channel 12
TrgTable_CH13_1 int(10) Parameter 1 of trigger channel 13
TrgTable_CH13_2 int(10) Parameter 2 of trigger channel 13
TrgTable_CH13_3 int(10) Parameter 3 of trigger channel 13
TrgTable_CH13_4 int(10) Parameter 4 of trigger channel 13
TrgTable_CH14_1 int(10) Parameter 1 of trigger channel 14
TrgTable_CH14_2 int(10) Parameter 2 of trigger channel 14
TrgTable_CH14_3 int(10) Parameter 3 of trigger channel 14
TrgTable_CH14_4 int(10) Parameter 4 of trigger channel 14
TrgTable_CH15_1 int(10) Parameter 1 of trigger channel 15
TrgTable_CH15_2 int(10) Parameter 2 of trigger channel 15
TrgTable_CH15_3 int(10) Parameter 3 of trigger channel 15
TrgTable_CH15_4 int(10) Parameter 4 of trigger channel 15
TrgTable_CH16_1 int(10) Parameter 1 of trigger channel 16
TrgTable_CH16_2 int(10) Parameter 2 of trigger channel 16
TrgTable_CH16_3 int(10) Parameter 3 of trigger channel 16
TrgTable_CH16_4 int(10) Parameter 4 of trigger channel 16
The value of "EventChannelEnableRegister" is 0Xhhhhhhhh. The low 16 bits corresponding 16 trigger channel. ‘1’ means the channel is enable, ‘0’ means the channel is disable. Bit00-bit15 corresponding to 16 trigger channels.
183
In "TrgTable_CH##_*", ## means the trigger channel number, * means the parameters 1-4 of trigger channel. Four parameters of one trigger channel is 32*4=128bit, two bits corresponding one trigger condition. Bit00-Bit01 is the trigger condition1, Bit02-Bit03 is the trigger condition 2, and so on.
6.200. table: Trg_CLKF
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Position int(10) Position of module
ClockSource int(10) Clock source
BelongsTo text ->Crate
6.201. table: Trg_EACC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Position of module
SimRealSel int(10) simulation(“1”)/real(“0”) data selection
L1Sel int(10) Outer(“0”) / inner (“1”) L1 selection
FiberAlignLatency int(10) Fibre alignment latency set(“30” “3a” “40”)
FiberChannelSet int(10) Fibre Channel set
CSR1 int(10) CSR1 register Set#‘0’: a6: first board# ‘1’: 96: middle board# ‘2’: 9a: last board# ‘3’: aa: first&last board# ‘4’: 41: disable CBLT and MCST
184
CsumDepths int(10) CSUM data finding Depths set
CsumWins int(10) CSUM data saving Windows set
DataLenPerEvent int(10) Write data lengths/event# (lower 16bit) = [CsumWins + 1] * 20# higher 16bit: Events/CBLT
Data range: “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “a”…… “10”
# lower 16 bit: long words lengths/EventData range:
“1”: 0x28“2”: 0x3c“4”: 0x64“8”: 0xb4“10”: 0xdc
“16”: 0x154
EtotDataSteps int(10) ETOT data Steps set# bit 8 is 0: the write data will be the real subtract data([6:0])# bit 8 is 1: we will shift the BLK energy data to right for 2 bit
EtotDataDepths int(10) ETOT data finding Depths
EtotDataWins int(10) write Etot data windows
VthBEtotH int(10) Threshold of BEtot_H
VthEEtotH int(10) Threshold of EEtot_H
VthEtotL int(10) Threshold of Etot_L
VthEtotM int(10) Threshold of Etot_M
VthBLZ int(10) Threshold of BL_Z
VthDiffB int(10) Threshold of Diff_B
VthDiffE int(10) Threshold of Diff_E
VthBalBLK int(10) Threshold of Bl_BLK
VthBalEEMC int(10) Threshold of Bl_EEMC
VthDiffMin int(10) Threshold of Diff_Min
ErrSet int(10) Set the Error register Status (RERR)
Debug varchar(10) Set to debug mode
BelongsTo text ->Crate
Includes text ->Trg_EACC_Debug
185
6.202. table: Trg_EACC_Debug
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Position int(10) Position
SimDataBlk1F int(10) Simulation data BLK1 First
SimDataBlk2F int(10) Simulation data BLK2 First
SimDataBlk3F int(10) Simulation data BLK3 First
SimDataBlk4F int(10) Simulation data BLK4 First
SimDataBlk5F int(10) Simulation data BLK5 First
SimDataBlk6F int(10) Simulation data BLK6 First
SimDataBlk7F int(10) Simulation data BLK7 First
SimDataBlk8F int(10) Simulation data BLK8 First
SimDataBlk9F int(10) Simulation data BLK9 First
SimDataBlkAF int(10) Simulation data BLKA First
SimDataBlkBF int(10) Simulation data BLKB First
SimDataBlkCF int(10) Simulation data BLKC First
SimDataBlkE1F int(10) Simulation data BLKE1 First
SimDataBlkE2F int(10) Simulation data BLKE2 First
SimDataBlkW1F int(10) Simulation data BLKW1 First
SimDataBlkW2F int(10) Simulation data BLKW2 First
SimDataBlk1N int(10) Simulation data BLK1 Next
SimDataBlk2N int(10) Simulation data BLK2 Next
SimDataBlk3N int(10) Simulation data BLK3 Next
SimDataBlk4N int(10) Simulation data BLK4 Next
SimDataBlk5N int(10) Simulation data BLK5 Next
SimDataBlk6N int(10) Simulation data BLK6 Next
SimDataBlk7N int(10) Simulation data BLK7 Next
SimDataBlk8N int(10) Simulation data BLK8 Next
186
SimDataBlk9N int(10) Simulation data BLK9 Next
SimDataBlkAN int(10) Simulation data BLKA Next
SimDataBlkBN int(10) Simulation data BLKB Next
SimDataBlkCN int(10) Simulation data BLKC Next
SimDataBlkE1N int(10) Simulation data BLKE1 Next
SimDataBlkE2N int(10) Simulation data BLKE2 Next
SimDataBlkW1N int(10) Simulation data BLKW1 Next
SimDataBlkW2N int(10) Simulation data BLKW2 Next
DepthCntClr int(10) Clear the nLrg1 to L1 count number
CsumDepthCal int(10) write calibration to CSUM depth
EtotDepthCal int(10) write calibration to ETOT depth
BelongsToEACC text ->Trg_EACC
6.203. table: Trg_FCTL
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Name
Position int(10) position
L1_config int(10) L1 config
Input_en1 int(10) Enable input signal;16bit 1=EN
Input_en2 int(10) Enable input signal;16bit 1=EN
Int_count8 int(10) int_count_threshold;8bit;
Int_timing16 int(10) int_timing_threshold;16bit;
Int_en int(10) Enable Counting and Timing int;8bit 1=EN
Sending_FRST int(10) Sending FRST
BelongsTo text ->Crate
187
6.204. table: Trg_GTL
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
B0900DelayOfChannel01 int(10) The delay of channel01
B0900DelayOfChannel02 int(10) The delay of channel02
B0900DelayOfChannel03 int(10) The delay of channel03
B0900DelayOfChannel04 int(10) The delay of channel04
B0900DelayOfChannel05 int(10) The delay of channel05
B0900DelayOfChannel06 int(10) The delay of channel06
B0900DelayOfChannel07 int(10) The delay of channel07
B0900DelayOfChannel08 int(10) The delay of channel08
B0900DelayOfChannel09 int(10) The delay of channel09
B0900DelayOfChannel10 int(10) The delay of channel10
B0900DelayOfChannel11 int(10) The delay of channel11
B0900DelayOfChannel12 int(10) The delay of channel12
B0900DelayOfChannel13 int(10) The delay of channel13
188
B0900DelayOfChannel14 int(10) The delay of channel14
B0900DelayOfChannel15 int(10) The delay of channel15
B0900DelayOfChannel16 int(10) The delay of channel16
B0900DelayOfChannel17 int(10) The delay of channel17
B0900DelayOfChannel18 int(10) The delay of channel18
B0900DelayOfChannel19 int(10) The delay of channel19
B0900DelayOfChannel20 int(10) The delay of channel20
B0900DelayOfChannel21 int(10) The delay of channel21
B0900DelayOfChannel22 int(10) The delay of channel22
B0900DelayOfChannel23 int(10) The delay of channel23
B0900DelayOfChannel24 int(10) The delay of channel24
B0900DelayOfChannel25 int(10) The delay of channel25
B0900DelayOfChannel26 int(10) The delay of channel26
B0900DelayOfChannel27 int(10) The delay of channel27
B0900DelayOfChannel28 int(10) The delay of channel28
B0900DelayOfChannel29 int(10) The delay of channel29
B0900DelayOfChannel30 int(10) The delay of channel30
B0900DelayOfChannel31 int(10) The delay of channel31
B0900DelayOfChannel32 int(10) The delay of channel32
189
B0900DelayOfChannel33 int(10) The delay of channel33
B0900DelayOfChannel34 int(10) The delay of channel34
B0900DelayOfChannel35 int(10) The delay of channel35
B0900DelayOfChannel36 int(10) The delay of channel36
B0900DelayOfChannel37 int(10) The delay of channel37
B0900DelayOfChannel38 int(10) The delay of channel38
B0900DelayOfChannel39 int(10) The delay of channel39
B0900DelayOfChannel40 int(10) The delay of channel40
B0900DelayOfChannel41 int(10) The delay of channel41
B0900DelayOfChannel42 int(10) The delay of channel42
B0900DelayOfChannel43 int(10) The delay of channel43
B0900DelayOfChannel44 int(10) The delay of channel44
B0900DelayOfChannel45 int(10) The delay of channel45
B0900DelayOfChannel46 int(10) The delay of channel46
B0900DelayOfChannel47 int(10) The delay of channel47
B0900DelayOfChannel48 int(10) The delay of channel48
B0900InternalL1Delay int(10) L1 internal delay
B1500UserOwnCSR int(10) user own CSR
B0700CbltMcstCSR1 int(10) CBLT&MCST CSR1
TrgWindows int(10) the Trigger
190
Window, Nevt CBLT register
B2300GlobalBufferNotFullFull int(10) the FULL, NOT NFULL and L1_bar selection register
B3100BarrelBhabhaPrescale int(10) the Barrel Bhabha Prescale register
B3100EndcapBhabhaPrescale int(10) the Endcap Bhabha Prescale register
B3100BackupRegister int(10) the backup register
B3100TimingOutputBitsMdcEmcTof int(10) the timing register output bits set register
B3100TofTimingORedBits int(10) the TOF timing ORed set register
B3100EmcTimingORedBits int(10) the EMC timing ORed set register
B3100MdcTimingORedBits int(10) the MDC timing ORed set register
B3100TimeOutL1InternalWidth int(10) the L1 width and time out register
B3100L1OutputWidthTimingSelectionMdcEmcTof int(10) the timing registers trigger conditions selection register
B0700L1ChkOutputControl int(10) the L1 and CHK control register : Disable L1*
B0900ChkDelayToL1 int(10) the delay of CHK relative to L1
B0800TrgLatencyInput int(10) the trigger latency of input conditions
B0800TrgLatencyAligned int(10) the trigger latency of aligned conditions
B0800TrgLatencyEvtType int(10) the trigger latency of EVT_TYPE buffer
BelongsTo text ->Crate
191
TrgTable text ->TrgTable
6.205. table: Trg_LTKC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
CBLTSet int(10) Set CBLT parameters and select clock0x8C844082, input clock, Middle Board
L1Select int(10) Select L1Default: 7, select input L1
BelongsTo text ->Crate
6.206. table: Trg_MUDT
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
ControlState int(10) Set Control bits and check state bits. (All bits‘1’active)D0=FRST,D1=Force CRC ERR,D2=Hits RST, D3=Test,D4=RunD5=FIFO1 OverflowD6=FIFO2 OverflowD7=FIFO Write EN
Default: 0xfff0
BelongsTo text ->Crate
192
6.207. table: Trg_MUTL
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
ChainSet int(10) set CBLT first/lasta2=first,82=mid,8a=last, aa=first&last,
00(或 55)= not in CBLT chain
ReadoutEventWindow int(10) CBLT readout windowonce readout event clk = 2*ReadoutEventWindow+1
Default: 0MAX: 0xa
ProgramFull int(10) Program FULL of CBLT FIFO1=10%,2=20%, …Default: 8
MAX: 0xa=100%
ProgramFullDisable int(10) Program FULL disable of CBLT FIFO1=10%,2=20%, …Default: 6MAX: 0xa=100%
L1Select int(10) L1 selectionDefault: 0
ReadoutModeSelect int(10) readout mode selection0: run mode,1: test mode
Default: 0
L1LatencyToHit int(10) Latency of L1 (unit:clock),
193
0x9a: about 5.2us for TKF
TSFLatencyToHit int(10) Latency of TSF to hit (unit:clock)Default: 5MAX is f
TrackLatencyToHit int(10) Latency of TK to hit (unit:clock)Default: 9Max is f
FiberSyncLatencyToFRST int(10) Latency of Fiber sync to FRST (unit:clock)0x29: 3 meters0x40: 15 meters,Max is ff
FiberChannelSelect int(10) Channel set1 = enable the fiber channel0 = disable the fiber channelDefault: 0x3FF
DataSelect int(10) data select,0 = fiber data,1 = test dataDefault: 0
BelongsTo text ->Crate
6.208. table: Trg_SAF
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
B1100DelayOfChannel01 int(10) Delay of channel01
B1100DelayOfChannel02 int(10) Delay of channel02
B1100DelayOfChannel03 int(10) Delay of channel03
B1100DelayOfChannel04 int(10) Delay of channel04
B1100DelayOfChannel05 int(10) Delay of channel05
B1100DelayOfChannel06 int(10) Delay of channel06
B1100DelayOfChannel07 int(10) Delay of channel07
194
B1100DelayOfChannel08 int(10) Delay of channel08
B1100DelayOfChannel09 int(10) Delay of channel09
B1100DelayOfChannel10 int(10) Delay of channel10
B1100DelayOfChannel11 int(10) Delay of channel11
B1100DelayOfChannel12 int(10) Delay of channel12
B1100DelayOfChannel13 int(10) Delay of channel13
B1100DelayOfChannel14 int(10) Delay of channel14
B1100DelayOfChannel15 int(10) Delay of channel15
B1100DelayOfChannel16 int(10) Delay of channel16
B1500UserOwnCSR int(10) user Control Status Register
B0700CbltMcstCSR1 int(10) CBLT&MCST CSR1
B1100TrgLatencyInput int(10) the trigger latency of the non aligned trigger conditions
B0700TrgWindowWidthInput int(10) the trigger window of the non aligned trigger conditions
B1100TrgLatencyAligned int(10) the trigger latency of the aligned trigger conditions
B0700TrgWindowWidthAligned int(10) the trigger window of the aligned trigger conditions
B1100FullGlobalBuffer int(10) the FULL number of global buffers
B0900FullGlobalORedBuffer int(10) the FULL number of global ORed buffers
B1100FullNotGlobalBuffer int(10) the NOT FULL number of global buffers
B0900FullNotGlobalORedBuffer int(10) the NOT FULL number of global ORed buffers
B0400L1Selection int(10) the L1* selection register
BelongsTo text ->Crate
6.209. table: Trg_STKC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
195
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
CBLTSet int(10) Set CBLT parameters and select clock0x8C844082, input clock, Middle Board
L1Select int(10) Select L1Default: 7, select input L1
BelongsTo text ->Crate
6.210. table: Trg_TCBA
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
WinLen int(10) Slide window lengths (5.5us, a0; 5us, 8c; 1.5us, 0; )
HL_Vth int(10) the Higher and Lower threshold Voltage
L1Sel int(10) The outer or inner L1 selection. “0”: outer “1”: inner
IntEn int(10) Enable or disable interrupt of TCBA board. “0”: disable “1”: enable
ChTimeC01 int(10) time compensated of channel01
ChTimeC02 int(10) time compensated of channel02
ChTimeC03 int(10) time compensated of channel03
ChTimeC04 int(10) time compensated of channel04
ChTimeC05 int(10) time compensated of channel05
ChTimeC06 int(10) time compensated of channel06
ChTimeC07 int(10) time compensated of channel07
ChTimeC08 int(10) time compensated of channel08
ChTimeC09 int(10) time compensated of channel09
ChTimeC10 int(10) time compensated of channel10
ChTimeC11 int(10) time compensated of channel11
196
ChTimeC12 int(10) time compensated of channel12
ChTimeC13 int(10) time compensated of channel13
ChTimeC14 int(10) time compensated of channel14
ChTimeC15 int(10) time compensated of channel15
ChTimeC16 int(10) time compensated of channel16
ChTimeC17 int(10) time compensated of channel17
ChTimeC18 int(10) time compensated of channel18
ChTimeC19 int(10) time compensated of channel19
ChTimeC20 int(10) time compensated of channel20
ChTimeC21 int(10) time compensated of channel21
ChTimeC22 int(10) time compensated of channel22
ChTimeC23 int(10) time compensated of channel23
ChTimeC24 int(10) time compensated of channel24
ChTimeC25 int(10) time compensated of channel25
ChTimeC26 int(10) time compensated of channel26
ChTimeC27 int(10) time compensated of channel27
ChTimeC28 int(10) time compensated of channel28
ChTimeC29 int(10) time compensated of channel29
ChTimeC30 int(10) time compensated of channel30
BelongsTo text ->Crate
6.211. table: Trg_TDC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
B1500SetTriggerWindowWidth01 int(10) Set trigger window width
B1500SetTriggerWindowOffset01 int(10) Set trigger window offset
B1500SetExtraSearchMargin01 int(10) Set Extra Search Margin
197
B1500SetRejectMargin01 int(10) Set Reject Margin
B1500SetEdgeDetectionConfiguration01 int(10) Set Edge Detection Configuration
B1500SetLeadingTrailingEdge01 int(10) Set LSB of Leading/Trailing Edge
B1500SetChannelDeadTimeOfHits01 int(10) Set Channel Dead Time Between Hits
B1500SetMaxNumberOfHitsPerEvent01 int(10) Set Maximum Number of Hits Per Event
B1500EnableTdcInternalErrorType01 int(10) Enable TDC Internal Error Type
B1500SetEffectiveSizeOfReadoutFifo01 int(10) Set Effective Size of Readout FIFO
B1500SetDllClock01 int(10) Set DLL Clock
B1500SetControlRegister int(10) Set Control Register
B1500SetInterruptLevel int(10) Set Interrupt Level Register
B1500SetInterruptVector int(10) Set Interrupt Vector
B1500SetGeoAddress int(10) Set GEO Address
B1500SetCbltMcstBaseAddress int(10) Set MCST/CBLT BASE Address
B1500SetCbltMcstCSR int(10) Set MCST/CBLT CSR
B1500SetAlmostFull int(10) Set Almost Full Register
B1500SetOutProgControl int(10) Set OUT_PROG Control Register
BelongsTo text ->Crate
6.212. table: Trg_TFCF
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
CSR int(10) Control status register
198
V_Err_T int(10) Value of timing err
V_Err_C int(10) Value of count err
Per_ERR_12 int(10) Mask of err
Per_ERR_34 int(10) Mask of err
CO_IR int(10) open err int.
IOPR int(10) I/O permission, Enable
ENBL int(10) event number of each CBLT
BelongsTo text ->Crate
6.213. table: Trg_TKF
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
ChainSet int(10) set CBLT first/lasta2=first,82=mid,8a=last, aa=first&last,00= not in CBLT chain
FiberChannelSelect int(10) Fiber Channel set1 = enable the fiber channel0 = disable the fiber channelDefault: 0xFFFF for ITKF, 0x3FF for TKF
BelongsTo text ->Crate
6.214. table: Trg_TKFGeneral
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
199
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
ReadoutEventWindow int(10) CBLT readout windowonce readout event clk = 2*ReadoutEventWindow+1Default: 0MAX: 0xa
ProgramFull int(10) Program FULL of CBLT FIFO1=10%,2=20%,…Default: 8MAX: 0xa=100%
ProgramFullDisable int(10) Program FULL disable of CBLT FIFO1=10%,2=20%, …Default: 6MAX: 0xa=100%
L1Select int(10) L1 selectionDefault: 0
ReadoutModeSelect int(10) readout mode selection0: run mode,1: test modeDefault: 0
L1LatencyToHit int(10) Latency of L1 (unit:clock),0x9a: about 5.2us
TSFLatencyToHit int(10) Latency of TSF to hit (unit:clock)Default: 5MAX is f
TrackLatencyToHit int(10) Latency of TK to hit (unit:clock)Default: 9Max is f
FiberSyncLatencyToFRST int(10) Latency of Fiber sync to FRST (unit:clock)0x29: 3 meters0x40: 15 meters,Max is ff
DataSelect int(10) data select,0 = fiber data,1 = test dataDefault: 0
BelongsTo text ->Crate
200
6.215. table: Trg_TOFT
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
WorkMode int(10) Select the work mode of pretreatment FPGA and dispose FPGA
FiberChannelShield int(10) Fiber channel shield
ControlParameter int(10) Base control parameter
DisposeParameter int(10) Dispose parameter
PhysAddress int(10) Physical address
CRandCSR int(10) Control register and control status register
InitialValueCH01 int(10) Initial value of channel01
InitialValueCH02 int(10) Initial value of channel02
InitialValueCH03 int(10) Initial value of channel03
InitialValueCH04 int(10) Initial value of channel04
InitialValueCH05 int(10) Initial value of channel05
InitialValueCH06 int(10) Initial value of channel06
InitialValueCH07 int(10) Initial value of channel07
InitialValueCH08 int(10) Initial value of channel08
InitialValueCH09 int(10) Initial value of channel09
InitialValueCH10 int(10) Initial value of channel10
InitialValueCH11 int(10) Initial value of channel11
InitialValueCH12 int(10) Initial value of channel12
InitialValueCH13 int(10) Initial value of channel13
InitialValueCH14 int(10) Initial value of channel14
InitialValueCH15 int(10) Initial value of channel15
InitialValueCH16 int(10) Initial value of channel16
InitialValueCH17 int(10) Initial value of channel17
InitialValueCH18 int(10) Initial value of channel18
201
InitialValueCH19 int(10) Initial value of channel19
InitialValueCH20 int(10) Initial value of channel20
InitialValueCH21 int(10) Initial value of channel21
InitialValueCH22 int(10) Initial value of channel22
InitialValueCH23 int(10) Initial value of channel23
InitialValueCH24 int(10) Initial value of channel24
InitialValueCH25 int(10) Initial value of channel25
InitialValueCH26 int(10) Initial value of channel26
InitialValueCH27 int(10) Initial value of channel27
InitialValueCH28 int(10) Initial value of channel28
InitialValueCH29 int(10) Initial value of channel29
InitialValueCH30 int(10) Initial value of channel30
InitialValueCH31 int(10) Initial value of channel31
BelongsTo text ->Crate
6.216. table: Trg_TROC
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Name text Module name
Position int(10) Module position
BelongsTo text ->Crate
6.217. table: Users
Field Type Descriptions
id int(11) User id
name varchar(50) User name
passwd varchar(50) User password
202
6.218. table: Variable
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Description text Description
Name text Name of variable
Value text Value of variable
6.219. table: VariableSet
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
Description text Description
Contains text ->Variable
6.220. table: ptioEfd
Configuration of the ptio implementation getting event from efd
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
socketName text Name of the socket to communicate with the EFD
6.221. table: ptioFile
Configuration of the ptio implementation getting event from data files
Field Type Descriptions
203
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
fileNames text List of data files
loop varchar(10) Infinite loop
6.222. table: ptioMon
Configuration of the ptio implementation getting event from online monitoring service emon
Field Type Descriptions
Obj_id int(11) Auto increment, primary key
FileId int(11) Datafile id, ->Data.DataFileId
OID varchar(255) Object id
monKeys text List of monitoring Keys
monValues text List of monitoring Values
monBufSize int(10) Buffer Size
detType int(10) detector type
monL1type int(10) L1 trigger type
monL2type int(10) L2 trigger info
StatWord int(10) status word
async varchar(10) sync 0 async 1
204
7. database: hwconfig
7.1. table: Bcode
The information of crate and module of Barrel EMC
Field Type Descriptions
Id int(11) Id, primary key
Layer char(2) Layer code in EMC detector(01-44)Circle char(3) Circle code in EMC detector(001-120)Block char(1) Block of crystal belongs to in EMC
detector(east/west,E/W)
205
Rack char(1) Rack code of EMC electronics(1,2,3)Crate char(1) Crate code of EMC electronics(0,1,2)Module char(2) Module number of EMC electronics(000-14)Channel char(2) Channel number of EMC electronics(00-32)Ccode char(8) Crate code in DAQ configuration(EMC_XX_Y)Mcode char(11) Module code in DAQ configuration(EQM_XX_Y_ZZ)Chcode char(6) Channel code in DAQ configuration
BinChcode char(16) Binary value of channel code in DAQ configuration
PPCId int(11) Id of Powerpc
7.2. table: Ecode
The information of crate and module of East Endcap EMC
Field Type Descriptions
Id int(11) Id, primary key
Layer char(2) Layer code in EMC detector(01-44)Circle char(3) Circle code in EMC detector(001-120)Block char(1) Block of crystal belongs to in EMC
detector(east/west,E/W)Rack char(1) Rack code of EMC electronics(1,2,3)Crate char(1) Crate code of EMC electronics(0,1,2)Module char(2) Module number of EMC electronics(000-14)Channel char(2) Channel number of EMC electronics(00-32)Ccode char(8) Crate code in DAQ configuration(EMC_XX_Y)Mcode char(11) Module code in DAQ configuration(EQM_XX_Y_ZZ)Chcode char(6) Channel code in DAQ configuration
BinChcode char(16) Binary value of channel code in DAQ configuration
PPCId int(11) Id of Powerpc
7.3. table: MainAmpToQ
The corresponding table between MainAmplifier and Q module of EMC.
Field Type Descriptions
206
Id int(11) Id
Block char(1) block
Rack char(1) rack
MainAmpCode char(5) Code of main amplifier
MainAmpGeo char(2) Geographical address of main amplifier
VMECrate char(1) Code of VME crate
EQM char(2) Module number of EQM
Outlet char(1) outlet
VMECratecode char(8) Code of VME crate in DAQ configuration
EQMcode char(11) Module code of EQM in DAQ configuration
7.4. table: TFEEConfig
The information of TFEE module of TOF.
Field Type Descriptions
id int(11) Id
BarrelOrEndcap char(1) Barrel or endcap
Layer char(1) Layer
EastOrWestEnd char(1) East or west end
Scintillator int(11) Scintillator number
Floor int(11) Floor number of electronical flat
Module int(11) Module number
Channel int(11) Channel number
Ccode char(8) Code of crate in DAQ configuration
Mcode char(9) Code of module in DAQ configuration
Chcode int(11) Code of channel in DAQ configuration
PPCId int(11) Id of PowerPC
7.5. table: Wcode
The information of crate and module of West Endcap EMC.
Field Type Descriptions
Id int(11) Id, primary key
207
Layer char(2) Layer code in EMC detector(01-44)Circle char(3) Circle code in EMC detector(001-120)Block char(1) Block of crystal belongs to in EMC
detector(east/west,E/W)Rack char(1) Rack code of EMC electronics(1,2,3)Crate char(1) Crate code of EMC electronics(0,1,2)Module char(2) Module number of EMC electronics(000-14)Channel char(2) Channel number of EMC electronics(00-32)Ccode char(8) Crate code in DAQ configuration(EMC_XX_Y)Mcode char(11) Module code in DAQ configuration(EQM_XX_Y_ZZ)Chcode char(6) Channel code in DAQ configuration
BinChcode char(16) Binary value of channel code in DAQ configuration
PPCId int(11) Id of Powerpc
7.6. table: mdcinfo
The information of crate and module of MDC.
Field Type Descriptions
id int(11) Id
Layer int(11) Layer number
Thread int(11) Thread number
Crate char(6) Crate number
Module int(11) Module number
Cell int(11) Cell number in module
Channel int(11) Channel number
Ccode char(7) Code of crate in DAQ configuration
Mcode char(11) Code of module in DAQ configuration
Chcode int(11) Code of channel in DAQ configuration
PPCId int(11) Id of PowerPC
208
8. database: part_trg1234pt (information of dataflow)
This database shows the dataflow information of DAQ system. The relationships is showed in below figure.
209
8.1. table: DFM_1
Field Type Descriptions
id int(11) Auto increment, primary key
210
One ROS has eight objectswhich is list in the dashed range.
time datetime Time
run_number int(11) Run number
last GID int(11) Last GID. DbgLvl=1
last L1ID int(11) Last L1ID. DbgLvl=1
Number of assigned events int(11) Number of AssignedEvents
Number of ignored events int(11) Number of ignored Events
Number of EoE int(11) Number of EoE received
Number of cleared events int(11) Number of events cleared from ROSes
Number of reasked events int(11) Number of Reasked Events. DbgLvl=1
Number of timeout events int(11) Number of Timeout Events. DbgLvl=1
Number of unknown L1ID int(11) Number of unknown L1ID. DbgLvl=1
Number of SFI busy int(11) Number of SFI busy
Number of SFI non busy int(11) Number of SFI non busy
Number of flow control messages sent int(11) How many times the DFM has send XOFF or XON to the L2SV
Size of Assign Queue int(11) Size of Assign Queue. DbgLvl=1
Busy messages of already busy SFIs int(11) Busy messages of already busy SFIs. DbgLvl=1
Non busy messages of not busy SFIs int(11) Non busy messages of not busy SFIs. DbgLvl=1
Number of SFI been reset int(11) Number of SFI that have been reset. DbgLvl=1
Busy/Non Busy messages of Unknown SFI int(11) Busy/Non Busy messages of Unknown SFI
Rate of Assigned double Current rate of events assigned to SFIs (Hz). DbgLvl=1
Rate of EoE double Current rate of EoE messages from SFIs (Hz). DbgLvl=1
Rate of Clears double Current rate of clears sent to ROSes (Hz)
averaging time double Sampling time for calculation
211
of the current rates (s). DbgLvl=1
8.2. table: L2SV_1
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
Identity varchar(20) Identity of this node
errors bigint(20) Number of errors
LVL1_events bigint(20) Number of LVL1 events
LVL2_events bigint(20) Number of LVL2 events
AcceptedEvents bigint(20) Number of accepted events
RejectedEvents bigint(20) Number of rejected events
ForcedAccepts bigint(20) Number of forced accepts
Throughput double Throughput in Hz
8.3. table: OnlineLum
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
CalTime bigint(20) The value is set min-time for luminosity calculation.(const)
NumEvent bigint(20) The value is the number of all events(n) in this run
NumCorBEE bigint(20) The value is the corrected number of e+ e- events in this run
NumCorEEE bigint(20) The value is the corrected number of e+ e- events in this run.
NumCorUU bigint(20) The value is the corrected number of dimuon events in this run
NumCorGG bigint(20) The value is the corrected number of diphoton
212
events in this run
NumCorHadron bigint(20) The value is the corrected number of hadronic events in this run.
SNR float The value is the ratio between signal and noise
EventRate float The value is the number of event rate
EventRateCorBEE float corrected event rate for barrel e+e-.
EventRateCorEEE float corrected event rate for endcap e+e-.
EventRateCorUU float The value is the corrected number of dimuon event rate。
EventRateCorGG float The value is the corrected number of diphoton event rate。
EventRateCorHadron float The value is the corrected number of hadronic event rate.
LumEndcapEE float The luminosity(10^33cm^-2s^-1) is calculated by the number of Endcap e+ e- events
LumBEE float The luminosity(10^33cm^-2s^-1) is calculated by the number of e+ e- events。
LumEEE float The luminosity(10^33cm^-2s^-1) is calculated by the number of e+ e- events。
LumUU float The luminosity(value(10^33cm^-2s^-1) is calculated by the number of dimuon events。
LumGG float The luminosity(value(10^33cm^-2s^-1) is calculated by the number of diphoton events。
LumAvg float The luminosity(value(10^33cm^-2s^-1) is calculated by the number of three events。
XSecbyEndcapEE float The cross section(nb) of hadron is calculated by LumEndcapEE。
XSecbyBEE float The cross section(nb) of hadron is calculated by LumEE。
XSecbyEEE float The cross section(nb) of hadron is calculated by LumEE。
XSecbyUU float The cross section(nb) of hadron is calculated by LumUU。
XSecbyGG float The cross section(nb) of hadron is calculated by LumGG。
XSecbyAvg float The cross section(nb) of hadron is calculated by LumAvg。
213
IntLumEndcapEE float The integral luminosity(nb^-1) is calculated by the number of Endcap e+ e- events。
IntLumBEE float The integral luminosity(nb^-1) is calculated by the number of e+ e- events。
IntLumEEE float The integral luminosity(nb^-1) is calculated by the number of e+ e- events.
IntLumUU float The integral luminosity(value(nb^-1) is calculated by the number of dimuon events。
IntLumGG float The integral luminosity(value(nb^-1) is calculated by the number of diphoton events。
IntLumAvg float The integral luminosity(value(nb^-1) is calculated by the number of three events。
8.4. table: ROS_ROS_n
These tables record the information of readout system. One or two ROS servered for one detector subsystem. There are 11 ROS in total.
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
requestsQueued int(11) Number of requests queued DbgLvl=1
requestsDequeued int(11) Sum of all treated requests
requestRateHz int(11) Request rate in hertz DbgLvl=1
popQueueEmptyPercent int(11) Percentage of time that popping on the queue resulted empty DbgLvl=1
pushQueueEmptyPercent int(11) Percentage of time that pushing on the queue resulted empty DbgLvl=1
deltaTimeMs int(11) Elapsed time in miliseconds DbgLvl=1
8.5. table: ROS_ROS_n_Expert_Core
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
214
run_number int(11) Run number
N Q elements int(11) Number of queue element
deltaTimeMs int(11) Work time of request queue in the run.(ms)
popQueueEmptyPercent int(11) Percent of pop queue empty
popQueueEmptySum int(11) Sum of pop queue empty
popQueueThresholdSum int(11) Sum of pop queue threshold
pushQueueEmptyPercent int(11) Percent of push queue empty
pushQueueEmptySum int(11) Sum of push queue empty
pushQueueFullSum int(11) Sum of push queue full
requestRateHz int(11) Rate of request (Hz)
requestsDequeued int(11) Number of request processed
requestsHandled1 int(11) Number of request processed by request handler1
requestsHandled2 int(11) Number of request processed by request handler2
requestsHandled3 int(11) Number of request processed by request handler3
requestsQueued int(11) Total number of request queue processed
requestsRequeued int(11) Number of repeated request queue
requestsRequeued1 int(11) Number of repeated request processed by request handler1
requestsRequeued2 int(11) Number of repeated request processed by request handler2
requestsRequeued3 int(11) Number of repeated request processed by request handler3
requestsTimedOut int(11) Time out of process request
8.6. table: ROS_ROS_n_Expert_DataChannels
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
channelId int(11) ROB_Id
FreePages int(11) Number of free page
215
Fragments int(11) Fragments received
8.7. table: ROS_ROS_n_Expert_DataOut
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
TotalBytesSent bigint(20) Total bytes have been sent
TotalNumberOfSentPackages bigint(20) Total number of sent package
8.8. table: ROS_ROS_n_Expert_InterruptCatcher
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
N Interrupt Vectors int(11) Number of interrupt vector
N Interrupt Waits int(11) Number of interrupt wait
8.9. table: ROS_ROS_n_Expert_ReadoutModule
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
Number of data channels int(11) Number of data channels administrated
8.10. table: ROS_ROS_n_Expert_SequentialInputHandler
Field Type Descriptions
216
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
N fragments input int(11) Number of data fragment received
N yields int(11) Number of yield CPU
8.11. table: ROS_ROS_n_Expert_TriggerIn
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
BadRequests int(11) Number of bad request
TotalInputSize int(11) Buffer size used to process request.
TotalRequestsProcessed int(11) Total number of process request
deltaTimeMs int(11) The work time of TriggerIn in the run
ebRequestsQueued int(11) Total number of event build request
l2RequestsQueued int(11) Total number of L2 request
level1RateHz int(11) Event rate of L1(Hz)
numberOfLevel1 int(11) Number of processed L1
releaseRequestsQueued int(11) Number of request queue released
8.12. table: ROS_ROS_n_Expert_UserActionScheduler
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
N Scheduler Actions int(11) Number of scheduler actions
217
8.13. table: SFI_n
These tables record the information of Event Builder. There are 30 SFI in total.
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
SizeOfITA int(11) Size Of Queue InputToAssembly
SizeOfEFIOServer int(11) Size Of EFIOServer
SizeOfATEH int(11) Size Of Queue AssemblyToEventHandler
EventsAssembled int(11) Number of assembled events
AssembledBufferWaterLevel int(11) Assembled Buffer Water Level
CompletedBufferWaterLevel double Completed Buffer Water Level
EventsAssigned double Number of assigned events by the DFM (pull only).
EventsBuilt int(11) Number of events built
EventsIncompletelyBuilt int(11) Number of events built with missing ROS fragments. DbgLvl=1
EventsDeleted int(11) Number of events deleted. DbgLvl=1
ActualEoERate double Actual End-of-Event rate
CumulatedEoERate int(11) Accumulated End of event rate. DbgLvl=1
NumBusyCount int(11) Number of Busy messages DbgLvl=1
NumNonBusyMessages int(11) Number of NonBusy messages DbgLvl=1
ConsecutiveBusyCount int(11) Consecutive busy count
NumRequests double Number of requested fragments DbgLvl=1
ActualRequestRate double Rate of requests sent to the ROSs DbgLvl=1
NumReasks double Number of reasked fragments DbgLvl=1
NumTimeouts double Number of Timeouts DbgLvl=1
NumFragments double Number of Event Fragments received DbgLvl=1
NumFragmentsNotInserted int(11) Number of Event Fragments that could not be inserted (duplication) DbgLvl=1
Payload int(11) Total Payload received (MB) DbgLvl=1
218
ActualPayloadRate double Actual payload rate (MB/s) DbgLvl=1
CumulatedPayloadRate double Accumulated payload rate (MB/s) DbgLvl=1
FragmentPayload double Average Payload per fragment (Bytes) DbgLvl=1
EventPayload double Average Payload per event (kB) DbgLvl=1
EventsCheckedForMonitoring int(11) Events retrieved from Sampler queue and checked for Monitoring criteria
MonitoredEventCount int(11) Events Given to Monitoring Tasks
ActualMonitoredEventRate double Actual Event Rate to Monitoring Tasks
IdealMonitoredEventRate double Ideal Event Rate to Monitoring Tasks
WaitTimeForSampledEvents double Total Wait Time (ms) to retrieve queue events for Sampling
8.14. table: SFO_n
These tables records the information of SubFarmOutput. There are one or two SFO.
Field Type Descriptions
id int(11) Auto increment, primary key
time datetime Time
run_number int(11) Run number
EventsReceived int(11) Number of events received from all EFDs
EventsSaved int(11) Number of events saved to disk
EventsSavedCastor bigint(20) Number of events saved to Castor
DataVolumeReceived double Data volume received from all EFDs (MB)
DataVolumeSaved double Data volume saved to disk (MB)
DataVolumeSavedCastor bigint(20) Data volume saved to Castor (MB).
CurrentEventReceivedRate double Current rate of received events (events/s). DbgLvl=1
CurrentDataReceivedRate double Current rate of received data (MB/s). DbgLvl=1
SamplingTime double Sampling time for current rates (s). DbgLvl=1
219
220
Recommended