Skip to content

Commit eb0a703

Browse files
committed
First pass of instructions for running on nanoAOD
1 parent 0b7e67f commit eb0a703

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

rate-estimation/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@ cd ntuple
6969
cd ..
7070
```
7171

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+
7279
### Lumi section information table
7380
In case you are using data ntuples, this table is used to avoid bad lumi sections (LS).
7481
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:
123130
|`-b` | Number of bunches. |
124131
|`--lowerPUbound` | Consider only events with PU >= lowerPUbound for the rate estimation |
125132
|`--upperPUbound` | Consider only events with PU <= upperPUbound for the rate estimation |
133+
|`--doNano` | Use nanoAOD format for input events; default is ntuple |
126134
|`--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!) |
127135
|`--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!) |
128136
|`--customReweighting` | Apply pileup reweighting using a custom set of weights, set a json-file containing the custom weights |
129137
|`--SelectRun` | Select a run number; default is full list. |
130138
|`--SelectLS [startLS,endLS]` | Select lumi sections to run over; default is whole LS provided. |
131139
|`--SelectCol` | Select the column in the PS table. |
132140
|`--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). |
133142
|`--maxEvent` | Run on a subset of the available events. |
134143
|`--doPrintPU` | Evaluate and save the rates for different pileup values |
135144
|`--PrescalePrecision` | Select the prescale precision factor e.g. for 100 (=10^2) the prescales are represented with 2 decimal places |

0 commit comments

Comments
 (0)