13 gStyle->SetCanvasDefH(900);
14 gStyle->SetCanvasDefW(1500);
16 const char *foldername =
"7_8";
17 const char *ext =
".gif";
21 const Long64_t kFirstEvent = 0;
24 TFile fr(
"../myData/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(
"Ach2.",&revent);
31 Int_t nevents = tr->GetEntries();
48 for (Int_t k = 0; k < 16; k++){
49 tr->GetEntry(k+kFirstEvent);
50 gr[k] =
new TGraph(*revent->GetGraphSignal());