31 #include <basic/Tracer.hh>
34 #include <utility/tag/Tag.hh>
38 #include <utility/vector0.hh>
39 #include <utility/vector1.hh>
47 static basic::Tracer
TR(
"protocols.fldsgn.filters.HelixKinkFilter");
65 bend_angle_( rval.bend_angle_ ),
66 secstruct_( rval.secstruct_ )
86 SS_Info2_OP ss_info =
new SS_Info2( pose, secstruct );
87 Helices const & helices( ss_info->helices() );
89 if( helices.size() < 1 ) {
90 TR <<
"There is no helix definition in pose. " << std::endl;
95 TR <<
" Pose does not have HBOND_SET. Checking hbonds will be skipped. " << std::endl;
99 for(
Size ii=1; ii<=helices.size(); ++ii ) {
101 TR <<
"Helix " << ii <<
", res " << helices[ ii ]->begin() <<
"-" << helices[ ii ]->end() <<
", ";
104 TR <<
"is bended angle=" << helices[ ii ]->bend() << std::endl;
112 if( broken_hbonds > 0 ) {
113 TR <<
"is kinked, hbonds are broken. " << std::endl;
118 TR <<
"is OK." << std::endl;
122 TR <<
" Filter success ! " << std::endl;
140 String const blueprint = tag->getOption<
String>(
"blueprint",
"" );
141 if( blueprint !=
"" ) {