Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | Private Attributes | Static Private Attributes | List of all members
core::pack::dunbrack::cenrot::CentroidRotamerSampleData Class Reference

Simple class storing all the data for one centroid-rotamer well. More...

#include <SingleResidueCenrotLibrary.hh>

Public Types

typedef
utility::fixedsizearray1< Real, 3 > 
DOF3
 

Public Member Functions

 CentroidRotamerSampleData ()
 normalization factor sigma=sqrt(2pi) More...
 
 CentroidRotamerSampleData (Real p, Real d, Real a, Real w, Real vd, Real va, Real vw)
 
 CentroidRotamerSampleData (const CentroidRotamerSampleData &cs)
 
 ~CentroidRotamerSampleData ()
 
Real distance () const
 
Real angle () const
 
Real dihedral () const
 
Real sd_dis () const
 
Real sd_ang () const
 
Real sd_dih () const
 
Real prob () const
 
Real energy () const
 
Real norm_factor () const
 
void set_distance (Real d)
 
void set_angle (Real a)
 
void set_dihedral (Real w)
 
void set_prob (Real p)
 
void set_sd_dis (Real s)
 
void set_sd_ang (Real s)
 
void set_sd_dih (Real s)
 
void private_data_to_public_array ()
 
void public_array_to_private_data ()
 
Real cal_distance (const DOF3 &sample, bool use_xyz=false) const
 
Real cal_distance_squared (const DOF3 &sample, bool use_xyz=false) const
 
Real cal_distance_squared (const conformation::Residue &rsd) const
 
Real cal_delta_internal_coordinates_squared (const conformation::Residue &rsd, Real &d_sq, Real &a_sq, Real &w_sq) const
 return the value of angle (in rad) More...
 
Real cal_delta_internal_coordinates (const conformation::Residue &rsd, Real &delta_d, Real &delta_a, Real &delta_w) const
 
void assign_random_rotamer (DOF3 &sample, numeric::random::RandomGenerator &RG) const
 generate a random rot inside the well More...
 
void assign_best_rotamer (DOF3 &sample) const
 generate the best rot (mean of the well) More...
 

Public Attributes

Realdata_
 
Realderiv_phi_
 
Realderiv_psi_
 

Private Attributes

Real prob_
 
Real distance_
 probability for sidechain showing in this well More...
 
Real angle_
 CEN-CB bond length. More...
 
Real dihedral_
 CEN-CB-CA bond angle. More...
 
Real sd_dis_
 CEN-CB-CA-N dihedral angle chi1. More...
 
Real sd_ang_
 standard deviation of dis More...
 
Real sd_dih_
 standard deviation of ang More...
 
Real energy_
 standard deviation of dih More...
 
Real norm_factor_
 -ln(P) More...
 

Static Private Attributes

static Size const NUMBER_OF_PARAMS = 7
 

Detailed Description

Simple class storing all the data for one centroid-rotamer well.

Member Typedef Documentation

Constructor & Destructor Documentation

core::pack::dunbrack::cenrot::CentroidRotamerSampleData::CentroidRotamerSampleData ( )
inline

normalization factor sigma=sqrt(2pi)

References data_, deriv_phi_, deriv_psi_, and NUMBER_OF_PARAMS.

core::pack::dunbrack::cenrot::CentroidRotamerSampleData::CentroidRotamerSampleData ( Real  p,
Real  d,
Real  a,
Real  w,
Real  vd,
Real  va,
Real  vw 
)
inline
core::pack::dunbrack::cenrot::CentroidRotamerSampleData::CentroidRotamerSampleData ( const CentroidRotamerSampleData cs)
inline
core::pack::dunbrack::cenrot::CentroidRotamerSampleData::~CentroidRotamerSampleData ( )
inline

References data_, deriv_phi_, and deriv_psi_.

Member Function Documentation

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::angle ( ) const
inline

References angle_.

Referenced by CentroidRotamerSampleData().

void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::assign_best_rotamer ( DOF3 sample) const

generate the best rot (mean of the well)

References angle_, dihedral_, and distance_.

void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::assign_random_rotamer ( DOF3 sample,
numeric::random::RandomGenerator &  RG 
) const

generate a random rot inside the well

References angle_, dihedral_, and distance_.

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::cal_delta_internal_coordinates ( const conformation::Residue rsd,
Real delta_d,
Real delta_a,
Real delta_w 
) const
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::cal_delta_internal_coordinates_squared ( const conformation::Residue rsd,
Real d_sq,
Real a_sq,
Real w_sq 
) const

return the value of angle (in rad)

CentroidRotamerSampleData.

References cal_delta_internal_coordinates().

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::cal_distance ( const DOF3 sample,
bool  use_xyz = false 
) const

DOF3 sample: (dis, ange, dih) calculate the distance between this rot and given CEN

References cal_distance_squared().

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::cal_distance_squared ( const DOF3 sample,
bool  use_xyz = false 
) const

References angle_, dihedral_, and distance_.

Referenced by cal_distance(), and cal_distance_squared().

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::cal_distance_squared ( const conformation::Residue rsd) const
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::dihedral ( ) const
inline

References dihedral_.

Referenced by CentroidRotamerSampleData().

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::distance ( ) const
inline

References distance_.

Referenced by CentroidRotamerSampleData().

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::energy ( ) const
inline

References energy_.

Referenced by CentroidRotamerSampleData().

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::norm_factor ( ) const
inline
void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::private_data_to_public_array ( )
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::prob ( ) const
inline
void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::public_array_to_private_data ( )
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::sd_ang ( ) const
inline
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::sd_dih ( ) const
inline
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::sd_dis ( ) const
inline
void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::set_angle ( Real  a)
inline

References core::pose::motif::a(), and angle_.

void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::set_dihedral ( Real  w)
inline

References dihedral_.

void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::set_distance ( Real  d)
inline

References distance_.

void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::set_prob ( Real  p)
inline

References energy_, and prob_.

void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::set_sd_ang ( Real  s)
inline

References sd_ang_.

void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::set_sd_dih ( Real  s)
inline

References sd_dih_.

void core::pack::dunbrack::cenrot::CentroidRotamerSampleData::set_sd_dis ( Real  s)
inline

References sd_dis_.

Member Data Documentation

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::angle_
private
Real* core::pack::dunbrack::cenrot::CentroidRotamerSampleData::data_
Real* core::pack::dunbrack::cenrot::CentroidRotamerSampleData::deriv_phi_
Real* core::pack::dunbrack::cenrot::CentroidRotamerSampleData::deriv_psi_
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::dihedral_
private
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::distance_
private
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::energy_
private

standard deviation of dih

Referenced by CentroidRotamerSampleData(), energy(), public_array_to_private_data(), and set_prob().

Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::norm_factor_
private
Size const core::pack::dunbrack::cenrot::CentroidRotamerSampleData::NUMBER_OF_PARAMS = 7
staticprivate
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::prob_
private
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::sd_ang_
private
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::sd_dih_
private
Real core::pack::dunbrack::cenrot::CentroidRotamerSampleData::sd_dis_
private

The documentation for this class was generated from the following files: