Kalanand's August 2013 Log
August 8th
VPlusJetsAnalyzers is now on GitHub !
Owners have full access to all repositories and admin rights to the organization.
View team:
https://github.com/organizations/VPlusJetsAnalyzers/teams/456421
And finally at long last we also have a github repository under cms-analysis!!
https://github.com/cms-analysis/ElectroWeakAnalysis-VPlusJets
(sigh) Well, we are gonna use the former.
August 9th
Updated unfolding recipe from Nhan Tran
Documentation:
http://arxiv.org/abs/1105.1160
http://hepunx.rl.ac.uk/~adye/software/unfold/RooUnfold.html
Code is here:
http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/UserCode/ntran/ElectroWeakAnalysis/VPlusJets/test/analyze/PlotterClass.py?revision=1.1&view=markup
Look here:
def doUnfolding( self, hResponse_input, hMeas_input, hTrue_input, hData_input ):
hResponse = hResponse_input
hTrue = hTrue_input
hMeas = hMeas_input
hData = hData_input
response = RooUnfoldResponse( hMeas, hTrue, hResponse, hMeas.GetName(), hMeas.GetTitle() )
unfold= RooUnfoldBayes (response, hData, 4); # OR
# unfold= RooUnfoldSvd (response, hMeas, 20); # OR
# unfold= RooUnfoldTUnfold (response, hMeas);
hReco= unfold.Hreco();
return hReco;
You also need:
ROOT.gSystem.Load('RooUnfold-1.1.1/libRooUnfold.so')
from ROOT import RooUnfoldResponse
from ROOT import RooUnfold
from ROOT import RooUnfoldBayes
Directory example:
/uscms_data/d2/ntran/physics/VJets/tlbsmPatTuples/v10_v6/CMSSW_4_2_8/src/ElectroWeakAnalysis/VPlusJets/test/analyze/RooUnfold-1.1.1
Go to July's log
Last modified: Fri Aug 09 12:20:40 CST 2013