>
means to type in terminal
[]
means to type in
ROOT
Copy
GitHub Repository:
git clone https://github.com/zflowers/TimingMETSearch
Create
ROOT files from LHE files
Copy or Move LHE file to
ExRoot Directory
> ./ExRootLHEFConverter NameOfFile.lhe NameOfFile.root
To analyze
ROOT file after moving the root file and lhe file back to the old directory using
ROOT
[] new TBrowser
Navigate to the root file that you would like to analyze. Or launch root using
> root -l NameOfFile.root
Next run .C macro in root
[] .x NameOfFile.C
[] NameOfFile m
[] m.GetEntry(0)
[] m.Loop()
The files in the
GitHub repository will output either trees or histograms
The recommended way to run this code is to first create all of the root files from the lhe files.
There is a lhe file in each directory and these are run through
ExRoot to generate the root ntuples.
Next these root files can be run through any of the macros to generate a desired result. The files
named "jet??.C" are for recreating a root file with histograms. This outputted root file can be looked
at with "Analyze.C" to make plots comparing different attributes of the trees. "??" corresponds to
the maximum possible number of jets added onto the process. So 0 means there are no jets, 01
means there could be 0 or 1 jet, and 012 means there could be 0, 1, or 2 jets added onto the process.
The delphes_1jet.C file will create a tree from the pythia MC process and the delphes RECO simulation.
This more compact tree can be used with Analyze_n2n2j.C to create histograms of the event. We
use this to look at the delphes smearing of events.