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
sparta
ChemicalShiftEvaluator.cc
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 PoseEvaluator
11
/// @brief PoseEvaluator
12
/// @detailed
13
///
14
///
15
/// @author Oliver Lange
16
17
18
19
// Unit Headers
20
#include <
protocols/sparta/ChemicalShiftEvaluator.hh
>
21
22
// Package Headers
23
24
// Project Headers
25
#include <
core/io/silent/SilentStruct.hh
>
26
#include <
core/pose/Pose.hh
>
27
28
// ObjexxFCL Headers
29
30
// Utility headers
31
#include <basic/Tracer.hh>
32
#include <basic/MemTracer.hh>
33
34
// AUTO-REMOVED #include <utility/exit.hh>
35
36
#include <utility/vector0.hh>
37
#include <utility/vector1.hh>
38
39
// C++ headers
40
41
//static basic::Tracer tr("protocols.evaluation.ChemicalShiftEvaluator");
42
using
basic::mem_tr;
43
44
namespace
protocols {
45
namespace
sparta {
46
47
using namespace
core;
48
ChemicalShiftEvaluator::ChemicalShiftEvaluator
(
std::string
tag,
std::string
cst_file ) :
49
protocols::evaluation::SingleValuePoseEvaluator<core::
Real
>( tag ),
50
sparta_( cst_file )
51
{
52
mem_tr <<
" Cstor-SPARTA Evaluator "
<< std::endl;
53
}
54
55
Real
ChemicalShiftEvaluator::apply
(
pose::Pose
& pose )
const
{
56
return
sparta_
.
score_pose
( pose );
57
}
58
59
bool
ChemicalShiftEvaluator::applicable
(
pose::Pose
const
& pose )
const
{
60
return
pose.
is_fullatom
();
61
}
62
63
}
64
}
Generated on Sat Jun 1 2013 12:18:26 for Rosetta 3.5 by
1.8.4