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 :
- Presentations from Jean-Baptiste
- Hgg Analysis note (section 6 : Photon energy reconstruction)
- Friedman paper on machine learning
--
CamiloCarrillo - 06 May 2014
Topic revision: r10 - 2014-05-23
- unknown