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
ClashCountCalculator.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
11
/// @brief
12
/// @author Oliver Lange
13
14
15
#ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_ClashCountCalculator_hh
16
#define INCLUDED_protocols_toolbox_pose_metric_calculators_ClashCountCalculator_hh
17
18
#include <
core/pose/metrics/PoseMetricCalculatorBase.hh
>
19
#include <
core/pose/Pose.fwd.hh
>
20
#include <
core/types.hh
>
21
#include <basic/MetricValue.fwd.hh>
22
// AUTO-REMOVED #include <core/id/AtomID_Map.hh>
23
// AUTO-REMOVED #include <core/scoring/AtomVDW.hh>
24
25
// AUTO-REMOVED #include <basic/options/option.hh>
26
// AUTO-REMOVED #include <basic/options/keys/OptionKeys.hh>
27
28
// AUTO-REMOVED #include <utility/vector1.hh>
29
30
#include <utility/vector1.hh>
31
32
33
namespace
protocols{
34
namespace
toolbox {
35
namespace
pose_metric_calculators {
36
37
class
ClashCountCalculator
:
public
core::pose::metrics::StructureDependentCalculator
{
38
39
public
:
40
41
ClashCountCalculator
(
core::Real
clash_threshold );
42
43
core::pose::metrics::PoseMetricCalculatorOP
clone
()
const
{
return
new
ClashCountCalculator
(
clash_threshold_
); };
44
45
protected
:
46
47
virtual
void
lookup
(
std::string
const
& key, basic::MetricValueBase * valptr )
const
;
48
virtual
std::string
print
(
std::string
const
& key )
const
;
49
virtual
void
recompute
(
core::pose::Pose
const
& this_pose );
50
51
private
:
52
core::Size
total_clashes_
;
//count all clashes above threshold
53
core::Real
clash_threshold_
;
54
core::Size
bb_clashes_
;
//count only clashes that do no involve CB, CEN or other sidechain atoms
55
56
// const-ref to scoring database
57
core::Real
const
vdw_scale_factor_
;
58
};
59
60
61
}
// namespace pose_metric_calculators
62
}
// namespace toolbox
63
}
// namespace protocols
64
65
#endif
Generated on Sat Jun 1 2013 12:21:44 for Rosetta 3.5 by
1.8.4