Photon Energy Regression Studies at IPNL

Code :

Traditionnal Regression

This code trains the regression, then tests it producing some illustrative plots

scram project CMSSW_7_0_1
cd CMSSW_7_0_1/src/
cmsenv
git clone https://github.com/bcourbon/TraditionalRegression.git
cd TraditionalRegression/
source /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.04/x86_64-slc5-gcc46-opt/root/bin/thisroot.sh
make
mkdir plots
./regression.exe run/MyGBR_Photons_70pre11.config

The input file is specified in MyGBR_Photons_70pre11.config

Don't forget to install eos; to install eos :

cd 
mkdir eos
eosmount eos

To produce the input trees by yourself :

cd CMSSW_7_0_1/src/
cmsenv
git clone https://github.com/camilocarrillo/GedPhotonRegTreeMaker.git
cd GedPhotonRegTreeMaker/GedPhotonRegTreeMaker/ 
scram b 
cd python/
cmsRun runPhotonRegressionTrees_cfg.py

Semi-Parametric Regression

This code trains the regression, then tests it producing some illustrative plots

scram project CMSSW_6_2_x
cd CMSSW_6_2_x/src/
cmsenv
git clone https://github.com/bcourbon/SemiParametricRegression.git
cd SemiParametricRegression/
scram b
root -l macros/RegressionTraining.C+\(true\) #barrel
root -l macros/RegressionTraining.C+\(false\) #endcaps
root -l macros/RegressionTesting.C+\(true\) #barrel
root -l macros/RegressionTesting.C+\(false\) #endcaps
hadd -f resultsEBEE.root resultsEB.root resultsEE.root
mkdir plots
root -l macros/RegressionPlotting.C+
root -l macros/RegressionPlotting.C+\(false,true,false\) #to plot results only for barrel
root -l macros/RegressionPlotting.C+\(false,false,true\) #to plot results only for endcaps

Don't forget to install eos if you want to use the input files specified in the code

Documentation :

-- CamiloCarrillo - 06 May 2014

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r10 - 2014-05-23 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback