2804 |
memset(tdc,0,4*12*sizeof(Float_t)); |
memset(tdc,0,4*12*sizeof(Float_t)); |
2805 |
// |
// |
2806 |
// |
// |
2807 |
|
Int_t myseq = 0; |
2808 |
// if ( repuntil == 0 || var.tofraw ){ |
// if ( repuntil == 0 || var.tofraw ){ |
2809 |
if ( repuntil == 1 || var.tofraw ){ |
if ( repuntil == 1 || var.tofraw ){ |
2810 |
numtr = 0; |
numtr = 0; |
2812 |
repeat = false; |
repeat = false; |
2813 |
} else { |
} else { |
2814 |
// |
// |
2815 |
|
// printf(" deH_ \n"); |
2816 |
// |
// |
2817 |
if ( numtr >= (repuntiltr-1) ) repeat = false; |
if ( numtr == 0 ){ |
2818 |
// |
// printf(" ques \n"); |
2819 |
//printf(" numtr is %i \n",numtr); |
ptt = L2->GetToFLevel2()->GetToFTrkVar(0); |
2820 |
// ptt = L2->GetToFLevel2()->GetToFTrkVar(numtr); |
myseq = 0; |
2821 |
ptrack = L2->GetTrack(numtr); |
// printf(" que \n"); |
2822 |
ptt = ptrack->GetToFTrack(); |
|
2823 |
|
} else { |
2824 |
|
if ( numtr >= (repuntiltr-1) ) repeat = false; |
2825 |
|
// |
2826 |
|
printf(" numtr is %i \n",numtr); |
2827 |
|
// ptt = L2->GetToFLevel2()->GetToFTrkVar(numtr); |
2828 |
|
ptrack = L2->GetTrack(numtr-1); |
2829 |
|
ptt = ptrack->GetToFTrack(); |
2830 |
|
myseq = ptt->trkseqno + 1; |
2831 |
|
}; |
2832 |
}; |
}; |
2833 |
// |
// |
2834 |
xp11[0] = 0.; |
xp11[0] = 0.; |
2842 |
// |
// |
2843 |
ii = 2; |
ii = 2; |
2844 |
// |
// |
2845 |
Int_t myseq = ptt->trkseqno + 1; |
// Int_t myseq = ptt->trkseqno + 1; |
2846 |
// |
// |
2847 |
|
// printf(" qui \n"); |
2848 |
L2->GetToFLevel2()->GetMatrix(myseq,adc,tdc); |
L2->GetToFLevel2()->GetMatrix(myseq,adc,tdc); |
2849 |
// |
// |
2850 |
// printf(" qua \n"); |
// printf(" qua \n"); |
2851 |
// |
// |
2852 |
// for ( Int_t i = 0; i<8; i++ ) { |
// for ( Int_t i = 0; i<8; i++ ) { |
2853 |
// if ( adc[ch11a[i]][hb11a[i]] < 1000. ){ |
// if ( adc[ch11a[i]][hb11a[i]] < 1000. ){ |