Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
save_corr_val_add96.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file save_corr_val_add96.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", ofile );
8 
9  calo_obj.Get_Histos(ifile,ofile);
10 
11  calo_obj.Add_96();
12 
13  calo_obj.Fit_Histos_Eta_Phi_Add96(infilent);
14 
15  calo_obj.End(0);
16 }