Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PairEPotential.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 core/scoring/PairEPotential.fwd.hh
11 /// @brief pairE knowledge-based potential class delcaration
12 /// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
13 
14 #ifndef INCLUDED_core_scoring_PairEPotential_hh
15 #define INCLUDED_core_scoring_PairEPotential_hh
16 
17 #include <core/types.hh>
18 #include <core/scoring/types.hh>
19 
20 //ObjexxFCL
21 #include <ObjexxFCL/FArray5D.hh>
22 
24 
25 #include <utility/pointer/ReferenceCount.hh>
26 
27 namespace core {
28 namespace scoring {
29 
31 {
32 public:
34 
35  Energy
37  conformation::Residue const & res1,
38  int res1_num_10A_neighbors,
39  conformation::Residue const & res2,
40  int res2_num_10A_neighbors
41  ) const;
42 
43  Energy
45  conformation::Residue const & res1,
46  int res1_num_10A_neighbors,
47  conformation::Residue const & res2,
48  int res2_num_10A_neighbors,
49  EnergyDerivative & dpairE_dr
50  ) const;
51 
52  bool
54 
55  Real
56  range() const {
57  return 5.5; // TEMP LIE
58  return (max_bin_+1)*pair_score_bin_range_ + pair_score_bin_base_; // 9.0 A if max_bin_ == 3; 7.5 if max_bin == 2
59  }
60 
61 private:
62 
63  Energy
65  conformation::Residue const & res1,
66  int res1_num_10A_neighbors,
67  conformation::Residue const & res2,
68  int res2_num_10A_neighbors,
69  Probability & pair_lhood_ratio,
70  Probability & pair_lhood_ratio_high,
71  Probability & pair_lhood_ratio_low ) const;
72 
78  int max_bin_;
79 
80 };
81 
82 }
83 }
84 
85 #endif