- ROOT6
- C++11 compiler
- CMake >= 2.8 (lx-cluster: cmake28 executable)
- Boost
mkdir build; cd build
cmake ..
make
On lx-cluster:
- use
CMSSW_7_4_X
- use
cmake28
instead ofcmake
Execute run.x
(created in the build directory).
Without any arguments, a test module is run.
Meaningful modules can be chosen as arguments:
$ run.x --help
Usage: ./run.x module1[ module2[...]] [options]
Allowed options:
-h [ --help ] produce help message
-f [ --fraction ] arg (=1) Fraction of events to process
--release Release mode (don't draw version labels)
Plots are stored as canvases in a root file.
The view.py
script can be used for browsing the file,
it sets the right styles.
To add a new module, create a new <module>.cpp
file in src/modules
.
The entry function has to be extern "C" void run() {...}
.
Add <module>
to the list in src/modules/CMakeLists.txt
index description-from-LHEheader 0 mur=1 muf=1 1 mur=1 muf=2 2 mur=1 muf=0.5 3 mur=2 muf=1 4 mur=2 muf=2 5 mur=2 muf=0.5 6 mur=0.5 muf=1 7 mur=0.5 muf=2 8 mur=0.5 muf=0.5
10 Member 1 11 Member 2 12 Member 3 13 Member 4 ...