Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LHRepulsiveRamp.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/LHRepulsiveRamp.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_LHRepulsiveRamp_hh
21 #define INCLUDED_protocols_antibody2_LHRepulsiveRamp_hh
22 
23 
26 #include <protocols/moves/Mover.hh>
27 #include <protocols/loops/Loops.hh>
30 
31 
32 using namespace core;
33 namespace protocols {
34 namespace antibody2 {
35 
37 
38 
39 public:
40 
41  /// @brief default constructor
43 
44  /// @brief constructor with arguments
45 
46  LHRepulsiveRamp( docking::DockJumps const movable_jumps,
47  core::scoring::ScoreFunctionCOP dock_scorefxn,
48  core::scoring::ScoreFunctionCOP pack_scorefxn );
49 
50  virtual protocols::moves::MoverOP clone() const;
51 
52  /// @brief default destructor
53  ~LHRepulsiveRamp();
54 
55  void set_default();
56 
58  dock_scorefxn_ = new core::scoring::ScoreFunction(*dock_scorefxn);
59  }
60 
62  pack_scorefxn_ = new core::scoring::ScoreFunction(*pack_scorefxn);
63  }
64 
65  virtual void apply( core::pose::Pose & pose );
66 
67  virtual std::string get_name() const;
68 
69 
70  void set_task_factory(pack::task::TaskFactoryCOP tf);
71  void set_move_map(kinematics::MoveMapCOP movemap);
72  void set_dock_jump(docking::DockJumps jump);
73  Real set_rot_mag (core::Real rot_mag) {return rot_mag_ =rot_mag; }
74  Real set_trans_mag(core::Real trans_mag){return trans_mag_=trans_mag;}
75 
76 
77  void set_sc_min(bool sc_min){
78  sc_min_ = sc_min;
79  }
80 
81  void set_rt_min(bool rt_min){
82  rt_min_ = rt_min;
83  }
84 
85 private:
86 
87 
89  bool benchmark_;
94 
97 
98  void init();
99 
100  void repulsive_ramp( pose::Pose & pose_in, loops::Loops loops_in );
101 
102 
103  //packer task
107  bool sc_min_;
108  bool rt_min_;
109 };
110 
111 
112 
113 
114 
115 
116 
117 } // namespace antibody2
118 } // namespace protocols
119 
120 #endif
121 
122 
123 
124 
125 
126 
127 
128