Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
do_eta_fit2.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file do_eta_fit2.C
1 
2 //double fitf(Double_t * f, Double_t *p);
3 //TGraph * grff = 0;
4 #include <GlobalVariables.C>
5 
6 #include "LiteCaloEval.h"
7 R__LOAD_LIBRARY(libLiteCaloEvalTowSlope.so)
8 
9 void do_eta_fit2(const char * reffile, const char * infile, const char * modfile)
10 {
11  gSystem->Load("libLiteCaloEvalTowSlope.so");
12  LiteCaloEval reflce, modlce;
15  reflce.Get_Histos(reffile);
16  modlce.Get_Histos(infile,modfile);
17  modlce.fitmin = 0.12;
18  modlce.fitmax = 0.7;
19  modlce.FitRelativeShifts(&reflce,1);
20 
21 
22 
23 }
24 
25