Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HSPairPotential.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file
11 /// @brief
12 /// @author Nobuyasu Koga ( nobuyasu@uw.edu )
13 
14 
15 #ifndef INCLUDED_protocols_fldsgn_potentials_sspot_HSPairPotential_HH
16 #define INCLUDED_protocols_fldsgn_potentials_sspot_HSPairPotential_HH
17 
19 
20 #include <core/types.hh>
21 #include <core/pose/Pose.fwd.hh>
25 // AUTO-REMOVED #include <protocols/fldsgn/topology/DimerPairing.fwd.hh>
26 
27 // ObjexxFCL Headers
28 // AUTO-REMOVED #include <ObjexxFCL/FArray1D.hh>
29 // AUTO-REMOVED #include <ObjexxFCL/FArray3D.hh>
30 #include <ObjexxFCL/FArray4D.hh>
31 
32 // Utility Headers
33 #include <utility/pointer/ReferenceCount.hh>
34 
35 #include <utility/vector1.hh>
36 #include <ObjexxFCL/FArray1D.fwd.hh>
37 
38 
39 namespace protocols {
40 namespace fldsgn {
41 namespace potentials {
42 namespace sspot {
43 
44 /// @brief secondary structure scoring cut from classic rosetta structure.h/structure.cc
46 public:
47 
48 
50  typedef core::Size Size;
51  typedef core::Real Real;
57 
58  typedef ObjexxFCL::FArray1D< int > FArray1D_int;
59  typedef ObjexxFCL::FArray1D< Real > FArray1D_real;
60  typedef ObjexxFCL::FArray4D< Real > FArray4D_real;
61 
62 
63 public: // construct/destruct
64 
65 
66  /// @brief default constructor
68 
69  /// @brief default destructor
70  virtual ~HSPairPotential();
71 
72 
73 public: // scoring
74 
75 
76  /// @brief score secondary structure
77  void score( Pose const & pose,
78  SS_Info2 const & ss_info,
79  Real & hs_score ) const;
80 
81 
82 private:
83 
84 
85  // @brief
86  Real calc_phithetascore( Size const strand_seqsep, Real const phi, Real const theta ) const;
87 
88  /// @brief
89  void helix_end( Size const & pos1, BB_Pos const & bb_pos, Vector & p1, Vector & p2 ) const;
90 
91 
92 private: // initialization
93 
94 
95  /// @brief load phi/theta bins for use in secondary structure scoring
96  void load_phi_theta_bins( String const & ss_filename = "scoring/score_functions/SecondaryStructurePotential/phi.theta.36.HS.resmooth" );
97 
98 
99 private: // secondary structure data
100 
101  /// @brief
103 
104  /// @brief
106 
107 
108 };
109 
110 } // ns sspot
111 } // ns potentials
112 } // ns fldsgn
113 } // ns protocols
114 
115 
116 #endif