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_correc_value.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file save_correc_value.C
1
#include <calib_emc_pi0/CaloCalibEmc_Pi0.h>
2
3
void
save_correc_value
(
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.
Fit_Histos
(infilent);
// do the fittings
11
calo_obj.
End
(0);
// save the output file
12
}
macros
blob
master
calibrations
calo
emc_pi0_tbt
save_correc_value.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:26
using
1.8.2 with
sPHENIX GitHub integration