--- root2paw/macros/GroundDataConvert.c 2005/12/05 16:17:38 1.1.1.1 +++ root2paw/macros/GroundDataConvert.c 2006/02/14 15:56:35 1.2 @@ -2,10 +2,12 @@ // Program to convert rootples to ntuples and viceversa for the PAMELA ground data. // Written by Emiliano Mocchiutti. // -// Version 3.00 (2005/11/29) +// Version 3.01 (2006/02/14) // // Changelog: // +// 3.00 - 3.01 (2006/02/14): bug in the booking of the level2 tracker rootple (wrong dimension of axv and wrong dereference to image[ntrk]), fixed (thanks to Silvio Orsi). +// // 2.00 - 3.00 (2005/11/29): compiled. // // 1.05 - 2.00 (2005/10/07): added TOF and TRIGGER level1 conversion (from PAW to ROOT). @@ -461,7 +463,7 @@ tree->Branch("obt",&trklev2.obt,"obt/I"); tree->Branch("which_calib",&trklev2.which_calib,"which_calib/I"); tree->Branch("ntrk",&trklev2.ntrk,"ntrk/I"); - tree->Branch("image",&trklev2.image,"image[ntrk]/I"); + tree->Branch("image",trklev2.image,"image[ntrk]/I"); tree->Branch("xm",trklev2.xm,"xm[ntrk][6]/F"); tree->Branch("ym",trklev2.ym,"ym[ntrk][6]/F"); tree->Branch("zm",trklev2.zm,"zm[ntrk][6]/F"); @@ -475,7 +477,7 @@ tree->Branch("xv",trklev2.xv,"xv[ntrk][6]/F"); tree->Branch("yv",trklev2.yv,"yv[ntrk][6]/F"); tree->Branch("zv",trklev2.zv,"zv[ntrk][6]/F"); - tree->Branch("axv",trklev2.axv,"axv[ntrk]/F"); + tree->Branch("axv",trklev2.axv,"axv[ntrk][6]/F"); tree->Branch("ayv",trklev2.ayv,"ayv[ntrk][6]/F"); tree->Branch("dedxp",trklev2.dedxp,"dedxp[ntrk][6]/F"); tree->Branch("nclsx",trklev2.nclsx,"nclsx[6]/I");