Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OtherContextScoreFunction.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 protocols/flexpack/OtherContextScoreFunction.hh
11 /// @brief
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com), Florian Richter (floric@u.washington.edu)
13 
14 #ifndef INCLUDED_protocols_flexpack_OtherContextScoreFunction_hh
15 #define INCLUDED_protocols_flexpack_OtherContextScoreFunction_hh
16 
17 /// Unit headers
18 /// 1. CREATE THE FORWARD DECLARATION FILE
19 /// 2. #INCLUDE IT HERE
20 
21 /// Project headers
23 #include <core/pose/Pose.fwd.hh> // GET OUT OF THE HABIT OF #INCLUDING POSE.HH IN HEADER FILES
24 
25 #include <utility/vector1.hh>
26 
27 
28 
29 namespace protocols {
30 namespace flexpack {
31 
33 {
34 
35 public:
37 
38 public:
40  ~OtherContextScoreFunction();/// ALWAYS EXPLICITLY DEFINE A DSTOR -- *ESPECIALLY* IF THE CLASS CONTAINS AN OP TO SOME OTHER CLASS
41 
43  core::pose::Pose const & context_pose
44  );
45 
46  void
47  set_context_pose( core::pose::Pose const & pose );
48 
49  void pre_scoring(); //call this before scoring.
50 
51  void
52  eval_cd_1b(
53  core::conformation::Residue const & rsd,
54  core::pose::Pose const & pose,
56  ) const;
57 
58 
59  /// @brief accumulate unweighted interaction energies between rsd1 and rsd2
60  /// for all short ranged context dependent two body energies contained in this scorefunction
61  void
62  eval_cd_2b(
63  core::conformation::Residue const & rsd1,
64  core::conformation::Residue const & rsd2,
65  core::pose::Pose const & pose,
67  ) const;
68 
69 
70  void
72  core::conformation::Residue const & rsd,
73  core::pose::Pose const & pose,
75  ) const;
76 
77 
78 private:
79 
82 };
83 
84 /// CREATE A .FWD.HH FILE AND PUT THIS TYPEDEF THERE
87 
88 }
89 }
90 
91 #endif