Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MotifHit.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 MotifHit.hh
11 /// @brief Class declaration for class that holds information about a motif in the context of the search
12 /// @author sthyme (sthyme@gmail.com)
13 
14 #ifndef INCLUDED_protocols_motifs_MotifHit_hh
15 #define INCLUDED_protocols_motifs_MotifHit_hh
16 
17 // Unit Headers
19 
20 // Package Headers
22 
23 // Project Headers
25 // AUTO-REMOVED #include <core/pack/rotamer_set/RotamerSet.fwd.hh>
26 #include <core/types.hh>
27 
28 // Utility Headers
29 #include <utility/pointer/ReferenceCount.hh>
30 #include <utility/vector1.hh>
31 
32 // C++ Headers
33 
34 namespace protocols {
35 namespace motifs {
36 
38 
39 public:
40 
41  // Constructor that defaults to empty allowed_types (aka, all allowed)
42  MotifHit(
43  Motif const & motif,
44  Size const & vbpos,
45  bool const passed_automorphism
46  );
47 
48  // Destructor, copy constructor, clone method
49  virtual ~MotifHit();
50  MotifHit( MotifHit const & src );
51  MotifHitOP clone() const;
52 
53  // Set final_test_
54  void final_test(
55  core::Real const & final_test
56  );
57 
58  // Set the best rotamer and conformer
59  void build_rotamer(
61  );
62 
63  void target_conformer(
65  );
66 
67  void dump_motif_hit();
68 
69  // Accessors
70  MotifCOP const & motifcop() const { return motifcop_; }
71  Size const & vbpos() const { return vbpos_; }
72  bool const & passed_automorphism() const { return passed_automorphism_; }
73  core::Real const & final_test() const { return final_test_; }
76 
77 private:
78  // The motif that this class is based around
80  // The pose residue that is the one that the motif is targeting
81  // ie, for DNA this would be the closest DNA base of the correct type
83  // Whether the automorphic version of the jump is a better hit
86  // The best rotamer and conformer
89 };
90 
91 } // namespace motifs
92 } // namespace protocols
93 
94 #endif // INCLUDED_protocols_motifs_MotifHit