main_resolutions.C 722 B

123456789101112131415161718192021222324252627
  1. //#include "MpdCalculator.C"
  2. //#include "utility.C"
  3. #include "TROOT.h"
  4. #include "TString.h"
  5. #include <iostream>
  6. #include "MpdCalculator.h"
  7. R__ADD_LIBRARY_PATH("/lustre/nyx/hades/user/parfenov/mpd_new/real-flow") // if needed
  8. R__LOAD_LIBRARY(MpdCalculator_C.so)
  9. R__LOAD_LIBRARY(utility_C.so)
  10. int main_resolutions(TString inFileName , TString outFileName, TString dcaFileName)
  11. {
  12. std::cout << "loading libraries" << std::endl;
  13. //gSystem->Load("./utility_C.so");
  14. //gSystem->Load("/lustre/nyx/hades/user/parfenov/real-flow/utility_C.so");
  15. //gSystem->Load("./MpdCalculator_C.so");
  16. MpdCalculator mpd = MpdCalculator(inFileName,outFileName,dcaFileName);
  17. mpd.CalculateResolutions(0);
  18. mpd.Write();
  19. return 0;
  20. }