Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:19:41

0001 #include <calib_emc_pi0/CaloCalibEmc_Pi0.h>
0002 
0003 void save_corr_value2(const char* ifile = "", const char* ofile = "",const char * infilent = "")
0004 {
0005     R__LOAD_LIBRARY(libcalibCaloEmc_pi0.so) 
0006       
0007     CaloCalibEmc_Pi0 calo_obj("CaloCalibEmc_Pi0" /* this name goes to SubsysReco  */, ofile );
0008     //  calo_obj.InitRun(0); // to declare the eta_hist[96] 
0009     calo_obj.Get_Histos(ifile,ofile);   // open the fun4al file and Get eta_hist[96] histos
0010     //calo_obj.Add_96();
0011     calo_obj.Add_32();
0012     calo_obj.Fit_Histos_Eta_Phi(infilent);  // do the fittings
0013     calo_obj.End(0);    // save the output file
0014 }