The ntuple making part works for 2021 Winter20 samples in this branch. For 2018 we need to use CMSSW_10_2_X and for Summer19 one should use EGMHLT_run3 branch Although the macros works for all years.
cmsrel CMSSW_11_0_3
cd CMSSW_11_0_3/src
cmsenv
git clone git@github.com:arunhep/TagAndProbe_Trigger.git
git checkout EGMHLT_run3_110X
scramv1 b
cd $CMSSW_BASE/src/TagAndProbe_Trigger/NtupleProducer/test
cmsRun runNtupler.py
python multicrab_Ele.py
cd TagAndProbe_Trigger/TagAndProbeMacros
./run.sh