Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PhiPsiSquareWell.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/FragmentCrmsd.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_PhiPsiSquareWell_hh
15 #define INCLUDED_protocols_frag_picker_scores_PhiPsiSquareWell_hh
16 
17 // package headers
21 
22 // mini
23 #include <core/types.hh>
24 
25 #include <ObjexxFCL/FArray1D.hh>
26 
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 Phi and Psi angles.
39 public:
40 
41  /// @brief creates a Phi-Psi-based scoring function.
42  /// @detailed Phi-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
44 
46 
47  void do_caching(VallChunkOP);
48  void clean_up();
51 
52 private:
54  ObjexxFCL::FArray1D_double chunk_phi_;
55  ObjexxFCL::FArray1D_double chunk_psi_;
56  ObjexxFCL::FArray1D_double query_phi_;
57  ObjexxFCL::FArray1D_double query_psi_;
58  ObjexxFCL::FArray1D_double query_d_phi_;
59  ObjexxFCL::FArray1D_double query_d_psi_;
60  ObjexxFCL::FArray1D_double query_dist_;
61  ObjexxFCL::FArray1D_double query_s2_;
65 };
66 
67 /// @brief Matker class that produces a new PhiPsiSquareWell object
69 public:
70 
72  MakeFragmentScoringMethod("PhiPsiSquareWell") {
73  }
74 
76 };
77 
78 } // scores
79 } // frag_picker
80 } // protocols
81 
82 #endif // INCLUDED_protocols_frag_picker_scores_PhiPsiSquareWell_HH