///#include "armory/evtReader.h" ///evtReader * evt = new evtReader("run-0238-00.evt", true); #include "peachCake.C+" void script() { TChain * chain = new TChain("tree"); //chain->Add("root_data/run-0237-*.root"); //chain->Add("root_data/run-0238-*.root"); //chain->Add("root_data/run-0241-*.root"); //chain->Add("root_data/run-0244-*.root"); //chain->Add("root_data/run-0246-*.root"); chain->Add("root_data/run-02[3-4][0-9]-00.root"); bool isSaveNewTree = false; chain->GetListOfFiles()->Print(); peachCake * selector = new peachCake(); selector->SaveNewTree(isSaveNewTree); chain->Process(selector, ""); ///gROOT->ProcessLine("armory/nsclEvtReader.h"); ///evt->ReadBlock(2); }