Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ScoreMap.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 ScoreMap.hh
11 /// @brief A place to put some common functions for scoremap output
12 /// @author Monica Berrondo
13 
14 #ifndef INCLUDED_protocols_jd2_ScoreMap_hh
15 #define INCLUDED_protocols_jd2_ScoreMap_hh
16 
17 #include <core/types.hh>
18 
19 #include <core/pose/Pose.fwd.hh>
21 
22 #include <utility/pointer/ReferenceCount.hh>
23 #include <utility/vector1.hh>
24 
25 #include <map>
26 
27 
28 namespace protocols {
29 namespace jd2 {
30 
32 public:
33  ///@brief Automatically generated virtual destructor for class deriving directly from ReferenceCount
34  virtual ~ScoreMap();
35  ///@brief full atom energies for output
36  static void nonzero_energies(
37  std::map< std::string, core::Real> & score_map,
39  core::pose::Pose & pose
40  );
41 
42  ///@brief generates a scoremap assuming the pose is already scored (note const w.r.t. pose)
43  static void score_map_from_scored_pose(
44  std::map< std::string, core::Real> & score_map,
45  core::pose::Pose const & pose
46  );
47 
48  ///@brief return-by-value version of score_map_from_scored_pose
49  static std::map< std::string, core::Real> score_map_from_scored_pose( core::pose::Pose const & pose );
50 
51  ///@brief print out the values in the scoremap
52  static void print(
53  std::map < std::string, core::Real > & score_map,
54  std::ostream & out
55  );
56 };
57 }// jd2
58 }// protocols
59 
60 #endif