Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BuriedUnsatisfiedPolarsCalculator.hh
Go to the documentation of this file.
1 // (c) Copyright Rosetta Commons Member Institutions.
2 // (c) This file is part of the Rosetta software suite and is made available under license.
3 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
4 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
5 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
6 
7 /// @file /src/protocols/toolbox/PoseMetricCalculators/BuriedUnsatisfiedPolarsCalculator.hh
8 /// @brief
9 /// @author Florian Richter
10 
11 
12 #ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_BuriedUnsatisfiedPolarsCalculator_hh
13 #define INCLUDED_protocols_toolbox_pose_metric_calculators_BuriedUnsatisfiedPolarsCalculator_hh
14 
16 #include <core/pose/Pose.fwd.hh>
17 #include <core/types.hh>
18 #include <basic/MetricValue.fwd.hh>
19 #include <core/id/AtomID_Map.hh>
20 
21 #include <basic/options/option.hh>
22 
23 #include <utility/vector1.hh>
24 
25 #include <set>
26 
27 
28 // option key includes
29 
30 #include <basic/options/keys/pose_metrics.OptionKeys.gen.hh>
31 
32 
33 namespace protocols{
34 namespace toolbox {
35 namespace pose_metric_calculators {
36 
38 
39 public:
40 
42  std::string sasa_calc,
43  std::string hbond_calc,
44  core::Real burial_cutoff = basic::options::option[basic::options::OptionKeys::pose_metrics::atomic_burial_cutoff]
45  );
46 
47 
49  std::string sasa_calc,
50  std::string hbond_calc,
51  std::set< core::Size > const & special_region,
52  core::Real burial_cutoff = basic::options::option[basic::options::OptionKeys::pose_metrics::atomic_burial_cutoff]
53  );
54 
55 
58 
60  std::string const & name_of_sasa_calc() const { return name_of_sasa_calc_; }
61 
62 protected:
63 
64  virtual void lookup( std::string const & key, basic::MetricValueBase * valptr ) const;
65  virtual std::string print( std::string const & key ) const;
66  virtual void recompute( core::pose::Pose const & this_pose );
67 
68 
69 private:
70 
71  void assert_calculators();
72 
73  static
75 
76 
81 
82  //holds the sasa and atom hbonds calculators necessary for this calculator
85 
86  std::set< core::Size > special_region_;
87 
88 };
89 
90 
91 } // namespace pose_metric_calculators
92 } // namespace toolbox
93 } // namespace protocols
94 
95 #endif