--
RamanKhurana - 28-May-2012
Steps to Check Out Raman's Code and Run it locally :
-
cmsrel CMSSW_4_2_5
-
cd CMSSW_4_2_5/src/
-
cmsenv
-
cvs co -r V00-00-00 -d Analyzer/HZZAnalyzer/UserCode/SINP-HZZAnalysis/Analyzer/HZZAnalyzer/
-
Now all the lines below should be copied and pasted in the terminal in one go ->
echo "checking-out RecoTauTag packages"
cvs co -r 1.49 RecoTauTag/tau_tags.txt
addpkg -f RecoTauTag/tau_tags.txt
echo "checking-out PAT packages"
cvs co -r CMSSW_4_2_4_patch1 PhysicsTools/MVAComputer
cvs up -r 1.3 PhysicsTools/MVAComputer/interface/MVAModuleHelper.h
cvs co -r V08-06-36 PhysicsTools/PatAlgos
cvs up -r 1.47 PhysicsTools/PatAlgos/python/tools/tauTools.py
cvs up -r 1.5 PhysicsTools/PatAlgos/plugins/PATSingleVertexSelector.cc
cvs up -r 1.5 PhysicsTools/PatAlgos/plugins/PATSingleVertexSelector.h
cvs co -r V08-03-12 PhysicsTools/Utilities
cvs co -r CMSSW_4_2_4_patch1 DataFormats/PatCandidates
cvs up -r 1.32 DataFormats/PatCandidates/interface/Tau.h
cvs up -r 1.3 DataFormats/PatCandidates/interface/TauCaloSpecific.h
cvs up -r 1.7 DataFormats/PatCandidates/interface/TauPFSpecific.h
cvs up -r 1.21 DataFormats/PatCandidates/src/Tau.cc
cvs up -r 1.3 DataFormats/PatCandidates/src/TauCaloSpecific.cc
cvs up -r 1.6 DataFormats/PatCandidates/src/TauPFSpecific.cc
cvs co -r 1.1 DataFormats/PatCandidates/interface/TauJetCorrFactors.h
cvs co -r 1.1 DataFormats/PatCandidates/src/TauJetCorrFactors.cc
cvs up -r 1.60 DataFormats/PatCandidates/src/classes.h
cvs up -r 1.70 DataFormats/PatCandidates/src/classes_def.xml
-
Then the .cc files can be compiled by doing : scram b
- Name of appropriate root file should be wtitten in cfg file : /CMSSW_4_2_5/src/Analyzer/HZZAnalyzer/hzzanalyzer_cfg.py . One can use a root file that is kept in /tmp/swmukher/ in lxplus316 : patTupleForHZZto2l2Tauanalysis_1_1_4GF.root. This root file should be copied from /tmp folder to one's own area.
-
cmsRun hzzanalyzer_cfg.py , =>this will create a root file named HZZ2l2tau.root