-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10395b7
commit 69e31b1
Showing
3 changed files
with
60 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Objects | ||
|
||
The objects for both the performance and the rate studies are defined | ||
centrally, by default at | ||
|
||
``` | ||
configs/<VERSION>/objects | ||
``` | ||
|
||
All objects found in yaml files in this directory will be found by | ||
the code. | ||
|
||
## Object configuration | ||
Below is an example for an object definition. The outermost key (`gmtMuon`) | ||
references the name of the object in the NTuples. Then `ids` can be defined. | ||
All other key-value pairs at the top level of the definition (`label`, | ||
`match_dR` etc.) are merely defaults that are overwritten by whatever is | ||
defined in a specific id. In addition `eta_ranges` defines the detector regions | ||
on which `cuts` can be defined in the `ids`, e.g. the `oldRateID` applies a cut | ||
on `quality` only in the `overlap` region, which is defined in `eta_ranges`. | ||
A default ID is also defined in the example below, which does not add any | ||
cuts or criteria to the default values. | ||
|
||
```yaml | ||
gmtMuon: | ||
label: "GMT Muon" | ||
match_dR: 0.3 | ||
eta_ranges: | ||
inclusive: [0, 7] | ||
barrel: [0, 0.83] | ||
overlap: [0.83, 1.24] | ||
endcap: [1.24, 2.4] | ||
ids: | ||
default: {} | ||
oldRateID: | ||
label: "GMT Muon, Qual>=12 in OMTF" | ||
cuts: | ||
overlap: | ||
- "{quality} >= 12" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters