Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
do_eta_fit.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file do_eta_fit.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_fit
(const
char
* reffile, const
char
* modfile)
10
{
11
gSystem->Load(
"libLiteCaloEvalTowSlope.so"
);
12
LiteCaloEval
reflce, modlce;
13
reflce.
CaloType
(
LiteCaloEval::HCALOUT
);
14
modlce.
CaloType
(
LiteCaloEval::HCALOUT
);
15
reflce.
Get_Histos
(reffile);
16
modlce.
Get_Histos
(modfile);
17
modlce.
FitRelativeShifts
(&reflce,21);
18
19
}
20
21
macros
blob
master
calibrations
calo
tower_slope_macro
do_eta_fit.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:26
using
1.8.2 with
sPHENIX GitHub integration