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
simple_filters
EnergyPerResidueFilter.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/simple_filters/EnergyPerResidueFilter.hh
11
/// @brief definition of filter class EnergyPerResidueFilter.
12
/// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
13
14
#ifndef INCLUDED_protocols_simple_filters_EnergyPerResidueFilter_hh
15
#define INCLUDED_protocols_simple_filters_EnergyPerResidueFilter_hh
16
17
#include <
protocols/simple_filters/EnergyPerResidueFilter.fwd.hh
>
18
#include <
protocols/filters/Filter.hh
>
19
#include <utility/tag/Tag.fwd.hh>
20
#include <
protocols/moves/DataMap.fwd.hh
>
21
#include <
protocols/moves/Mover.fwd.hh
>
22
#include <
core/pose/Pose.fwd.hh
>
23
#include <
core/scoring/ScoreType.hh
>
24
#include <
core/scoring/ScoreFunction.hh
>
25
26
namespace
protocols {
27
namespace
simple_filters {
28
29
class
EnergyPerResidueFilter
:
public
filters::Filter
30
{
31
public
:
32
EnergyPerResidueFilter
() : filters::
Filter
(
"EnergyPerResidue"
) {}
33
34
EnergyPerResidueFilter
(
core::Size
const
resnum
,
core::scoring::ScoreFunctionCOP
scorefxn
,
35
core::scoring::ScoreType
const
score_type
,
core::Real
const
threshold
,
36
bool
const
whole_interface =
false
,
core::Size
const
rb_jump = 1,
37
core::Real
const
interface_distance_cutoff = 8.0 ,
bool
const
bb_bb
=
false
);
38
39
EnergyPerResidueFilter
(
EnergyPerResidueFilter
const
&
init
);
40
bool
apply
(
core::pose::Pose
const
& pose )
const
;
41
filters::FilterOP
clone
()
const
{
42
return
new
EnergyPerResidueFilter
( *
this
);
43
}
44
filters::FilterOP
fresh_instance
()
const
{
45
return
new
EnergyPerResidueFilter
();
46
}
47
48
void
report
( std::ostream & out,
core::pose::Pose
const
& pose )
const
;
49
core::Real
report_sm
(
core::pose::Pose
const
& pose )
const
;
50
core::Real
compute
(
core::pose::Pose
const
& pose )
const
;
51
virtual
~EnergyPerResidueFilter
();
52
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
protocols::moves::DataMap
&,
filters::Filters_map
const
&,
protocols::moves::Movers_map
const
&,
core::pose::Pose
const
& );
53
core::Size
resnum
()
const
;
54
core::scoring::ScoreFunctionOP
scorefxn
()
const
;
55
core::scoring::ScoreType
score_type
()
const
;
56
core::Real
threshold
()
const
;
57
bool
bb_bb
()
const
;
58
void
resnum
(
core::Size
const
rn );
59
void
scorefxn
(
core::scoring::ScoreFunctionOP
scorefxn
);
60
void
score_type
(
core::scoring::ScoreType
score_type
);
61
void
threshold
(
core::Real
const
th );
62
void
bb_bb
(
bool
const
b_b );
63
private
:
64
core::Size
resnum_
;
65
core::scoring::ScoreFunctionOP
scorefxn_
;
//?
66
core::scoring::ScoreType
score_type_
;
67
core::Real
threshold_
;
68
bool
whole_interface_
;
69
core::Size
rb_jump_
;
70
core::Real
interface_distance_cutoff_
;
71
bool
bb_bb_
;
72
73
};
74
75
}
76
}
77
78
#endif
Generated on Sat Jun 1 2013 12:13:21 for Rosetta 3.5 by
1.8.4