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
ChargeCalculator.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/ChargeCalculator.hh
8
/// @brief
9
/// @author Florian Richter, floric@u.washington.edu, nov 2010
10
11
12
#ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_ChargeCalculator_HH
13
#define INCLUDED_protocols_toolbox_pose_metric_calculators_ChargeCalculator_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
20
#include <set>
21
22
#include <utility/vector1.hh>
23
24
25
namespace
protocols{
26
namespace
toolbox {
27
namespace
pose_metric_calculators {
28
29
class
ChargeCalculator
:
public
core::pose::metrics::StructureDependentCalculator
{
30
31
public
:
32
33
ChargeCalculator
();
34
35
36
ChargeCalculator
(
37
std::set< core::Size >
const
& special_region
38
);
39
40
~ChargeCalculator
();
41
42
43
44
core::pose::metrics::PoseMetricCalculatorOP
clone
()
const
{
45
return
new
ChargeCalculator
(
special_region_
); };
46
47
protected
:
48
49
virtual
void
lookup
(
std::string
const
& key, basic::MetricValueBase * valptr )
const
;
50
virtual
std::string
print
(
std::string
const
& key )
const
;
51
virtual
void
recompute
(
core::pose::Pose
const
& this_pose );
52
53
54
private
:
55
56
core::Real
total_charge_
;
57
core::Size
total_pos_charges_
;
58
core::Size
total_neg_charges_
;
59
60
core::Real
SR_total_charge_
;
61
core::Size
SR_total_pos_charges_
;
62
core::Size
SR_total_neg_charges_
;
63
64
std::set< core::Size >
special_region_
;
65
66
};
67
68
69
}
// namespace PoseMetricCalculators
70
}
// namespace toolbox
71
}
// namespace protocols
72
73
#endif
Generated on Sat Jun 1 2013 12:21:40 for Rosetta 3.5 by
1.8.4