Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-18 09:22:10

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