AlcapDAQ  1
rsp_res_ana.c
Go to the documentation of this file.
1 void rsp_res_ana(int runnr, int addr, int fadc)
2 {
3  gInterpreter->AddIncludePath("../midas/include");
4  gROOT->LoadMacro("hdb.cxx+");
5  //gROOT->LoadMacro("../midas/linux/lib/libmidas_shared.so");
6  gROOT->LoadMacro("../midas/linux/lib/libmidas.so");
7  gROOT->LoadMacro("../compress/libmucap_compress.so");
8  gROOT->LoadMacro("res_analysis.cxx+");
9  char name[256];
10  sprintf(name, "../dir/run%05d.mid", runnr);
11  process_file(name, addr, fadc);
12 }