This only needs to be done once.
Everything is setup in the area /users/h2/quarknet/
Copy over the "Trees_Analyzer" directory:
#(that dot is needed!)
Everytime you log into the hexcms computer.
Change directory into the "src" area
Setup the CMS environment
Edit the python code (for example simple0.py)
Run the python code
New code to look at jets (can we find the top quark?)
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:
Then, within root one way to look at the histograms is the TreeBrowser
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
Some files to look at with the event display
Simulation Z -> mu mu
/users/h2/quarknet/Fireworks/CMSSW_9_4_0_patch1/src/DATA/pickevents_data_4.root
cp -r /users/h2/quarknet/Trees_Analyzer/ .
source /users/h2/quarknet/.cshrc
cd Trees_Analyzer/CMSSW_9_4_0_patch1/src/
cmsenv
emacs simple0.py
python simple0.py
cp /users/h2/quarknet/Trees_Analyzer/CMSSW_9_4_0_patch1/src/tree_analyzer_2.py .
root my_output_file.root
root > TBrowser a;
- 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
- /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