1 void doEff(
const char *in,
const char *PID,
const char *flag)
3 gSystem->Load(
"$HOME/MyEvent/MyEvent");
4 gSystem->Load(
"$HOME/gamma/analysis/lib/AnaCuts");
5 gSystem->Load(
"$HOME/gamma/analysis/lib/EventMixer");
6 gSystem->Load(
"$HOME/gamma/analysis/lib/Pi0Analysis");
7 gSystem->Load(
"$HOME/gamma/analysis/lib/Efficiency");
9 TString out(
"/star/u/russcher/gamma/analysis/output/dAu/");
11 TString command(
"mkdir ");
12 command.Append(out.Data());
13 gSystem->Exec(command.Data());
20 eff->setUseWeight(kTRUE);