You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rate-estimation/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,13 @@ cd ntuple
69
69
cd ..
70
70
```
71
71
72
+
It is also possible to run the rate estimation code on nanoAOD using the option `--doNano`.
73
+
Some notes:
74
+
- nanoAOD should only be used with the `--useUnpackTree` option, since nanoAOD does not yet store the emulator trees
75
+
- only the final uGT decisions are stored in nanoAOD, whilst initial decisions are the default;
76
+
to compare the uGT output (for prescaled triggers) with equivalent ntuples the `--UseFinalDecision` flag should be used
77
+
- muon shower variables are not yet stored in nanoAOD for the standalone emulator, so these will return 0 rates
78
+
72
79
### Lumi section information table
73
80
In case you are using data ntuples, this table is used to avoid bad lumi sections (LS).
74
81
It also includes LS vs PU information, which can be useful for plotting rate vs PU dependencies.
@@ -123,13 +130,15 @@ The arguments that you can use are as follows:
123
130
|`-b`| Number of bunches. |
124
131
|`--lowerPUbound`| Consider only events with PU >= lowerPUbound for the rate estimation |
125
132
|`--upperPUbound`| Consider only events with PU <= upperPUbound for the rate estimation |
133
+
|`--doNano`| Use nanoAOD format for input events; default is ntuple |
126
134
|`--doReweightingRun3`| Apply pileup reweighting of the Run 3 flat pileup distribution according to Run 3Lumi POG model (do not use with `--lowerPUbound` or `--upperPUbound` option!) |
127
135
|`--doReweighting2018`| Apply pileup reweighting of the Run 3 flat pileup distribution to match the Run 2 pileup profile (do not use with `--lowerPUbound` or `--upperPUbound` option!) |
128
136
|`--customReweighting`| Apply pileup reweighting using a custom set of weights, set a json-file containing the custom weights |
129
137
|`--SelectRun`| Select a run number; default is full list. |
130
138
|`--SelectLS [startLS,endLS]`| Select lumi sections to run over; default is whole LS provided. |
131
139
|`--SelectCol`| Select the column in the PS table. |
132
140
|`--UseUnpackTree`| Switch to using UnpackTree; default is EmuTree. |
141
+
|`--UseFinalDecision`| Switch to using final uGT decisions; default is initial decisions (relevant only for prescaled triggers). |
133
142
|`--maxEvent`| Run on a subset of the available events. |
134
143
|`--doPrintPU`| Evaluate and save the rates for different pileup values |
135
144
|`--PrescalePrecision`| Select the prescale precision factor e.g. for 100 (=10^2) the prescales are represented with 2 decimal places |
0 commit comments