14 #ifndef INCLUDED_core_scoring_packing_HolesParams_hh
15 #define INCLUDED_core_scoring_packing_HolesParams_hh
22 #include <utility/io/izstream.hh>
23 #include <utility/exit.hh>
29 #include <utility/vector1.hh>
40 typedef std::pair< core::Size, char >
Key;
56 using namespace utility;
58 utility::io::izstream in;
61 in.open( fname.c_str() );
63 if( !in ) { utility_exit_with_message(
"HolesParams::read_data_file can't find file"); }
68 for(
Size i = 1; i <=24; ++i ) {
75 if( 999 == at )
break;
79 if(
'*'==ss ) { SS.push_back(
'E'); SS.push_back(
'H'); SS.push_back(
'L');
sep_ss_[
at] =
false; }
80 else SS.push_back(ss);
93 for(
Size i = 2; i <= SS.size(); ++i ) {
94 nb_weights_[
Key(at,SS[i])] = nb_weights_[k];
95 sa_weights_[
Key(at,SS[i])] = sa_weights_[k];
96 intercepts_[
Key(at,SS[i])] = intercepts_[k];
118 using namespace core;
149 #endif // INCLUDED_core_scoring_packing_HolesParams_HH