Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
blob
master
calibrations
calo
calib_nov23
emc_pi0_tbt
emcal_calib_year1
tower_slope_macro
emc_corr_files
do_eta_fit.C
do_eta_fit2.C
Fun4All_G4_SlopeCal.C
G4_CEmc_Spacal.C
G4_HcalIn_ref.C
G4_HcalOut_ref.C
run_calo_fromMDC2Hits_towslope_Fun4All_G4_Calo.C
tower_slope_run23
CaloProduction
CDBTest
common
detectors
eventcombine
InttProduction
macros
MvtxProduction
StreamingProduction
TpcProduction
TrackingProduction
validation
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
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