10 #ifndef INCLUDED_protocols_sic_dock_xyzStripeHashPose_hh
11 #define INCLUDED_protocols_sic_dock_xyzStripeHashPose_hh
15 #include <numeric/geometry/hashing/xyzStripeHash.hh>
23 #include <platform/types.hh>
34 numeric::geometry::hashing::xyzStripeHash<double>(radius)
42 numeric::geometry::hashing::xyzStripeHash<double>(radius)
52 numeric::geometry::hashing::xyzStripeHash<double>(radius)
67 for(
int ia = 1; ia <= (
int)amap.
n_atom(ir); ia++) {
68 if(amap[
AtomID(ia,ir)] > 0) natom++;
76 for(
int ia = 1; ia <= (
int)amap.
n_atom(ir); ia++) {
77 if(amap[
AtomID(ia,ir)] > 0) {
94 if(
CA==m ){
if(r.has(
"CA")){ natom++; }}
95 else if(
CB==m ){
if(r.has(
"CB")){ natom++; }}
96 else if(
NBR==m ) natom++;
97 else if(
BB ==m ) natom += r.has(
"N")+r.has(
"CA")+r.has(
"C")+r.has(
"O")+r.has(
"CB");
98 else if(
HVY==m ) natom += r.nheavyatoms();
99 else if(
ALL==m ) natom += r.natoms();
107 if(r.has(
"CA")){ atoms[++count]=r.xyz(
"CA"); }
109 if(r.has(
"CB")){ atoms[++count]=r.xyz(
"CB"); }
111 int ia = r.nbr_atom();
113 atoms[++count] = p.
xyz(aid);
114 meta [ count] = r.atom_type(ia).lj_radius();
116 if(r.has(
"N")){ atoms[++count]=r.xyz(
"N"); }
117 if(r.has(
"CA")){ atoms[++count]=r.xyz(
"CA"); }
118 if(r.has(
"C")){ atoms[++count]=r.xyz(
"C"); }
119 if(r.has(
"O")){ atoms[++count]=r.xyz(
"O"); }
120 if(r.has(
"CB")){ atoms[++count]=r.xyz(
"CB"); }
122 if(r.has(
"CA")){ atoms[++count]=r.xyz(
"CA"); }
123 if(r.has(
"C")){ atoms[++count]=r.xyz(
"C"); }
124 if(r.has(
"CB")){ atoms[++count]=r.xyz(
"CB"); }
126 int natom = (
ALL==m) ? r.natoms() : r.nheavyatoms();
127 for(
int ia = 1; ia <= natom; ++ia) {
129 atoms[++count] = p.
xyz(aid);