Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FragmentCrmsdResDepth.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/FragmentCrmsdResDepth.hh
11 /// @brief Object that scores a fragment by its crmsd and residue depth to the native
12 /// @author David E Kim
13 
14 #ifndef INCLUDED_protocols_frag_picker_scores_FragmentCrmsdResDepth_hh
15 #define INCLUDED_protocols_frag_picker_scores_FragmentCrmsdResDepth_hh
16 
17 // package headers
22 
23 // mini
24 // AUTO-REMOVED #include <protocols/toolbox/superimpose.hh>
25 
26 #include <core/types.hh>
27 
28 #include <ObjexxFCL/FArray2D.hh>
29 #include <ObjexxFCL/FArray1D.hh>
30 
31 //Auto Headers
32 #include <core/pose/Pose.fwd.hh>
33 #include <utility/vector1.fwd.hh>
34 #include <iostream>
35 
36 
37 namespace protocols {
38 namespace frag_picker {
39 namespace scores {
40 
41 using namespace ObjexxFCL;
42 
44 
45 /// @brief scores a fragment by its crmsd to the given reference structure
47 public:
48 
49  /// @brief creates a crmsd-based scoring function.
50  /// @detailed fragments will be compared to a given pose, which should have the same number of residues a the query sequence
52 
53  /// @brief creates a crmsd-based scoring function.
54  /// @detailed fragments will be compared to given coordinates, which should have the same number of residues a the query sequence
56 
58 
59  void do_caching(VallChunkOP);
60  void clean_up();
62  bool cached_score(FragmentCandidateOP, FragmentScoreMapOP);
63 
64 private:
72  FArray1D_double weights_;
74 
75  void fill_CA_coords(core::pose::Pose const &, FArray2_double &, Size);
76 };
77 
78 /// @brief Maker class that produces a new FragmentCrmsdResDepth object
80 public:
81 
83  MakeFragmentScoringMethod("FragmentCrmsdResDepth") {
84  }
85 
87 };
88 
89 } // scores
90 } // frag_picker
91 } // protocols
92 
93 #endif // INCLUDED_protocols_frag_picker_scores_FragmentCrmsdResDepth_HH