Skip to content

Commit

Permalink
doc: consistent defect bit descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Dec 16, 2023
1 parent 61b8449 commit 8914710
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
25 changes: 12 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,18 @@ The following tables describe the available datasets in the QADB. The columns ar
* The table below lists the defect bits
(Example: `defect=0b11000` has defects `SectorLoss` and `LowLiveTime`)

| Bit | Name | Description |
|-----|------------------------|-------------|
| 0 | `TotalOutlier` | outlier N/F, but not terminal, marginal, or sector loss |
| 1 | `TerminalOutlier` | outlier N/F of first or last file of run, not marginal |
| 2 | `MarginalOutlier` | marginal outlier N/F, within one standard deviation of cut line |
| 3 | `SectorLoss` | N/F diminished within a sector for several consecutive files |
| 4 | `LowLiveTime` | live time < 0.9 |
| 5 | `Misc` | miscellaneous defect, documented as comment |
| 6 | `TotalOutlierFT` | outlier N/F of FT electron, but not terminal, marginal, or sector loss |
| 7 | `TerminalOutlierFT` | outlier N/F of FT electron of first or last file of run, not marginal |
| 8 | `MarginalOutlierFT` | marginal outlier N/F of FT electron, within one standard deviation of cut line |
| 9 | `LossFT` | N/F diminished within FT for several consecutive files |

| Bit | Name | Description |
| --- | --- | --- |
| 0 | `TotalOutlier` | outlier N/F, but not terminal, marginal, or sector loss, for FD electron |
| 1 | `TerminalOutlier` | outlier N/F of first or last file of run, not marginal, for FD electron |
| 2 | `MarginalOutlier` | marginal outlier N/F, within one standard deviation of cut line, for FD electron |
| 3 | `SectorLoss` | N/F diminished within a FD sector for several consecutive files |
| 4 | `LowLiveTime` | live time < 0.9 |
| 5 | `Misc` | miscellaneous defect, documented as comment |
| 6 | `TotalOutlierFT` | outlier N/F, but not terminal, marginal, or `LossFT`, FT electron |
| 7 | `TerminalOutlierFT` | outlier N/F of first or last file of run, not marginal, FT electron |
| 8 | `MarginalOutlierFT` | marginal outlier N/F, within one standard deviation of cut line, FT electron |
| 9 | `LossFT` | N/F diminished within FT for several consecutive files |

<a name="access"></a>
# Database Access
Expand Down
16 changes: 8 additions & 8 deletions src/clasqa/Tools.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ class Tools {
// - bitName will be used as an enumerator; colon must follow
// - description will be printed if desired; do not use colons in description
def bitDefinitions = [
"TotalOutlier: outlier N/F, but not terminal, marginal, or sector loss",
"TerminalOutlier: outlier N/F of first or last file of run, not marginal",
"MarginalOutlier: marginal outlier N/F, within one stddev of cut line",
"SectorLoss: N/F diminished within a sector for several consecutive files",
"TotalOutlier: outlier N/F, but not terminal, marginal, or sector loss, for FD electron",
"TerminalOutlier: outlier N/F of first or last file of run, not marginal, for FD electron",
"MarginalOutlier: marginal outlier N/F, within one standard deviation of cut line, for FD electron",
"SectorLoss: N/F diminished within a FD sector for several consecutive files",
"LowLiveTime: live time < 0.9",
"Misc: miscellaneous defect, documented as comment",
"TotalOutlierFT: outlier N/F, but not terminal, marginal, or sector loss, FT electron",
"TerminalOutlierFT: outlier N/F of first or last file of run, not margina, FT electron",
"MarginalOutlierFT: marginal outlier N/F, within one stddev of cut line, FT electron",
"LossFT: N/F diminished within FT for several consecutive files"
"TotalOutlierFT: outlier N/F, but not terminal, marginal, or `LossFT`, FT electron",
"TerminalOutlierFT: outlier N/F of first or last file of run, not marginal, FT electron",
"MarginalOutlierFT: marginal outlier N/F, within one standard deviation of cut line, FT electron",
"LossFT: N/F diminished within FT for several consecutive files",
]

// list of bit names and descriptions
Expand Down

0 comments on commit 8914710

Please sign in to comment.