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
save_corr_value2.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file save_corr_value2.C
1
#include <calib_emc_pi0/CaloCalibEmc_Pi0.h>
2
3
void
save_corr_value2
(
const
char
* ifile =
""
,
const
char
*
ofile
=
""
,
const
char
* infilent =
""
)
4
{
5
R__LOAD_LIBRARY(libcalibCaloEmc_pi0.so)
6
7
CaloCalibEmc_Pi0
calo_obj(
"CaloCalibEmc_Pi0"
/* this name goes to SubsysReco */
,
ofile
);
8
// calo_obj.InitRun(0); // to declare the eta_hist[96]
9
calo_obj.
Get_Histos
(ifile,
ofile
);
// open the fun4al file and Get eta_hist[96] histos
10
//calo_obj.Add_96();
11
calo_obj.
Add_32
();
12
calo_obj.Fit_Histos_Eta_Phi(infilent);
// do the fittings
13
calo_obj.
End
(0);
// save the output file
14
}
macros
blob
master
calibrations
calo
emc_pi0_tbt
save_corr_value2.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:26
using
1.8.2 with
sPHENIX GitHub integration