Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EnergyPerResidueFilter.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/EnergyPerResidueFilter.hh
11 /// @brief definition of filter class EnergyPerResidueFilter.
12 /// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
13 
14 #ifndef INCLUDED_protocols_simple_filters_EnergyPerResidueFilter_hh
15 #define INCLUDED_protocols_simple_filters_EnergyPerResidueFilter_hh
16 
19 #include <utility/tag/Tag.fwd.hh>
22 #include <core/pose/Pose.fwd.hh>
25 
26 namespace protocols {
27 namespace simple_filters {
28 
30 {
31 public:
32  EnergyPerResidueFilter() : filters::Filter( "EnergyPerResidue" ) {}
33 
36  bool const whole_interface = false, core::Size const rb_jump = 1,
37  core::Real const interface_distance_cutoff = 8.0 , bool const bb_bb = false );
38 
40  bool apply( core::pose::Pose const & pose ) const;
42  return new EnergyPerResidueFilter( *this );
43  }
45  return new EnergyPerResidueFilter();
46  }
47 
48  void report( std::ostream & out, core::pose::Pose const & pose ) const;
49  core::Real report_sm( core::pose::Pose const & pose ) const;
50  core::Real compute( core::pose::Pose const & pose ) const;
51  virtual ~EnergyPerResidueFilter();
53  core::Size resnum() const;
56  core::Real threshold() const;
57  bool bb_bb() const;
58  void resnum( core::Size const rn );
61  void threshold( core::Real const th );
62  void bb_bb( bool const b_b );
63 private:
71  bool bb_bb_;
72 
73 };
74 
75 }
76 }
77 
78 #endif