![]() |
Rosetta
2016.11
|
#include <HBondSet.hh>
Public Member Functions | |
virtual | ~HBond () |
Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
HBond (Size const dhatm, bool const dhatm_is_protein_backbone, bool const dres_is_protein, bool const dres_is_dna, bool const dhatm_is_backbone, Size const dres, Size const aatm, bool const aatm_is_protein_backbone, bool const ares_is_protein, bool const ares_is_dna, bool const aatm_is_backbone, Size const ares, HBEvalTuple const hbe_tuple, Real const energy_in, Real const weight_in, HBondDerivs const &derivs_in) | |
HBondCOP | get_self_ptr () const |
self pointers More... | |
HBondOP | get_self_ptr () |
Size | don_res () const |
Size | don_hatm () const |
bool | don_hatm_is_protein_backbone () const |
needed for silly allow logic More... | |
bool | don_res_is_protein () const |
bool | don_res_is_dna () const |
bool | don_hatm_is_backbone () const |
needed for silly allow logic More... | |
Size | acc_res () const |
Size | acc_atm () const |
bool | acc_atm_is_protein_backbone () const |
needed for silly allow logic More... | |
bool | acc_res_is_protein () const |
bool | acc_res_is_dna () const |
bool | acc_atm_is_backbone () const |
needed for silly allow logic More... | |
Real | energy () const |
NOTE: this is unweighted energy, see weight() for the weight. More... | |
Real | weight () const |
HBondDerivs const & | derivs () const |
HBEvalType | eval_type () const |
The HBEval type encodes the evaluation type as a single enum value. More... | |
HBEvalTuple const & | eval_tuple () const |
The HBEvalTuple is a tuple of enums for each dimension of the evaluation type. More... | |
bool | atom_is_donorH (id::AtomID const &atom) const |
bool | atom_is_acceptor (id::AtomID const &atom) const |
void | show (std::ostream &out) const |
a bare bones description of the data contained in the hbond object More... | |
void | show (pose::Pose const &pose, bool const print_header, std::ostream &out) const |
a prettier, more interpretable description of an hbond, including pdb identified residues and the geometric dimensions of the hydrogen bond. More... | |
void | show (pose::Pose const &pose, bool const print_header=true) const |
Real | get_HAdist (pose::Pose const &pose) const |
Real | get_AHDangle (pose::Pose const &pose) const |
Real | get_BAHangle (pose::Pose const &pose) const |
Real | get_BAtorsion (pose::Pose const &pose) const |
Static Public Member Functions | |
static bool | hbond_energy_comparer (HBondCOP a, HBondCOP b) |
Friends | |
std::ostream & | operator<< (std::ostream &out, const HBond &hbond) |
bool | operator== (HBond const &a, HBond const &b) |
|
virtual |
Automatically generated virtual destructor for class deriving directly from ReferenceCount.
Auto-generated virtual destructor
core::scoring::hbonds::HBond::HBond | ( | Size const | dhatm, |
bool const | dhatm_is_protein_backbone, | ||
bool const | dres_is_protein, | ||
bool const | dres_is_dna, | ||
bool const | dhatm_is_backbone, | ||
Size const | dres, | ||
Size const | aatm, | ||
bool const | aatm_is_protein_backbone, | ||
bool const | ares_is_protein, | ||
bool const | ares_is_dna, | ||
bool const | aatm_is_backbone, | ||
Size const | ares, | ||
HBEvalTuple const | hbe_tuple, | ||
Real const | energy_in, | ||
Real const | weight_in, | ||
HBondDerivs const & | derivs_in | ||
) |
Size core::scoring::hbonds::HBond::acc_atm | ( | ) | const |
References acc_atm_.
Referenced by core::optimization::AtomTreeMultifunc::dump(), core::optimization::CartesianMultifunc::dump(), protocols::normalmode::NormalModeMultifunc::dump(), core::optimization::symmetry::SymAtomTreeMultifunc::dump(), get_AHDangle(), get_BAHangle(), get_BAtorsion(), get_HAdist(), protocols::features::HBondFeatures::insert_hbond_geom_coords(), protocols::features::HBondFeatures::insert_hbond_lennard_jones_row(), protocols::features::HBondFeatures::insert_hbond_row(), and show().
bool core::scoring::hbonds::HBond::acc_atm_is_backbone | ( | ) | const |
needed for silly allow logic
References acc_atm_is_backbone_.
bool core::scoring::hbonds::HBond::acc_atm_is_protein_backbone | ( | ) | const |
needed for silly allow logic
References acc_atm_is_protein_backbone_.
Referenced by core::scoring::hbonds::HBondSet::allow_hbond().
Size core::scoring::hbonds::HBond::acc_res | ( | ) | const |
References acc_res_.
Referenced by core::scoring::hbonds::HBondSet::allow_hbond(), core::optimization::AtomTreeMultifunc::dump(), core::optimization::CartesianMultifunc::dump(), protocols::normalmode::NormalModeMultifunc::dump(), core::optimization::symmetry::SymAtomTreeMultifunc::dump(), get_AHDangle(), get_BAHangle(), get_BAtorsion(), get_HAdist(), core::scoring::hbonds::HBondSet::HBondSet(), protocols::features::HBondFeatures::insert_hbond_dehydron_row(), protocols::features::HBondFeatures::insert_hbond_geom_coords(), protocols::features::HBondFeatures::insert_hbond_lennard_jones_row(), protocols::features::HBondFeatures::insert_hbond_row(), protocols::features::HBondFeatures::report_features(), show(), and core::scoring::hbonds::HBondSet::show().
bool core::scoring::hbonds::HBond::acc_res_is_dna | ( | ) | const |
References acc_res_is_dna_.
bool core::scoring::hbonds::HBond::acc_res_is_protein | ( | ) | const |
References acc_res_is_protein_.
bool core::scoring::hbonds::HBond::atom_is_acceptor | ( | id::AtomID const & | atom | ) | const |
References acc_atm_, acc_res_, core::id::AtomID::atomno(), and core::id::AtomID::rsd().
Referenced by core::scoring::methods::WaterAdductHBondEnergy::get_atom_h2o_hbond_derivative().
bool core::scoring::hbonds::HBond::atom_is_donorH | ( | id::AtomID const & | atom | ) | const |
References core::id::AtomID::atomno(), don_hatm_, don_res_, and core::id::AtomID::rsd().
HBondDerivs const & core::scoring::hbonds::HBond::derivs | ( | ) | const |
References derivs_.
Referenced by core::scoring::methods::WaterAdductHBondEnergy::get_atom_h2o_hbond_derivative().
Size core::scoring::hbonds::HBond::don_hatm | ( | ) | const |
References don_hatm_.
Referenced by core::optimization::AtomTreeMultifunc::dump(), core::optimization::CartesianMultifunc::dump(), protocols::normalmode::NormalModeMultifunc::dump(), core::optimization::symmetry::SymAtomTreeMultifunc::dump(), get_AHDangle(), get_BAHangle(), get_BAtorsion(), get_HAdist(), protocols::features::HBondFeatures::insert_hbond_geom_coords(), protocols::features::HBondFeatures::insert_hbond_lennard_jones_row(), protocols::features::HBondFeatures::insert_hbond_row(), and show().
bool core::scoring::hbonds::HBond::don_hatm_is_backbone | ( | ) | const |
needed for silly allow logic
References don_hatm_is_backbone_.
bool core::scoring::hbonds::HBond::don_hatm_is_protein_backbone | ( | ) | const |
needed for silly allow logic
References don_hatm_is_protein_backbone_.
Referenced by core::scoring::hbonds::HBondSet::allow_hbond(), and protocols::helix_capper::HelixNCapperMover::get_Ncap_scores().
Size core::scoring::hbonds::HBond::don_res | ( | ) | const |
References don_res_.
Referenced by core::scoring::hbonds::HBondSet::allow_hbond(), core::optimization::AtomTreeMultifunc::dump(), core::optimization::CartesianMultifunc::dump(), protocols::normalmode::NormalModeMultifunc::dump(), core::optimization::symmetry::SymAtomTreeMultifunc::dump(), get_AHDangle(), get_BAHangle(), get_BAtorsion(), get_HAdist(), core::scoring::methods::FreeDOF_Energy::get_hbond_energy(), protocols::helix_capper::HelixNCapperMover::get_Ncap_scores(), core::scoring::hbonds::HBondSet::HBondSet(), protocols::features::HBondFeatures::insert_hbond_dehydron_row(), protocols::features::HBondFeatures::insert_hbond_geom_coords(), protocols::features::HBondFeatures::insert_hbond_lennard_jones_row(), protocols::features::HBondFeatures::insert_hbond_row(), protocols::features::HBondFeatures::report_features(), and show().
bool core::scoring::hbonds::HBond::don_res_is_dna | ( | ) | const |
References don_res_is_dna_.
bool core::scoring::hbonds::HBond::don_res_is_protein | ( | ) | const |
References don_res_is_protein_.
Real core::scoring::hbonds::HBond::energy | ( | ) | const |
NOTE: this is unweighted energy, see weight() for the weight.
References energy_.
Referenced by protocols::toolbox::task_operations::SelectByDeltaScoreOperation::apply(), core::optimization::AtomTreeMultifunc::dump(), core::optimization::CartesianMultifunc::dump(), protocols::normalmode::NormalModeMultifunc::dump(), core::optimization::symmetry::SymAtomTreeMultifunc::dump(), protocols::helix_capper::HelixNCapperMover::get_Ncap_scores(), core::scoring::hbonds::identify_intra_res_hbonds(), protocols::features::HBondFeatures::insert_hbond_row(), and show().
HBEvalTuple const & core::scoring::hbonds::HBond::eval_tuple | ( | ) | const |
The HBEvalTuple is a tuple of enums for each dimension of the evaluation type.
References eval_tuple_.
HBEvalType core::scoring::hbonds::HBond::eval_type | ( | ) | const |
The HBEval type encodes the evaluation type as a single enum value.
References eval_tuple_, and core::scoring::hbonds::HBEvalTuple::eval_type().
Referenced by core::scoring::hbonds::get_hbond_energies(), protocols::features::HBondFeatures::insert_hbond_geom_coords(), and protocols::features::HBondFeatures::insert_hbond_row().
Real core::scoring::hbonds::HBond::get_AHDangle | ( | pose::Pose const & | pose | ) | const |
References acc_atm(), acc_res(), core::conformation::Residue::atom_base(), don_hatm(), don_res(), core::pose::Pose::residue(), and core::conformation::Residue::xyz().
Referenced by show().
Real core::scoring::hbonds::HBond::get_BAHangle | ( | pose::Pose const & | pose | ) | const |
References acc_atm(), acc_res(), core::conformation::Residue::atom_base(), don_hatm(), don_res(), core::pose::Pose::residue(), and core::conformation::Residue::xyz().
Referenced by show().
Real core::scoring::hbonds::HBond::get_BAtorsion | ( | pose::Pose const & | pose | ) | const |
References acc_atm(), acc_res(), core::conformation::Residue::atom_base(), don_hatm(), don_res(), core::pose::Pose::residue(), and core::conformation::Residue::xyz().
Referenced by show().
Real core::scoring::hbonds::HBond::get_HAdist | ( | pose::Pose const & | pose | ) | const |
References acc_atm(), acc_res(), don_hatm(), don_res(), core::pose::Pose::residue(), and core::conformation::Residue::xyz().
Referenced by show().
|
inline |
self pointers
|
inline |
void core::scoring::hbonds::HBond::show | ( | std::ostream & | out | ) | const |
a bare bones description of the data contained in the hbond object
References acc_atm_, acc_atm_is_backbone_, acc_res_, acc_res_is_dna_, acc_res_is_protein_, don_hatm_, don_hatm_is_protein_backbone_, don_res_, don_res_is_dna_, don_res_is_protein_, energy_, eval_tuple_, core::scoring::hbonds::HBEvalTuple::eval_type(), and weight_.
Referenced by core::scoring::hbonds::operator<<(), and core::scoring::hbonds::HBondSet::show().
void core::scoring::hbonds::HBond::show | ( | pose::Pose const & | pose, |
bool const | print_header, | ||
std::ostream & | out | ||
) | const |
a prettier, more interpretable description of an hbond, including pdb identified residues and the geometric dimensions of the hydrogen bond.
References protocols::comparative_modeling::features::A, acc_atm(), acc_res(), core::conformation::Residue::atom_base(), core::conformation::Residue::atom_name(), don_hatm(), don_res(), energy(), core::chemical::element::F, get_AHDangle(), get_BAHangle(), get_BAtorsion(), get_HAdist(), core::chemical::element::I, core::chemical::ResidueType::name3(), core::pose::Pose::pdb_info(), core::pose::Pose::residue(), core::conformation::Residue::type(), and weight().
|
inline |
Real core::scoring::hbonds::HBond::weight | ( | ) | const |
References weight_.
Referenced by core::optimization::AtomTreeMultifunc::dump(), core::optimization::CartesianMultifunc::dump(), protocols::normalmode::NormalModeMultifunc::dump(), core::optimization::symmetry::SymAtomTreeMultifunc::dump(), core::scoring::methods::WaterAdductHBondEnergy::get_atom_h2o_hbond_derivative(), core::scoring::hbonds::identify_intra_res_hbonds(), protocols::features::HBondFeatures::insert_hbond_row(), and show().
|
friend |
|
private |
Referenced by acc_atm(), atom_is_acceptor(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by acc_atm_is_backbone(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by acc_atm_is_protein_backbone(), and core::scoring::hbonds::operator==().
|
private |
Referenced by acc_res(), atom_is_acceptor(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by acc_res_is_dna(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by acc_res_is_protein(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by derivs().
|
private |
Referenced by atom_is_donorH(), don_hatm(), and show().
|
private |
Referenced by don_hatm_is_backbone(), and core::scoring::hbonds::operator==().
|
private |
Referenced by don_hatm_is_protein_backbone(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by atom_is_donorH(), don_res(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by don_res_is_dna(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by don_res_is_protein(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by energy(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by eval_tuple(), eval_type(), core::scoring::hbonds::operator==(), and show().
|
private |
Referenced by core::scoring::hbonds::operator==(), show(), and weight().