1 void doEffPythia(
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/pythia/");
10 TString command(
"mkdir ");
11 command.Append(out.Data());
12 gSystem->Exec(command.Data());
19 eff->setUseWeight(kFALSE);
20 eff->setUseBbcSpread(kFALSE);
21 eff->setPythia(kTRUE);