// ================ // camresp() root -b char *pisaIFile="/phenix/data23/enterria/eta_PISA_run08616-0000.root"; char *prdfOFile="eta_run_test.prdf"; char *parOFile="eta_rawpar_test.root"; char *relOFile="eta_rawrel_test.root"; .x camresprun_eta_emcal_cut.C(10,1,1,pisaIFile,0,0.0,"","","","",prdfOFile,parOFile,relOFile,8616); ----- root -b char *pisaIFile="/phenix/workarea/enterria/year1_pi0_embed/pisa_files/pi0_PISA_run_test.root"; char *prdfOFile="/phenix/workarea/enterria/year1_pi0_embed/prdf_files/pi0_run_test.prdf"; char *parOFile ="/phenix/workarea/enterria/year1_pi0_embed/eval_files/pi0_rawpar_test.root"; char *relOFile ="/phenix/workarea/enterria/year1_pi0_embed/eval_files/pi0_rawrel_run_test.root"; .x camresprun_pi0_emcal_cut.C(10,1,1,pisaIFile,0,0.0,"","","","",prdfOFile,parOFile,relOFile,8616); printf("Simulated PRDF file: /phenix/workarea/enterria/year1_pi0_embed/prdf_files/pi0_run_test.prdf\n"); .q // ================ // emc_preco() { gSystem.Load("/afs/rhic/phenix/users/enterria/installnew/lib/libpreco.so"); pfileopen("/phenix/workarea/enterria/year1_pi0_embed/prdf_files/pi0_run_test.prdf"); //pfileopen("/phenix/u/enterria/wrk/prdf_files/gam_run11970-0005.prdf"); //poutfileopen("gam_run11970-0005.root"); poutfileopen("gam_run_test.root"); setSimulationFlag(); precoSelect::None(); precoSelect::setBBC(); // select only BBC, PAD and EMC precoSelect::setPAD(); precoSelect::setEMC(); precoSelect::List(); prun(10); //prun(-1); pend(); pexit(); } // ================ // emc_merge() { //gSystem->Load("/afs/rhic/phenix/users/enterria/install301gcc/lib/libEmbed.so"); gSystem->Load("/afs/rhic/phenix/users/enterria/installnew/lib/libemcEmbed.so"); gSystem->Load("/afs/rhic/phenix/users/enterria/installphnx/lib/libemcEmbed.so"); // we need to check the order of these guys ? setverbose(1); doutfileopen("dstEmbedOut.root"); dfileopen("dstDataReal5.root"); //dfileopen("/phenix/data17/phnxreco/v05/dsts/DST_v05_Stream01-0000012087-0000.proot"); dfileopen2("dstDataSimul0.root","rawrel0.root"); //dfileopen2("$AFSHOME/test_dst/gam_rawrel_run08885-0000.root","$AFSHOME/test_dst/gam_run08885-0000.root"); //dfileopen2("test.root","rawrel.root"); //dstatus(); drun(20); dexit(); } // ================ // emc_mDST() { //gSystem->Load("libmicroDST.so"); gSystem->Load("/afs/rhic/phenix/users/enterria/installnew/lib/libmicroDST.so") // always open the output file first, otherwise input gets corrupted doutfileopen("udst.root"); // year 2000   dfileopen("/phenix/data01/dst_data/DST_v03_Stream01-0000012399-0002.proot"); // test year 2001 //dfileopen("/phenix/data07/phnxreco/emc_new/wrk3/DST_run2_v01_27197-0000.proot"); //dfileopen("/phenix/data17/phnxreco/run2_v01_test1/dsts/DST_run2_v01_test1_Stream01-0000027197-0000.proot"); // debug printout //set_debug(1); precoSelect::None(); precoSelect::setEMC(); precoSelect::setPAD(); precoSelect::setBBC(); precoSelect::List(); gBenchmark->Start("TOTAL"); drun(10); gBenchmark->Show("TOTAL"); gBenchmark->Stop("TOTAL"); gBenchmark->Reset(); dexit(); } // ================ // emc_qa() { char *qafile = "gam_qa_run11970-0005.root"; TFile *f = new TFile(qafile,"RECREATE"); gSystem->Load("libdstqa.so"); qaSetOpts("BEP"); // BBC, PAD and EMCal only qaRun("gam_run11970-0005.root",qafile); }