void BuildEvents(Int_t spillStr=2939, Int_t spillPix=12) { // ======================================================================== // Verbosity level (0=quiet, 1=event level, 2=track level, 3=debug) Int_t iVerbose = 0; // ---- Load libraries ------------------------------------------------- gROOT->Macro("$VMCWORKDIR/gconfig/rootlogon.C"); // ------------------------------------------------------------------------ // Output file // ----- Timer -------------------------------------------------------- TStopwatch timer; timer.Start(); // ------------------------------------------------------------------------ // ----- Reconstruction run ------------------------------------------- TtEventBuilder *match = new TtEventBuilder(); // match->SetInputPixelFile("Pixel/run346_spill0_75_clk1_tot.root.hits.root"); // match->SetInputStripFile("Strip/data18.root.hits.root"); match->SetInputPixelFile("ordered_173_spill_12.root.hits.root"); match->SetInputStripFile("data132.root.hits.root"); match->SetPixBranchInName("MVDHitsPixel"); match->SetStrBranchInName("MVDHitsStrip"); match->SetSpillPixels(spillPix); match->SetSpillStrips(spillStr); TString nameOut = Form("testEvtBuilder_%d.root",spillPix); match->SetOutputFile(nameOut); match->SetStrBranchOutName("MVDHitsStripFinal"); match->SetPixBranchOutName("MVDHitsPixelFinal"); // match->SetStrBranchOutName("MatchedStripHits"); // match->SetPixBranchOutName("MatchedPixelHits"); match->SetTimeOffset(-36.7); match->SetTimeRange(5); match->Run(); }