Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FragmentAllAtomCrmsd.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/FragmentAllAtomCrmsd.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_FragmentAllAtomCrmsd_hh
15 #define INCLUDED_protocols_frag_picker_scores_FragmentAllAtomCrmsd_hh
16 
17 // package headers
19 // AUTO-REMOVED #include <protocols/frag_picker/scores/CachingScoringMethod.hh>
21 
22 // mini
23 // AUTO-REMOVED #include <protocols/toolbox/superimpose.hh>
24 
25 #include <core/types.hh>
26 
27 #include <ObjexxFCL/FArray2D.hh>
28 #include <ObjexxFCL/FArray1D.hh>
29 
30 #include <core/pose/Pose.fwd.hh>
32 #include <utility/vector1.hh>
33 
34 
35 namespace protocols {
36 namespace frag_picker {
37 namespace scores {
38 
39 using namespace ObjexxFCL;
40 
42 
43 /// @brief scores a fragment by its crmsd to the given reference structure
45 public:
46 
47  /// @brief creates a crmsd-based scoring function.
48  /// @detailed fragments will be compared to a given pose, which should have the same number of residues a the query sequence
50 
51  /// @brief creates a crmsd-based scoring function.
52  /// @detailed fragments will be compared to given coordinates, which should have the same number of residues a the query sequence
54 
56 
57  // Undefined, commenting out to fix PyRosetta build void do_caching(VallChunkOP);
58  // Undefined, commenting out to fix PyRosetta build void clean_up();
60  // Undefined, commenting out to fix PyRosetta build bool cached_score(FragmentCandidateOP, FragmentScoreMapOP);
61 
62 private:
73  FArray1D_double weights_;
74 
75  void fill_coords(core::pose::Pose const &, FArray2_double &, Size, std::string);
76 };
77 
78 /// @brief Maker class that produces a new FragmentAllAtomCrmsd object
80 public:
81 
83  MakeFragmentScoringMethod("FragmentAllAtomCrmsd") {
84  }
85 
87 };
88 
89 } // scores
90 } // frag_picker
91 } // protocols
92 
93 #endif // INCLUDED_protocols_frag_picker_scores_FragmentAllAtomCrmsd_HH