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_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;
13
reflce.
CaloType
(
LiteCaloEval::HCALIN
);
14
modlce.
CaloType
(
LiteCaloEval::HCALIN
);
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,0);
20
21
22
23
}
24
25
macros
blob
master
calibrations
calo
tower_slope_run23
do_eta_fit2.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:26
using
1.8.2 with
sPHENIX GitHub integration