Changes between Version 6 and Version 7 of DatabaseBasedAnalysis/Tables
- Timestamp:
- 08/06/18 20:56:23 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DatabaseBasedAnalysis/Tables
v6 v7 1 1 [[TOC]] 2 3 This is an overview of the most important tables and some important remarks. Links are given to the comments and type of each column. 2 4 3 5 == !RunType == … … 13 15 [https://fact-project.org/run_db/db/printinfo.php?db=factdata&fSortBy=ColumnName+&t=RunInfo factdata/RunInfo] 14 16 17 The !RunInfo table is the most important one. It stored run-wise information. In a first step, a lot of data is directly extracted from the header of the ''raw'' run-files. Later, values are calculated from other sources, mainly slow-control file (auxiliary data: ''aux'') and filled into the table as well. 18 19 === Calculating the on-time === 20 21 The best estimate for the on-time of the data acquisition is the difference between the first and last event (`fRunStop-fRunStart`). It should be precise with roughly the data rate, so better than 1s. The on-time calculated by the FTM is only precise with the FTM rate which is a few seconds, but the FTM provides accurate information on the relative on-time w.r.t. to the total time. This information can be used to calculate the on-time in seconds of a run as follows: 22 23 {{{#!sql 24 TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))*fEffectiveOn 25 }}} 26 27 28 29 30 15 31 == Events == 16 32 … … 25 41 [https://fact-project.org/run_db/db/printinfo.php?db=factdata&fSortBy=ColumnName+&t=AnalysisResultsRunISDC factdata/AnalysisResultsRunISDC] 26 42 43 The number of background events (`fNumBgEvts`) is already divided by the number of wobble regions (5). 44 45 To calculate the signifciance, you can simply do `LiMa(fNumSigEvts, fNumBgEvts). To calculate the statistical error, use `ExcErr(fNumSigEvts, fNumBgEvts)`. Both function assume that the number of background events given is the average number and that the scale factor is 5. 27 46 28 47 29