Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OrbitalsFeatures.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/features/OrbitalsFeatures.hh
11 /// @brief report Orbital geometry and scores to features Statistics Scientific Benchmark
12 /// @author Steven Combs
13 
14 #ifndef INCLUDED_protocols_features_OrbitalsFeatures_hh
15 #define INCLUDED_protocols_features_OrbitalsFeatures_hh
16 
17 // Unit Headers
21 #include <numeric/xyzVector.hh>
22 // Project Headers
23 #include <core/pose/Pose.fwd.hh>
24 #include <core/types.hh>
25 #include <utility/vector1.fwd.hh>
26 
27 //External
28 #include <boost/uuid/uuid.hpp>
29 
30 // C++ Headers
31 #include <string>
32 
33 #include <utility/vector1.hh>
34 
35 
36 namespace protocols{
37 namespace features{
38 
40 public:
42 
43  OrbitalsFeatures( OrbitalsFeatures const & src );
44 
45  virtual ~OrbitalsFeatures();
46 
47  ///@brief return string with class name
49  type_name() const;
50 
51  ///@brief generate the table schemas and write them to the database
52  void
54  utility::sql_database::sessionOP db_session) const;
55 
56 private:
57  ///@brief generate the HPOL_orbital table schema
58  void
60  utility::sql_database::sessionOP db_session) const;
61 
62  ///@brief generate the HARO_orbital table schema
63  void
65  utility::sql_database::sessionOP db_session) const;
66 
67  ///@brief generate the HPOL_orbital table schema
68  void
70  utility::sql_database::sessionOP db_session) const;
71 
72 
73 public:
74  ///@brief return the set of features reporters that are required to
75  ///also already be extracted by the time this one is used.
78 
79  ///@brief collect all the feature data for the pose
82  core::pose::Pose const & pose,
83  utility::vector1< bool > const & relevant_residues,
84  boost::uuids::uuid struct_id,
85  utility::sql_database::sessionOP db_session
86  );
87 
88  void
90  core::pose::Pose const & pose,
91  utility::vector1< bool > const & relevant_residues,
92  boost::uuids::uuid const struct_id,
93  utility::sql_database::sessionOP db_session
94  );
95  void
97  core::pose::Pose const & pose,
98  utility::vector1< bool > const & relevant_residues,
99  boost::uuids::uuid const struct_id,
100  utility::sql_database::sessionOP db_session
101  );
102  void
106  core::Size const Aindex,
107  core::Size const Hindex,
108  core::Size const Orbindex,
109  numeric::xyzVector<core::Real> const Orbxyz,
110  core::Size & resNum2,
111  std::string & orbName1,
112  std::string & htype2,
113  std::string & res2name,
114  core::Size & orbNum1,
115  core::Size & hpolNum2,
116  core::Real & cosAOH,
117  core::Real & cosDHO,
118  core::Real & chiBDHO,
119  core::Real & chiBAOH,
120  core::Real & AOH_angle,
121  core::Real & DHO_angle,
122  core::Real & chiBAHD,
123  core::Real & cosAHD,
124  core::Real & OrbHdist);
125  void
129  core::Size Aindex,
130  core::Size Dindex,
131  core::Size Orbindex1,
132  core::Size Orbindex2,
133  numeric::xyzVector<core::Real> const & Orbxyz1,
134  numeric::xyzVector<core::Real> const & Orbxyz2,
135  core::Size & resNum2,
136  std::string & orbName1,
137  std::string & res2name,
138  std::string & OrbName2,
139  core::Size & orbNum1,
140  core::Size & OrbNum2,
141  core::Real & cosAOO,
142  core::Real & cosDOO,
143  core::Real & chiBAOO,
144  core::Real & chiBDOO,
145  core::Real & AOO_angle,
146  core::Real & DOO_angle,
147  core::Real & OrbHdist,
148  core::Real & cosAOD,
149  core::Real & AOD_angle,
150  core::Real & chiBAHD,
151  core::Real & cosAHD
152  );
153 
154 };
155 
156 } // features namespace
157 } // protocols namespace
158 
159 #endif // include guard