#Datacard Viewer
Datacard Viewer is a Graphical User Interface tool for exploration of Higgs measurements in datacards.
##How to use it
The tool works like this:
- Install Flask server on network.
- Type server's address in a browser.
- Upload datacards and their ROOT files you want view.
- View them.
##Installation
###General Requirements
Server side (libraries):
- Python 2.6 or higher.
- Flask 0.11 or higher.
Client side (browser):
- Safari, Chrome, Firefox, Opera.
- IE8, IE9 or newer.
###Flask
Flask can be installed in two different ways:
-
or building and installing System-Wide Flask from the source:
$ cd libs/flask-0.11 $ python setup.py build $ sudo python setup.py install
###Configuring the server
The server automatically configures it self to: "yourExternalIPAddress":5000. To configure your web server manually go to run.py and change IP address and/or port.
###Launching the server
To launch your web server go back to the DatacardViewer folder and type:
$ python run.py
If it doesn't work, go to run.py and configure it manually.
##Documentation
#Run DatacardViewer with Docker
#RooWorkspace
#Future developing
Here locates all information for future developers
Datacard tutorial: https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideCMSDataAnalysisSchool2014HiggsCombPropertiesExercise
.root files can be pulled from here: https://svnweb.cern.ch/cern/wsvn/cmshcg/trunk/summer2013/couplings/ OR here: afs/cern.ch/user/g/gpetrucc/public/CMSDAS-2014-CERN-cards.tar.gz (need to configure afs localy)
afs config
etc/rb5-config
$ kinit user@CERN.CH # get kerberos ticket
$ aklog # login to AFS cell