#include #include #include #define pi 3.14159265358979323844 #define ntaumax 100 int main(){ double x,y,z,t,tau,px,py,pz; int itau,count_proton[ntaumax]={0},count_pion[ntaumax]={0},dummy; FILE *fptrproton,*fptrpion,*fptrlastint; fptrproton=fopen("proton.dat","r"); while(feof(fptrproton)==0){ fscanf(fptrproton,"%lf %d %lf %lf %lf %lf %lf %lf", &t,&dummy,&px,&py,&pz,&x,&y,&z); if(feof(fptrproton)==0){ if(fabs(t)