21 #include <basic/Tracer.hh>
23 #include <ObjexxFCL/string.functions.hh>
31 #include <utility/vector0.hh>
32 #include <utility/vector1.hh>
33 #include <numeric/random/random.hh>
42 namespace ligand_docking {
49 Mover::type(
"AddHydrogen" );
55 residue_index_(residue_index),
56 connection_id_(connection_id)
58 Mover::type(
"AddHydrogen" );
63 protocols::moves::Mover( that ),
64 residue_index_(that.residue_index_),
65 connection_id_(that.connection_id_)
87 aa.
apply(*type_to_fix);
89 ab.
apply(*type_to_fix);
108 set_i_coor.
apply(*type_to_fix);
110 type_to_fix->finalize();
117 atom_pairs.push_back(std::pair<std::string, std::string>(name1,name1) );
118 atom_pairs.push_back(std::pair<std::string, std::string>(name2,name2) );
119 atom_pairs.push_back(std::pair<std::string, std::string>(name3,name3) );
134 char a= numeric::random::random_range(65, 90);
135 char b= numeric::random::random_range(65, 90);
136 char c= numeric::random::random_range(65, 90);
139 new_name.append(1,a);
140 new_name.append(1,b);
141 new_name.append(1,c);
143 }
while( rsd_set.
has_name(new_name));