475 |
L2 = new PamLevel2(); |
L2 = new PamLevel2(); |
476 |
// |
// |
477 |
if ( level.file == 2 ){ |
if ( level.file == 2 ){ |
478 |
otr = L2->LoadPamTrees(file); |
// otr = L2->LoadPamTrees(file); |
479 |
|
otr = L2->GetPamTree(file); |
480 |
// ******************** |
// ******************** |
481 |
// load magnetic field |
// load magnetic field |
482 |
// ******************** |
// ******************** |
484 |
// |
// |
485 |
stringstream magfie; |
stringstream magfie; |
486 |
magfie.str(""); |
magfie.str(""); |
487 |
|
// magfie << "/localdisk/mocchiut/test/calib/trk-param/field_param-0/"; |
488 |
magfie << pam_calib; |
magfie << pam_calib; |
489 |
magfie << "/trk-param/field_param-0/"; |
magfie << "/trk-param/field_param-0/"; |
490 |
// |
// |
817 |
// |
// |
818 |
// SHOW PALETTE |
// SHOW PALETTE |
819 |
// |
// |
820 |
|
thefigure->cd(); |
821 |
if ( var.PALETTE ) ShowPalette(); |
if ( var.PALETTE ) ShowPalette(); |
822 |
// |
// |
823 |
// SHOW VERBOSE INFOS |
// SHOW VERBOSE INFOS |
2171 |
if ( adc[ch11b[i]][hb11b[i]] < 1000. ){ |
if ( adc[ch11b[i]][hb11b[i]] < 1000. ){ |
2172 |
ms11b[i] = adc[ch11b[i]][hb11b[i]]; |
ms11b[i] = adc[ch11b[i]][hb11b[i]]; |
2173 |
}; |
}; |
2174 |
xp11[i] = 0.; |
// xp11[i] = 0.; |
2175 |
}; |
}; |
2176 |
|
|
2177 |
Int_t nmtof = 0; |
Int_t nmtof = 0; |
2211 |
if ( adc[ch12b[i]][hb12b[i]] < 1000. ) ms12b[i] = adc[ch12b[i]][hb12b[i]]; |
if ( adc[ch12b[i]][hb12b[i]] < 1000. ) ms12b[i] = adc[ch12b[i]][hb12b[i]]; |
2212 |
xp12[i] = 0.; |
xp12[i] = 0.; |
2213 |
}; |
}; |
2214 |
|
// |
2215 |
xp12[0] = ptt->xtofpos[0]; |
xp12[0] = ptt->xtofpos[0]; |
2216 |
// |
// |
2217 |
ii = 2; |
ii = 2; |
2219 |
ii--; |
ii--; |
2220 |
if ( adc[ch21a[i]][hb21a[i]] < 1000. ) ms21a[ii] = adc[ch21a[i]][hb21a[i]]; |
if ( adc[ch21a[i]][hb21a[i]] < 1000. ) ms21a[ii] = adc[ch21a[i]][hb21a[i]]; |
2221 |
if ( adc[ch21b[i]][hb21b[i]] < 1000. ) ms21b[ii] = adc[ch21b[i]][hb21b[i]]; |
if ( adc[ch21b[i]][hb21b[i]] < 1000. ) ms21b[ii] = adc[ch21b[i]][hb21b[i]]; |
2222 |
xp12[i] = 0.; |
xp21[i] = 0.; |
2223 |
}; |
}; |
2224 |
xp21[0] = ptt->xtofpos[1]; |
xp21[0] = ptt->xtofpos[1]; |
2225 |
// |
// |