This is a long shot, relax and have patience :)
Here I assume that you have already set up your favorite CMSSW release and set up CMS2.
Prepare root ntuples:
- The ME code is set up so that it takes flat root ntuples (babies) with event kinematics as an input, performs all event probability calculations and then outputs new file which is a clone of the original + an extra branch containing ME values.
- These babies are created from CMS2 ntuples using a piece of code which also applies event selection. Right now the amount of information stored in the babies is limited to what is needed for ME calculations. One could in principle expand. The code can be found on UCSD cluster in:
CMS2/NtupleMacros/WW/sergo
files you need are: branches.h
TBitSet .cc
TBitSet .hh doAll.C
- You will also need to create two soft links, one pointing to the ntuple location "data" and one pointing to "CORE"
* Proceed with other samples for data, backgrounds and signal. In the end you should have one ntuple file per process.
Preparation of MCFM libraries:
* Start by downloading the MCFM package, under SL5 current release is 5.8
wget http://mcfm.fnal.gov/mcfm-5.8.tar.gz
tar zxf tarballname.tgz
cd MCFM
./Install
Producing ME ntuples:
* Create subfolder called "ME" and copy there everything from /home/users/sergo/WWtest/CMSSW_3_8_6/src/CMS2/NtupleMacros/WW/sergo/ME/MEcode4cvs
* Compile by running gmake, this will create libME.so.
* Ok, you are pretty much done, now do:
root -l
.x runME_v1.C("../Wjets_skimmednTuple.root",10,3,50000,1.0,0)
The arguments are:
1 - input file
2 - random seed
3 - smearing level, not used now
4 - number of steps in the integration
5 - error threshold
6 - Mass, if 0 - calculate for all processes and Higgs mass hypothesis
--
SergoJindariani - 04 Jan 2011