Various useful links for getting started on (co-op) Track Trigger related work

Introductory material

CMS experiment and physics introduction

CMS experiment: https://www.youtube.com/watch?v=S99d9BQmGB0

More on CMS detector (and the links on the right sidebar): https://cms.cern/detector

More on CMS physics (and the links on the right sidebar): https://cms.cern/physics

Overview lectures:

These are some nice lectures from the "CERN summer student" program that are publicly available. In particular these ones is a good introduction:

- One series (3 lectures) on "particle world":

1/3: https://indico.cern.ch/event/709526/

2/3: https://indico.cern.ch/event/709530/

3/3: https://indico.cern.ch/event/709532/

- First lecture on "detectors": https://indico.cern.ch/event/716456/

- Another series (3 lectures) on "from raw data to physics results":

1/3: https://indico.cern.ch/event/716505/

2/3: https://indico.cern.ch/event/716506/

3/3: https://indico.cern.ch/event/716508/

Computing accounts & general useful links

CMS computing workbook has a ton of details (in particular go through chapter 1): https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBook

ROOT (for data analysis, making figures, etc.), recommend installing it locally on your computer (https://root.cern/install/).

Basic tutorial about ROOT: https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookBasicROOT

Full site about ROOT: https://root.cern.ch/

Obtaining a grid certificate: https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookStartingGrid#BasicGrid

Password-less login: http://linux.web.cern.ch/linux/docs/kerberos-access.shtml

Linux commands: https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookBasicLinux

cernbox (CERN's version of dropbox):

http://cernbox.cern.ch

http://cernbox-manual.web.cern.ch/cernbox-manual/en/

L1 tracking software stuff

The first time to set up all the software, use this:

Set up CMS software release:

cmsrel CMSSW_11_1_0_pre8
cd CMSSW_11_1_0_pre8/src/
cmsenv 

Check out some additional code specific to the L1 tracking:

git cms-checkout-topic -u cms-L1TK:L1TK-dev-11_1_0_pre8
git clone https://github.com/cms-data/L1Trigger-TrackFindingTracklet.git L1Trigger/TrackFindingTracklet/data

Compile the code:

scram b -j 8

Go to the "test" directory where we will execute (run) the code:

cd L1Trigger/TrackFindingTracklet/test/

Finally, run the L1 tracking (this requires that you have requested and set up the grid certificate (using voms-proxy-init --voms cms) , see link above):

cmsRun L1TrackNtupleMaker_cfg.py

You can browse the python script in github here.

==> This will process 10 events from a Monte Carlo simulated sample of top quark pair production, with an average of 200 "pileup" interactions. Creates an output file called "TTbar_PU200_D49.root" that you can directly open in ROOT:

root -l TTbar_PU200_D49.root 

Once you have set up the software the first time, use this:

Set up CMS software release and grid certificate:

cd CMSSW_11_1_0_pre8/src/
cmsenv 
voms-proxy-init --voms cms 

IF you have made changes to any of the C++ code, then you need to recompile the code, otherwise it is not necessary:

scram b -j 8

Go to the "test" directory and run the L1 tracking:

cd L1Trigger/TrackFindingTracklet/test/
cmsRun L1TrackNtupleMaker_cfg.py

Make histograms

To make histograms from the ROOT ntuple files that are created when you run L1TrackNtupleMaker_cfg.py, you can use the L1TrackNtuplePlot.C script. You can look at the plotting script in github here.

To run it in ROOT, the first time (only) -- create the following output directory (this is where the histograms will be saved):

mkdir TrkPlots

Then open ROOT:

root -l 

... and run as follows (assuming that the root file is called TTbar_PU200_D49.root, otherwise change the name accordingly):

.L L1TrackNtuplePlot.C++
L1TrackNtuplePlot("TTbar_PU200_D49")

Hardware (TIF) stuff

Documentation

Looong document describing in all its detail the upgraded L1 trigger system, can use this as a reference. Suggest to read:

  • First part of introduction section, section 1.1 "Physics motivations and CMS Phase-2 trigger upgrade"
  • Section 2.1 about the L1 tracking "Track finder primitives"

http://cds.cern.ch/record/2714892?

Setting up (mac os x) computer for working:

Install XQuartz: https://www.xquartz.org/

Install XCode: https://root.cern/install/dependencies/#macos

Set up a text editor, there are many many out there. I (Louise) use Aquamacs (https://aquamacs.org/).

Install ROOT and cernbox (as linked above).

-- LouiseSkinnari - 2020-02-21

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2020-07-15 - LouiseSkinnari
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback