Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CSScore.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/CSScore.hh
11 /// @brief Object that scores a fragment by its crmsd to the native
12 /// @author Robert Vernon
13 
14 #ifndef INCLUDED_protocols_frag_picker_scores_CSScore_hh
15 #define INCLUDED_protocols_frag_picker_scores_CSScore_hh
16 
17 // package headers
20 // AUTO-REMOVED #include <protocols/frag_picker/CS2ndShift.hh>
21 
24 
25 #include <utility/io/ozstream.hh>
26 
27 // mini
28 #include <core/types.hh>
29 
30 #include <utility/vector1.hh>
31 
32 
33 
34 namespace protocols {
35 namespace frag_picker {
36 namespace scores {
37 
39 
40  //typedef utility::vector1<utility::vector1<std::pair<Real,Real> > > Score_Matrix;
41 class CSScore;
44 
45 
46 /// @brief scores a fragment by the root mean square deviation of Phi and Psi angles.
48 public:
49 
50  /// @brief creates a Phi-Psi-based scoring function.
51  /// @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
52 
53  CSScore(Size, Real, bool, CSTalosIO&);
54  void do_caching(VallChunkOP);
55  void clean_up();
58 
59  /// @brief Print debugging informations about a score for a given fragment
60  //bool describe_score(FragmentCandidateOP, FragmentScoreMapOP, std::ostream&);
61 
62 private:
63 
64  utility::io::ozstream outfile_;
65 
66  //Shift Data. Should be one vector per residue, and residues without shift data should
67  //have empty vectors.
70 
72 
74  void read_talos_phi_psi(std::string const&);
75 }; // CSScore
76 
77 /// @brief Maker class that produces a new CSScore object
79 public:
80 
82  MakeFragmentScoringMethod("CSScore") {
83  }
84 
86 };
87 
88 } // scores
89 } // frag_picker
90 } // protocols
91 
92 #endif // INCLUDED_protocols_frag_picker_scores_CSScore_HH