Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HPatchCalculator.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/toolbox/PoseMetricCalculators/HPatchCalculator.hh
11 /// @brief A Pose metric which will keep track of the SASA-based hpatch score of a Pose object
12 /// @author Ron Jacak
13 
14 #ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_HPatchCalculator_hh
15 #define INCLUDED_protocols_toolbox_pose_metric_calculators_HPatchCalculator_hh
16 
18 #include <core/pose/Pose.fwd.hh>
19 #include <core/types.hh>
20 #include <basic/MetricValue.fwd.hh>
21 #include <core/id/AtomID.fwd.hh>
22 
23 #include <map>
24 
25 #include <utility/vector1.hh>
26 
27 namespace protocols {
28 namespace toolbox {
29 namespace pose_metric_calculators {
30 
32 
33 public:
34  HPatchCalculator( bool remove_nonprotein_res = false );
36 
37 public:
39 
40 protected:
41  virtual void lookup( std::string const & key, basic::MetricValueBase* valptr ) const;
42  virtual std::string print( std::string const & key ) const;
43  virtual void recompute( core::pose::Pose const & this_pose );
44 
45 private:
48  std::map< Size, std::pair< core::Real, core::Real > > patch_scores_;
49  std::map< Size, utility::vector1< core::id::AtomID > > atoms_in_patches_;
50 };
51 
52 } // namespace pose_metric_calculators
53 } // namespace toolbox
54 } // namespace protocols
55 
56 #endif