git clone https://github.com/bartokm/GbbMET.git
Write skimming condition in CopyTree event loop
Run CopyTree in root:
.L CopyTree.C
CopyTree t({"file1.root","file2.root",...},"outputname",Xsec)
t.Loop()
Or use the script: skimmer.csh
This code calculates MC BTag efficiencies and puts the results in a root file.
The output is needed as an input for Analyzer if running on MC.
First you need some input files, ask them from author.
Compile analyzer with makefile, then run Analyzer. Note: there is a warning after compilation, please ignore it.
make clean; make
./Analyzer -h
Or use the scripts: run_analyzer_data.csh, run_analyzer_mc.csh