2 |
// Program to convert rootples to ntuples and viceversa for the PAMELA ground data. |
// Program to convert rootples to ntuples and viceversa for the PAMELA ground data. |
3 |
// Written by Emiliano Mocchiutti. |
// Written by Emiliano Mocchiutti. |
4 |
// |
// |
5 |
// Version 3.00 (2005/11/29) |
// Version 3.01 (2006/02/14) |
6 |
// |
// |
7 |
// Changelog: |
// Changelog: |
8 |
// |
// |
9 |
|
// 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). |
10 |
|
// |
11 |
// 2.00 - 3.00 (2005/11/29): compiled. |
// 2.00 - 3.00 (2005/11/29): compiled. |
12 |
// |
// |
13 |
// 1.05 - 2.00 (2005/10/07): added TOF and TRIGGER level1 conversion (from PAW to ROOT). |
// 1.05 - 2.00 (2005/10/07): added TOF and TRIGGER level1 conversion (from PAW to ROOT). |
463 |
tree->Branch("obt",&trklev2.obt,"obt/I"); |
tree->Branch("obt",&trklev2.obt,"obt/I"); |
464 |
tree->Branch("which_calib",&trklev2.which_calib,"which_calib/I"); |
tree->Branch("which_calib",&trklev2.which_calib,"which_calib/I"); |
465 |
tree->Branch("ntrk",&trklev2.ntrk,"ntrk/I"); |
tree->Branch("ntrk",&trklev2.ntrk,"ntrk/I"); |
466 |
tree->Branch("image",&trklev2.image,"image[ntrk]/I"); |
tree->Branch("image",trklev2.image,"image[ntrk]/I"); |
467 |
tree->Branch("xm",trklev2.xm,"xm[ntrk][6]/F"); |
tree->Branch("xm",trklev2.xm,"xm[ntrk][6]/F"); |
468 |
tree->Branch("ym",trklev2.ym,"ym[ntrk][6]/F"); |
tree->Branch("ym",trklev2.ym,"ym[ntrk][6]/F"); |
469 |
tree->Branch("zm",trklev2.zm,"zm[ntrk][6]/F"); |
tree->Branch("zm",trklev2.zm,"zm[ntrk][6]/F"); |
477 |
tree->Branch("xv",trklev2.xv,"xv[ntrk][6]/F"); |
tree->Branch("xv",trklev2.xv,"xv[ntrk][6]/F"); |
478 |
tree->Branch("yv",trklev2.yv,"yv[ntrk][6]/F"); |
tree->Branch("yv",trklev2.yv,"yv[ntrk][6]/F"); |
479 |
tree->Branch("zv",trklev2.zv,"zv[ntrk][6]/F"); |
tree->Branch("zv",trklev2.zv,"zv[ntrk][6]/F"); |
480 |
tree->Branch("axv",trklev2.axv,"axv[ntrk]/F"); |
tree->Branch("axv",trklev2.axv,"axv[ntrk][6]/F"); |
481 |
tree->Branch("ayv",trklev2.ayv,"ayv[ntrk][6]/F"); |
tree->Branch("ayv",trklev2.ayv,"ayv[ntrk][6]/F"); |
482 |
tree->Branch("dedxp",trklev2.dedxp,"dedxp[ntrk][6]/F"); |
tree->Branch("dedxp",trklev2.dedxp,"dedxp[ntrk][6]/F"); |
483 |
tree->Branch("nclsx",trklev2.nclsx,"nclsx[6]/I"); |
tree->Branch("nclsx",trklev2.nclsx,"nclsx[6]/I"); |