{ gROOT->ProcessLine(".L macro/tpc/dedx/CChainGetter.C+"); gROOT->ProcessLine(".L macro/tpc/dedx/dedx.C+"); gROOT->ProcessLine(".L macro/tpc/dedx/DEDXFitCreator.C+"); gROOT->ProcessLine(".L macro/tpc/dedx/DEDXDistribana.C+"); gROOT->ProcessLine(".L macro/tpc/dedx/SeparationPower.C+"); gROOT->ProcessLine(".L macro/tpc/dedx/SepPoHandler.C+"); gROOT->ProcessLine(".L macro/tpc/dedx/seppo.C+"); string Dir; cout << "Enter Dir: " << endl; cin >> Dir; string base="/afs/e18/data/panda/MC/FAIRRoot/RUNMC/"; cout << "DEDXtruncHistos.root" << "(1)" << endl; cout << "DEDXHistos.root" << "(2)" << endl; string choice; cin >> choice; string SeppoHisto; if(choice=="1") { SeppoHisto= "DEDXtruncHistos.root"; } else if(choice=="2") { SeppoHisto= "DEDXHistos.root"; } else { cout << "Enter Histo Name: " << endl; cin >> SeppoHisto; } string SeppoFile=base+Dir+"/"+ SeppoHisto.c_str(); cout << "Calculating SeparationPower for File: " << SeppoFile.c_str() << endl; seppo(SeppoFile.c_str()); }