PromptLeptonVeto improved for 21.2
Add a new Prompt Lepton Tagger(PLT) algorithm in this merge request. There are two correlate steps:
- Decorated the lepton with dedicated RNN for PLT, called:
PromptLeptonRNN_*
. - Use the RNN score predict above, as well as other lepton variables, to prepare the new PLT BDT called:
PromptLeptonVetoImproved
for both electrons and muons.
For step 1, the main body of this function is written in the DecoratePromptLeptonRNN.cxx
file. It will use the lwtnn package to read and predict the RNN score and which can be used in the PromptLeptonVetoImproved
. It can also be used as a standalone discriminant in other analyses.
Step 2 was described in the DecoratePromptLeptonImproved.cxx
file.
It will take/calculate the variable of leptons and feed them to the TMVA package, then give us a prediction of BDT, which in other words is the PromptLeptonVetoImproved
. And then decorate it to the leptons.
But before that, one just should make sure has already run the DecorateNonPromptVertex
and DecoratePromptLeptonRNN
in ahead of DecoratePromptLeptonImproved
in the python configuration file.
I also modified the MUON5 derivation to include my changes.
@fuhe and @rustem will be responsible for this merge request.