Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
toolbox
pose_metric_calculators
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
15
#include <
core/pose/metrics/PoseMetricCalculatorBase.hh
>
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
37
class
BuriedUnsatisfiedPolarsCalculator
:
public
core::pose::metrics::EnergyDependentCalculator
{
38
39
public
:
40
41
BuriedUnsatisfiedPolarsCalculator
(
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
48
BuriedUnsatisfiedPolarsCalculator
(
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
56
core::pose::metrics::PoseMetricCalculatorOP
clone
()
const
{
57
return
new
BuriedUnsatisfiedPolarsCalculator
(
name_of_sasa_calc_
,
name_of_hbond_calc_
,
burial_sasa_cutoff_
); };
58
59
std::string
const
&
name_of_hbond_calc
()
const
{
return
name_of_hbond_calc_
; }
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
74
core::Size
satisfaction_cutoff
(
std::string
atom_type );
75
76
77
core::Size
all_bur_unsat_polars_
;
78
core::Size
special_region_bur_unsat_polars_
;
79
core::id::AtomID_Map< bool >
atom_bur_unsat_
;
80
utility::vector1< core::Size >
residue_bur_unsat_polars_
;
81
82
//holds the sasa and atom hbonds calculators necessary for this calculator
83
std::string
name_of_hbond_calc_
,
name_of_sasa_calc_
;
84
core::Real
burial_sasa_cutoff_
;
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
Generated on Sat Jun 1 2013 12:21:34 for Rosetta 3.5 by
1.8.4