EventFilter python wrapper howto


SSH client, lxplus account and webbrowser with internet connection

Running Event Filter in IPython Notebook

login to lxplus with port forwarding:

ssh -L 8888:localhost:8888 lxplus.cern.ch 

(or in case of putty and Windows, make a SSH tunnel for local port 8888 to remote localhost:8888)

clone tutorial repository (or pull the latest version):

git clone https://:@git.cern.ch/kerberos/event_filter_tutorial
cd event_filter_tutorial

NB If the authenticated repository does not work, you can try:

 git clone http://git.cern.ch/cernpub/event_filter_tutorial

then run


as you see in your console:

The IPython Notebook is running at:

navigate your browser to to open IPython Notebook Dashboard

Inside IPython Notebook Dashboard

In the dashboard you see list of notebooks.

You see list of notebooks ordered by difficulty increase.

To to get familiar with IPython, start from 00-abc-ipython.ipynb, 00-intro_ipython.ipynb.

To understand how to work with ROOT: 00-intro-ROOT.ipynb, 00-intro-ROOT_2.ipynb.

Working with classifiers is shown in: 01-howto-ToyMC-EF.ipynb, 02-howto-ToyMC-TMVA.ipynb, 03-howto-ToyMC-Sklearn.ipynb.

To compare classifiers: 04-howto-ToyMC-Factory.ipynb

Note on running from under CERNVM

It is tested to run successfully. If you want a browser open upon IPython start use this command:

./run_lxplus.sh browser

-- AndreyUstyuzhanin - 03 Apr 2014

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r9 - 2014-10-22 - AndreyUstyuzhanin
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb 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.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback