Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlaScan.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/simple_filters/AlaScan.hh
11 /// @brief definition of filter class AlsScan.
12 /// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
13 
14 #ifndef INCLUDED_protocols_simple_filters_AlaScan_hh
15 #define INCLUDED_protocols_simple_filters_AlaScan_hh
16 
18 
19 
20 // Project Headers
22 #include <core/pose/Pose.fwd.hh>
23 #include <core/types.hh>
25 #include <utility/tag/Tag.fwd.hh>
29 #include <utility/exit.hh>
30 
31 #include <utility/vector1.hh>
32 
33 namespace protocols {
34 namespace simple_filters {
35 
36 class AlaScan : public filters::Filter
37 {
38 public :
39  AlaScan() : filters::Filter( "AlaScan" ) {}
40  AlaScan( bool const chain1, bool const chain2, core::Size const repeats, core::Real const dist, core::scoring::ScoreFunctionCOP scorefxn, core::Size const jump, bool const symmetry );
41  bool apply( core::pose::Pose const & ) const{ return true; }
43  return new AlaScan( *this );
44  }
46  return new AlaScan();
47  }
48 
49  void report( std::ostream & out, core::pose::Pose const & pose ) const;
50  void report_symmetry( std::ostream & out, core::pose::Pose const & pose ) const;
51  core::Real report_sm( core::pose::Pose const & ) const { return (0.0); };
52  void chain1( bool const c1 ){ chain1_ = c1; }
53  void chain2( bool const c2 ){ chain2_ = c2; }
54  void dist( core::Real const d ){ distance_threshold_ = d; }
56  core::Real ddG_for_single_residue( core::pose::Pose const & pose, core::Size const resi ) const;
57  bool chain1() const{ return chain1_; }
58  bool chain2() const{ return chain2_; }
59  core::Size repeats() const { return repeats_; }
60  void repeats( core::Size const r ) { repeats_ = r; }
61  core::Size jump() const { return jump_; }
62  void jump( core::Size const j ) { jump_ = j; }
63  core::Real dist() const{ return distance_threshold_; }
64  virtual ~AlaScan();
65  void repack( bool const repack );
66  bool repack() const;
68 private:
73  bool symmetry_;
75  bool repack_; //dflt true; do you want to repack the partners in the bound and unbound states?
76 };
77 
78 
79 }
80 }
81 #endif