main_flow.C 561 B

123456789101112131415161718192021
  1. #include "TROOT.h"
  2. #include "TString.h"
  3. #include <iostream>
  4. #include "MpdCalculator.h"
  5. R__ADD_LIBRARY_PATH("/lustre/nyx/hades/user/parfenov/mpd_new/real-flow") // if needed
  6. R__LOAD_LIBRARY(MpdCalculator_C.so)
  7. R__LOAD_LIBRARY(utility_C.so)
  8. int main_flow(TString inFileName , TString outFileName, TString resFitFile, TString dcaFile)
  9. {
  10. //gSystem->Load("./utility_C.so");
  11. //gSystem->Load("./MpdCalculator_C.so");
  12. MpdCalculator mpd = MpdCalculator(inFileName,outFileName,dcaFile);
  13. mpd.CalculateFlow(0, resFitFile.Data());
  14. mpd.Write();
  15. return 0;
  16. }