File indexing completed on 2025-08-05 08:19:42
0001 #include <litecaloeval/LiteCaloEval.h>
0002 R__LOAD_LIBRARY(libLiteCaloEvalTowSlope.so)
0003
0004 void doTscFit(){
0005
0006 string hist_fname = "condor/combine_out/tsc_hcalout_comb.root";
0007 string fitoutfile = "fitout_hcalout.root";
0008
0009 LiteCaloEval modlce;
0010 modlce.CaloType(LiteCaloEval::HCALOUT);
0011 modlce.Get_Histos(hist_fname.c_str(),fitoutfile.c_str());
0012 modlce.setFitMin(0.15);
0013 modlce.setFitMax(0.8);
0014 modlce.FitRelativeShifts(&modlce,110);
0015
0016 hist_fname = "condor/combine_out/tsc_hcalin_comb.root";
0017 fitoutfile = "fitout_hcalin.root";
0018
0019 LiteCaloEval modlce2;
0020 modlce2.CaloType(LiteCaloEval::HCALIN);
0021 modlce2.Get_Histos(hist_fname.c_str(),fitoutfile.c_str());
0022 modlce2.setFitMin(0.15);
0023 modlce2.setFitMax(0.8);
0024 modlce2.FitRelativeShifts(&modlce2,110);
0025
0026
0027 }