Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: consistent defect bit descriptions #44

Merged
merged 1 commit into from
Dec 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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