Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LHRepulsiveRampLegacy.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
6 // (c) under license. The Rosetta software is developed by the contributing
7 // (c) members of the Rosetta Commons. For more information, see
8 // (c) http://www.rosettacommons.org. Questions about this can be addressed to
9 // (c) University of Washington UW TechTransfer, email:license@u.washington.edu
10 
11 /// @file protocols/antibody2/LHRepulsiveRampLegacy.hh
12 /// @brief Build a homology model of an antibody2
13 /// @detailed
14 ///
15 ///
16 /// @author Jianqing Xu (xubest@gmail.com)
17 
18 
19 
20 #ifndef INCLUDED_protocols_antibody2_LHRepulsiveRampLegacy_hh
21 #define INCLUDED_protocols_antibody2_LHRepulsiveRampLegacy_hh
22 
23 
24 
25 
26 
28 
29 #include <core/pose/Pose.hh>
31 #include <protocols/moves/Mover.hh>
33 #include <protocols/loops/Loops.hh>
37 
38 
39 
40 using namespace core;
41 namespace protocols {
42 namespace antibody2 {
43 
45 
46 
47 public:
48 
49  /// @brief default constructor
51 
52  /// @brief constructor with arguments
54 
56 
57  LHRepulsiveRampLegacy(AntibodyInfoOP antibody_in, bool camelid );
58 
60  core::scoring::ScoreFunctionCOP dock_scorefxn,
61  core::scoring::ScoreFunctionCOP pack_scorefxn );
62 
64  core::scoring::ScoreFunctionCOP dock_scorefxn,
65  core::scoring::ScoreFunctionCOP pack_scorefxn );
66 
67  virtual protocols::moves::MoverOP clone() const;
68 
69  /// @brief default destructor
71 
72  void set_default();
73 
75  dock_scorefxn_ = new core::scoring::ScoreFunction(*dock_scorefxn);
76  }
77 
79  pack_scorefxn_ = new core::scoring::ScoreFunction(*pack_scorefxn);
80  }
81 
82  virtual void apply( core::pose::Pose & pose );
83 
84  virtual std::string get_name() const;
85 
86 
87  void set_task_factory(pack::task::TaskFactoryCOP tf);
88 
89  core::Real set_rot_mag (core::Real rot_mag) {return rot_mag_ =rot_mag; }
90  core::Real set_trans_mag(core::Real trans_mag){return trans_mag_=trans_mag;}
91 
92 
93 
94 private:
95 
97 
99  bool benchmark_;
111 
112 
115 
116  void init(loops::Loops loops_in, bool camelid);
117 
118  void setup_objects();
119 
120  void finalize_setup(pose::Pose & pose );
121 
122  void snugfit_MC_min(pose::Pose & pose, core::scoring::ScoreFunctionOP temp_scorefxn);
123 
124 
125  void repulsive_ramp( pose::Pose & pose_in, loops::Loops loops_in );
126 
127 
128 
129 
130  //packer task
132 
133 };
134 
135 
136 
137 
138 
139 
140 
141 } // namespace antibody2
142 } // namespace protocols
143 
144 #endif
145 
146 
147 
148 
149 
150 
151 
152