Setup

This only needs to be done once.

Everything is setup in the area /users/h2/quarknet/
Copy over the "Trees_Analyzer" directory:

cp -r /users/h2/quarknet/Trees_Analyzer/ .

#(that dot is needed!)


Everytime you log into the hexcms computer.

source /users/h2/quarknet/.cshrc


Change directory into the "src" area

cd Trees_Analyzer/CMSSW_9_4_0_patch1/src/

Setup the CMS environment

cmsenv

Edit the python code (for example simple0.py)

emacs simple0.py

Run the python code

python simple0.py

New code to look at jets (can we find the top quark?)

cp /users/h2/quarknet/Trees_Analyzer/CMSSW_9_4_0_patch1/src/tree_analyzer_2.py .

Now let's look at plots you made

Histograms you make in the tree_analyzer code are in the file named in the outfile (ie, "my_output_file.root" for instance). To look at the histograms open the "root" program with this file:

root my_output_file.root


Then, within root one way to look at the histograms is the TreeBrowser

root > TBrowser a;


Now you can click on the root file at the top left, and it will open up to show you the histograms inside. Click on the histogram name to see it.
Running The Event Display

Running The Event Display

  • To run the event display on filename.root
  • cd /users/h2/quarknet/Fireworks/CMSSW_9_4_0_patch1/src

    source /users/h2/quarknet/.cshrc

    cmsenv

    cmsShow filename.root


    Some files to look at with the event display

    Simulation Z -> mu mu

  • /users/h2/quarknet/Fireworks/CMSSW_9_4_0_patch1/src/MC/pickevents_MC_1.root
  • /users/h2/quarknet/Fireworks/CMSSW_9_4_0_patch1/src/MC/pickevents_MC_2.root
  • /users/h2/quarknet/Fireworks/CMSSW_9_4_0_patch1/src/MC/pickevents_MC_3.root
  • /users/h2/quarknet/Fireworks/CMSSW_9_4_0_patch1/src/MC/pickevents_MC_4.root

    Simulation Events with photons and jets

  • /cms/xaastorage/MINIAOD/2016/GJets/HT_100to200/GJet_100to200_1.root

    Real Data (single-muon triggered)

  • /users/h2/quarknet/Fireworks/CMSSW_9_4_0_patch1/src/DATA/pickevents_data_4.root