Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MidPsiOut.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/frag_picker/scores/MidPsiOut.hh
11 /// @brief Object that scores a fragment by its crmsd to the native
12 /// @author Dominik Gront (dgront@chem.uw.edu.pl)
13 
14 #ifndef INCLUDED_protocols_frag_picker_scores_MidPsiOut_hh
15 #define INCLUDED_protocols_frag_picker_scores_MidPsiOut_hh
16 
17 // package headers
19 
22 
23 // mini
24 #include <core/types.hh>
25 
26 #include <ObjexxFCL/FArray1D.hh>
27 
28 #include <utility/vector1.hh>
29 
30 
31 namespace protocols {
32 namespace frag_picker {
33 namespace scores {
34 
36 
37 /// @brief scores a fragment by the root mean square deviation of Psi and Psi angles.
39 public:
40 
41  /// @brief creates a Psi-Psi-based scoring function.
42  /// @detailed Psi-Psi angles from a fragment will be compared to relevant angles in a given pose, which should have the same number of residues a the query sequence
43  MidPsiOut(Size priority, Real lowest_acceptable_value, bool use_lowest);
44 
45  void do_caching(VallChunkOP);
46  void clean_up();
49 
50 private:
51  ObjexxFCL::FArray1D_double chunk_psi_;
52 
54 };
55 
56 /// @brief Matker class that produces a new MidPsiOut object
58 public:
59 
61  MakeFragmentScoringMethod("MidPsiOut") {
62  }
63 
65 };
66 
67 } // scores
68 } // frag_picker
69 } // protocols
70 
71 #endif // INCLUDED_protocols_frag_picker_scores_MidPsiOut_HH