#include #include #include #include #include #include #include #include #define DOING_PROOF 1 #define ASYNC_PROOF 1 TString proofserver("stats.phys.uconn.edu/?N"); TString workdir("/home/www/docs/halld/polarization/brempolar-2-2017/"); void proof() { TChain *ch=new TChain("phono"); for (int i=0; i < 100; ++i) { TString filename; filename.Form(workdir + "phonotree_%da.root", i); ch->Add(filename); filename.Form(workdir + "phonotree_%db.root", i); ch->Add(filename); filename.Form(workdir + "phonotree_%dc.root", i); ch->Add(filename); filename.Form(workdir + "phonotree_%dd.root", i); ch->Add(filename); } #if DOING_PROOF if (gProof == 0) { TProof::Open(proofserver); gProof->SetParameter("PROOF_Packetizer", "TPacketizer"); gProof->SetParameter("PROOF_MaxSlavesPerNode", (Int_t)9); } ch->SetProof(); #endif ch->Process("phonopolar.C+O"); }