13 gStyle->SetCanvasDefH(900);
14 gStyle->SetCanvasDefW(1500);
16 const char *foldername =
"7_8";
17 const char *ext =
".gif";
21 const Long64_t kFirstEvent = 1;
24 TFile fr(
"../../NeuRad/oscill/tests/analyze.root");
25 TCanvas *c1 =
new TCanvas(
"c1",
"test",10,10,1000,600);
27 TTree *tr = (TTree*)fr.Get(
"cbmsim");
29 AEvent *revent =
new AEvent(1000);
30 tr->SetBranchAddress(
"Ach1.",&revent);
31 Int_t nevents = tr->GetEntries();
50 tr->GetEntry(k+kFirstEvent);
51 gr[k] =
new TGraph(*revent->GetGraphSignal());
63 c1->Print(
"shape.png");