166 |
GL_ROOT *glroot = new GL_ROOT(); |
GL_ROOT *glroot = new GL_ROOT(); |
167 |
//GL_PARAM *glparam = new GL_PARAM(); |
//GL_PARAM *glparam = new GL_PARAM(); |
168 |
// |
// |
169 |
|
UShort_t CRCcheck[2]= {0,0}; |
170 |
|
UShort_t Status[2]= {0,0}; |
171 |
|
UShort_t Hitmap[2]= {0,0}; |
172 |
|
UShort_t Hitstatus[2]= {0,0}; |
173 |
|
UShort_t Trigger[2] = {0,0}; |
174 |
|
UShort_t Trigg_old[2] = {0,0}; |
175 |
|
UShort_t Counter[2][16]; |
176 |
|
UShort_t Counter_old[2][16]; |
177 |
|
UShort_t Shift[2][16]; |
178 |
|
Int_t vec[2][16][16]; |
179 |
|
Int_t tmp = 0; |
180 |
|
memset(vec, 0, 2*16*16*sizeof(UShort_t)); |
181 |
|
memset(Shift, 0, 2*16*sizeof(UShort_t)); |
182 |
|
memset(Counter, 0, 2*16*sizeof(UShort_t)); |
183 |
|
memset(Counter_old, 0, 2*16*sizeof(UShort_t)); |
184 |
|
// |
185 |
// Let's start! |
// Let's start! |
186 |
// |
// |
187 |
// |
// |
484 |
/***********************************************/ |
/***********************************************/ |
485 |
// Here starts Anticounter specific code (Silvio) |
// Here starts Anticounter specific code (Silvio) |
486 |
// |
// |
487 |
UShort_t CRCcheck[2]; |
memset(vec, 0, 2*16*16*sizeof(UShort_t)); |
488 |
UShort_t Status[2]; |
memset(Shift, 0, 2*16*sizeof(UShort_t)); |
489 |
UShort_t Hitmap[2]; |
memset(Counter, 0, 2*16*sizeof(UShort_t)); |
490 |
UShort_t Hitstatus[2]; |
memset(Counter_old, 0, 2*16*sizeof(UShort_t)); |
491 |
UShort_t Trigger[2]; |
memset(CRCcheck, 0, 2*sizeof(UShort_t)); |
492 |
UShort_t Trigg_old[2]; |
memset(Status, 0, 2*sizeof(UShort_t)); |
493 |
UShort_t Counter[2][16]; |
memset(Hitmap, 0, 2*sizeof(UShort_t)); |
494 |
UShort_t Counter_old[2][16]; |
memset(Hitstatus, 0, 2*sizeof(UShort_t)); |
495 |
|
memset(Trigger, 0, 2*sizeof(UShort_t)); |
496 |
UShort_t Shift[2][16]; |
memset(Trigg_old, 0, 2*sizeof(UShort_t)); |
497 |
Int_t vec[2][16][16]; |
tmp = 0; |
|
|
|
|
Int_t tmp; |
|
498 |
// |
// |
499 |
for(Int_t gg = 0; gg < 2; gg++) |
for(Int_t gg = 0; gg < 2; gg++) |
500 |
{ |
{ |
662 |
// |
// |
663 |
if ( verbose ) printf("\n Exiting...\n"); |
if ( verbose ) printf("\n Exiting...\n"); |
664 |
if( ac ) ac->Delete(); |
if( ac ) ac->Delete(); |
665 |
|
// |
666 |
|
if ( acl2 ) delete acl2; |
667 |
|
if ( acclone ) delete acclone; |
668 |
|
if ( glroot ) delete glroot; |
669 |
|
if ( runinfo ) delete runinfo; |
670 |
|
// |
671 |
if(code < 0) throw code; |
if(code < 0) throw code; |
672 |
return(code); |
return(code); |
673 |
} |
} |