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
scoring
methods
saxs
PDDFEnergy.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 core/protocols/scoring/methods/saxs/PDDFEnergy.hh
11
/// @brief "Energy" based on a similarity of theoretical PDDF (pairwise distance distribution function)
12
/// @author Dominik Gront (dgront@chem.uw.edu.pl)
13
14
15
#ifndef INCLUDED_protocols_scoring_methods_saxs_PDDFEnergy_hh
16
#define INCLUDED_protocols_scoring_methods_saxs_PDDFEnergy_hh
17
18
// Package headers
19
#include <
protocols/scoring/methods/saxs/PDDFEnergy.fwd.hh
>
20
// AUTO-REMOVED #include <core/scoring/saxs/FormFactorManager.hh>
21
// AUTO-REMOVED #include <core/scoring/saxs/FormFactor.hh>
22
// AUTO-REMOVED #include <protocols/scoring/methods/saxs/PDDFEnergyCreator.hh>
23
24
// AUTO-REMOVED #include <core/scoring/EnergyMap.hh>
25
#include <
core/scoring/methods/WholeStructureEnergy.hh
>
26
// AUTO-REMOVED #include <core/scoring/methods/EnergyMethodOptions.hh>
27
28
#include <
core/scoring/ScoreType.hh
>
29
#include <
core/scoring/ScoreFunction.fwd.hh
>
30
31
// Project headers
32
#include <
core/pose/Pose.fwd.hh
>
33
34
#include <
core/scoring/methods/EnergyMethodOptions.fwd.hh
>
35
#include <
core/scoring/saxs/FormFactorManager.fwd.hh
>
36
#include <utility/vector1.hh>
37
38
39
namespace
protocols {
40
namespace
scoring {
41
namespace
methods {
42
namespace
saxs {
43
44
45
class
PDDFEnergy
:
public
core::scoring::methods::WholeStructureEnergy
{
46
public
:
47
48
PDDFEnergy
();
49
50
PDDFEnergy
(
utility::vector1<core::Real>
const
&,
utility::vector1<core::Real>
const
&);
51
52
virtual
~PDDFEnergy
() {}
53
54
virtual
core::scoring::methods::EnergyMethodOP
clone
()
const
{
return
new
PDDFEnergy
(); }
55
56
virtual
void
finalize_total_energy
(
core::pose::Pose
& pose,
core::scoring::ScoreFunction
const
&,
core::scoring::EnergyMap
& totals)
const
;
57
58
virtual
void
indicate_required_context_graphs
(
utility::vector1< bool >
&
/*context_graphs_required*/
59
)
const
{}
60
61
core::scoring::methods::EnergyMethodOP
create_energy_method
(
core::scoring::methods::EnergyMethodOptions
const
&)
const
{
62
return
new
PDDFEnergy
();
63
}
64
65
utility::vector1<core::Real>
&
get_pddf
() {
66
return
pose_pddf_
;
67
}
68
69
utility::vector1<core::Real>
&
get_dist_bins
() {
70
return
d_
;
71
}
72
73
utility::vector1<core::Real>
&
compute_pddf
(
const
core::pose::Pose
&)
const
;
74
utility::vector1<core::Real>
&
compute_pddf_without_ff
(
const
core::pose::Pose
&)
const
;
75
core::Real
compute_chi
(
utility::vector1<core::Real>
const
&,
utility::vector1<core::Real>
const
&)
const
;
76
core::Real
compute_L1
(
utility::vector1<core::Real>
const
&,
utility::vector1<core::Real>
const
&)
const
;
77
void
create_pddf
(
core::pose::Pose
&,
core::Real
,
core::Real
,
core::Real
);
78
79
core::Real
evaluate_pddf_energy
(
const
core::pose::Pose
& pose)
const
;
80
81
private
:
82
mutable
utility::vector1< utility::vector1<core::Real>
>
factors_
;
83
mutable
utility::vector1<core::Size>
r_ids_
;
84
mutable
utility::vector1<core::Size>
a_ids_
;
85
mutable
utility::vector1< utility::vector1<core::Real>
>
dmatrix_
;
86
mutable
utility::vector1<bool>
is_glob_
;
87
88
core::Real
norm_
;
89
bool
if_fit_area_
;
90
utility::vector1<core::Real>
d_
;
91
mutable
utility::vector1<core::Real>
pose_pddf_
;
92
utility::vector1<core::Real>
reference_pddf_
;
93
core::scoring::saxs::FormFactorManager
*
ff_manager_
;
94
core::Real
bin_size_
;
95
core::Size
min_bin_
;
96
core::Size
max_bin_
;
97
bool
if_hydrogens_
;
98
99
void
read_pddf
(
std::string
);
100
virtual
101
core::Size
version
()
const
;
102
};
103
104
105
}
106
}
107
}
108
}
109
110
#endif
Generated on Sat Jun 1 2013 12:11:49 for Rosetta 3.5 by
1.8.4