+
+#if 0
+ //test Altro read
+ UShort_t rrow=0,rtime=0,rcharge=0;
+ UChar_t rpad=0;
+ afile=fopen(argv[4],"r");
+ altromem.SetASCIIInput(afile);
+ while(altromem.Read(rrow,rpad,rtime,rcharge)){
+ cout << "Padrow " << (int)rrow << " pad " << (int)rpad << " time " <<(int)rtime << " charge " << (int)rcharge << endl;
+ }
+ fclose(afile);
+#endif
+#if 0
+ //test Altro read sequence
+ UShort_t rrow=0,rtime=0;
+ UChar_t rpad=0,n=100,i=100;
+ UShort_t *charges=new UShort_t[100];
+ afile=fopen(argv[4],"r");
+ altromem.SetASCIIInput(afile);
+ while(altromem.ReadSequence(rrow,rpad,rtime,i,&charges)){
+ cout << "Padrow " << (int)rrow << " pad " << (int)rpad << " time " <<(int)rtime << " charges ";
+ for(UChar_t ii=0;ii<i;ii++) cout << (int)charges[ii] << " ";
+ cout << endl;
+ i=n;
+ }
+ fclose(afile);
+#endif