Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CenPairEnergy.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/methods/CenPairEnergy.hh
11 /// @brief Statistically derived rotamer pair potential class declaration
12 /// @author Phil Bradley
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_CenPairEnergy_hh
16 #define INCLUDED_core_scoring_methods_CenPairEnergy_hh
17 
18 // Unit Headers
19 // AUTO-REMOVED #include <core/scoring/methods/EnvPairEnergy.fwd.hh>
20 
21 // Package headers
25 
26 
27 // Project headers
28 #include <core/pose/Pose.fwd.hh>
29 
30 // Utility headers
31 #include <utility/vector1.fwd.hh>
32 
33 #include <utility/vector1.hh>
34 
35 
36 
37 namespace core {
38 namespace scoring {
39 namespace methods {
40 
41 ///
43 public:
45 public:
46 
47  ///
48  CenPairEnergy();
49 
50 
51  /// clone
52  virtual
54  clone() const;
55 
56  /////////////////////////////////////////////////////////////////////////////
57  // scoring
58  /////////////////////////////////////////////////////////////////////////////
59 
60  virtual
61  void
62  setup_for_scoring( pose::Pose & pose, ScoreFunction const & ) const;
63 
64  virtual
65  void
67  conformation::Residue const & rsd1,
68  conformation::Residue const & rsd2,
69  pose::Pose const &, // pose,
70  ScoreFunction const &,
71  EnergyMap & emap
72  ) const;
73 
74 
75  virtual
76  void
78  pose::Pose & pose,
79  ScoreFunction const &,
80  EnergyMap &// totals
81  ) const;
82 
83  /// This method *should* admit to defining intraresidue energies
84  virtual
85  bool
86  defines_intrares_energy( EnergyMap const & ) const { return false; }
87 
88  void
90  conformation::Residue const &,
91  pose::Pose const &,
92  ScoreFunction const &,
93  EnergyMap &
94  ) const {}
95 
96  virtual
97  Distance
99 
100  virtual
102 
103 
104  /////////////////////////////////////////////////////////////////////////////
105  // data
106  /////////////////////////////////////////////////////////////////////////////
107 
108 private:
109 
110  // const-ref to scoring database
112 virtual
113 core::Size version() const;
114 
115 };
116 
117 
118 }
119 }
120 }
121 
122 #endif // INCLUDED_core_scoring_ScoreFunction_HH