20 const char *cursor = att.data();
24 if ( !(cursor = strchr(cursor+1,
' ')) )
return false;
27 if ( !(cursor = strchr(cursor+1,
' ')) )
return false;
30 if ( !(cursor = strchr(cursor+1,
' ')) )
return false;
33 if ( !(cursor = strchr(cursor+1,
' ')) )
return false;
36 if ( !(cursor = strchr(cursor+1,
' ')) )
return false;
39 if ( !(cursor = strchr(cursor+1,
' ')) )
return false;
42 if ( !(cursor = strchr(cursor+1,
' ')) )
return false;
45 if ( !(cursor = strchr(cursor+1,
' ')) )
return false;
54 snprintf(buf, 255,
"%i %i %.8e %.8e %.8e %.8e %.8e %i %i",
70 void GenPdfInfo::set(
const int& parton_id1,
const int& parton_id2,
const double& x1,
const double& x2,
71 const double& scale_in,
const double& xf1,
const double& xf2,
72 const int& pdf_id1,
const int& pdf_id2) {
85 return ( memcmp( (
void*)
this, (
void*)&a,
sizeof(
class GenPdfInfo) ) == 0 );
89 return !( a == *this );
96 if (
x[0] != 0 )
return true;
97 if (
x[1] != 0 )
return true;
98 if (
scale != 0 )
return true;
99 if (
xf[0] != 0 )
return true;
100 if (
xf[1] != 0 )
return true;
101 if (
pdf_id[0] != 0 )
return true;
102 if (
pdf_id[1] != 0 )
return true;