Based on discussion in today's BTV WG meeting (https://indico.cern.ch/event/312306/), we would like to have the following particle selection (or any superset of it)
```Python
"keep (4 <= abs(pdgId) = 5) & (status = 2 || status = 11 || status = 71 || status = 72)", # keep heavy flavour quarks for parton-based jet flavour
"keep (1 <= abs(pdgId) <= 3 || pdgId = 21) & (status = 2 || status = 11 || status = 71 || status = 72) & pt>PTCUT", # keep light-flavour quarks and gluons for parton-based jet flavour
"keep (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", # keep b and c hadrons for hadron-based jet flavour
"keep (abs(pdgId) = 11 || abs(pdgId)= 13) & status = 1", # keep status=1 electrons and muons
"keep abs(pdgId)= 15 & status = 2", # keep status=2 taus
"keep abs(pdgId) = 10411 || abs(pdgId) = 10421 || abs(pdgId) = 10413 || abs(pdgId) = 10423 || abs(pdgId) = 20413 || abs(pdgId) = 20423 || abs(pdgId) = 10431 || abs(pdgId) = 10433 || abs(pdgId) = 20433" # additional c hadrons for jet fragmentation studies
"keep abs(pdgId) = 10511 || abs(pdgId) = 10521 || abs(pdgId) = 10513 || abs(pdgId) = 10523 || abs(pdgId) = 20513 || abs(pdgId) = 20523 || abs(pdgId) = 10531 || abs(pdgId) = 10533 || abs(pdgId) = 20533 || abs(pdgId) = 10541 || abs(pdgId) = 10543 || abs(pdgId) = 20543" # additional b hadrons for jet fragmentation studies
```
Note that
```Python
PTCUT
```
above needs to be set to some value. Based on the studies presented in https://indico.cern.ch/event/312306/session/1/contribution/13/material/slides/0.pdf, all three non-zero values of PTCUT that were studied (5, 10, and 15 GeV) bring the size of the pruned GenParticle collection below 0.7 kB/event. From the jet flavor point of view, the lowest possible value is preferred (5 GeV would probably be a good trade-off value between the collection size and jet flavor).