cmsrel CMSSW_5_2_5
cd CMSSW_5_2_5/src
cmsenv
project CMSSW
cmscvsroot CMSSW
cvs co -d PhysicsToolsUserCode/Lovedeep/TnP/TnP444/PhysicsTools/
cvs co -d EGamma UserCode/Lovedeep/TnP/TnP444/EGamma
cvs co CommonTools/ParticleFlow
scramv1 b -j8
Running
To run data:
cmsRun newDataMakeTnPtree.py
To run MC:
just change the global tag in newDataMakeTnPtree.py and comment out the lumi in the crab.cfg file
To do the fits you need to do it on lxplus (cmslpc doesn't work for some reason):
cmsRun mcanalyze.py
I found I needed to additionally use
cvs co PhysicsTools/Utilities
in the Electron..py file I had to change
SUPERCLUSTER_COLL_EB = "hybridSuperClusters"
SUPERCLUSTER_COLL_EE = "multi5x5SuperClustersWithPreshower"
to
SUPERCLUSTER_COLL_EB = "correctedHybridSuperClusters"
SUPERCLUSTER_COLL_EE = "correctedMulti5x5SuperClustersWithPreshower"