void MakeClusterTree(Int_t n) { TFile * f = new TFile("pokus.root","recreate"); AliTPCClustersArray arr; arr.MakeArray(10000); arr.MakeTree(); for (Int_t i=0;iSetIndex(i); arr.AddSegment(row); } for (Int_t i=0;iWrite("pokus1"); } void MakeTree(Int_t n) { AliSegmentArray arr; TFile * f= new TFile("pokus.root","recreate"); arr.MakeArray(10000); arr.MakeTree(); // for (Int_t i=0;iRndm())*n))); //for (Int_t i=0;iRndm())*n)); for (Int_t i=0;iWrite("pokus1"); } void ConnectTree(Int_t n,AliSegmentArray *a) { AliSegmentArray &arr= *a; // TFile * f = new TFile("pokus.root","update"); TFile * f = new TFile("pokus.root","update"); arr.MakeArray(10000); arr.ConnectTree("pokus1"); for (Int_t i=0;iGetID()!=i) cout<