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