Photon Energy Scale and Resolution with Z→μμγ

Cluster Correction Validation

To reproduce plots in https://twiki.cern.ch/twiki/pub/CMS/ZToLLGamma/ClusterCorrValidationWithZToMuMuGamma_2011-07-14_JV.pdf follow these steps:
## Create a new working area on t3-susy
ssh t3-susy.ultralight.org
bash
cd `mktemp -d -p .`

## Set the environment for 64bit SLC5 CMSSW releases
export SCRAM_ARCH=slc5_amd64_gcc434
export CMS_PATH=/cms/sw
export PATH=/cms/sw/bin:${PATH}
alias cmsrel='scramv1 project CMSSW'
alias scram=scramv1

## Create a project area
cmsrel CMSSW_4_2_3
cd CMSSW_4_2_3/src
cmsenv

## Setup CVS environment
## This assumes that your username is same for the t3-susy and AFS.
## Should that not be the case, replace $(whoami) below with your AFS username.
export CVSROOT=:ext:$(whoami)@cmscvs.cern.ch:/cvs_server/repositories/CMSSW
export CVS_RSH=ssh

## Get the sources from CVS
## Follow http://cvs.web.cern.ch/cvs/howto.php#accessing-sshlinux 
## to avoid typing your AFS password 
cvs co -d JPsi/MuMu UserCode/JanVeverka/JPsi/MuMu

## This will report errors but do it  non the less
cd JPsi/MuMu/python
scram b 

## Make the Z -> mmg plots
cd $CMSSW_BASE/src/JPsi/MuMu/test/escale
## Ctrl-D to exit, add `-b' to run in batch mode
python -i scaleFitDriver.py

## Make the Ereco/Etrue closure test plots for MC only, Ctrl-D to exit
python -i scaleFitDriverGauss.py

-- Main.veverka - 2011-07-20

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2011-07-20 - veverka
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback