Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MidPhiOut.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/MidPhiOut.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_MidPhiOut_hh
15 #define INCLUDED_protocols_frag_picker_scores_MidPhiOut_hh
16 
17 // package headers
19 // AUTO-REMOVED #include <protocols/frag_picker/PhiPsiTalosIO.hh>
20 
23 
24 // mini
25 #include <core/types.hh>
26 
27 #include <ObjexxFCL/FArray1D.hh>
28 
29 #include <utility/vector1.hh>
30 
31 
32 namespace protocols {
33 namespace frag_picker {
34 namespace scores {
35 
37 
38 /// @brief scores a fragment by the root mean square deviation of Phi and Psi angles.
40 public:
41 
42  /// @brief creates a Phi-Psi-based scoring function.
43  /// @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  MidPhiOut(Size priority, Real lowest_acceptable_value, bool use_lowest);
45 
46  void do_caching(VallChunkOP);
47  void clean_up();
50 
51 private:
52  //Size n_atoms_;
53  ObjexxFCL::FArray1D_double chunk_phi_;
54 
56 
57  //ObjexxFCL::FArray1D_double query_psi_;
58  //utility::vector1<bool> existing_data_;
59  //void read_talos_phi_psi(std::string const&);
60 };
61 
62 /// @brief Matker class that produces a new MidPhiOut object
64 public:
65 
67  MakeFragmentScoringMethod("MidPhiOut") {
68  }
69 
71 };
72 
73 } // scores
74 } // frag_picker
75 } // protocols
76 
77 #endif // INCLUDED_protocols_frag_picker_scores_MidPhiOut_HH