Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DisulfideAtomIndices.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 core/scoring/disulfides/DisulfideAtomIndices.hh
11 /// @brief Disulfide Atom Indices class declaration
12 /// @author Andrew Leaver-Fay
13 
14 #ifndef INCLUDED_core_scoring_disulfides_DisulfideAtomIndices_hh
15 #define INCLUDED_core_scoring_disulfides_DisulfideAtomIndices_hh
16 
17 // Unit headers
19 
20 // Project Headers
21 #include <core/types.hh>
23 
24 // Utility Headers
25 // AUTO-REMOVED #include <utility/vector1.hh>
26 
27 #include <utility/vector1_bool.hh>
28 
29 
30 namespace core {
31 namespace scoring {
32 namespace disulfides {
33 
34 /// @brief This class is used by the *DisulfideEnergyContainer and the *DisulfidePotential
35 /// classes to rapidly index into a residue that's known to form a disulfide. For the sake
36 /// of computing derivatives, there are only three atoms that need to be readily available:
37 /// CA, CB, and the atom which makes the disulfide bond, either SG or CEN.
38 /// The DisulfideEnergyContainer is responsible for keeping the indices in one of these objects
39 /// up-to-date with the residue it is meant to shadow.
41 {
42 
43 public:
45 
46  bool atom_gets_derivatives( Size atom_index ) const;
47  DisulfideDerivativeAtom derivative_atom( Size atom_index ) const;
48 
49  Size c_alpha_index() const { return c_alpha_index_; }
50  Size c_beta_index() const { return c_beta_index_; }
51  ///@brief The atom which participates in the disulfide bond
52  /// SG for fullatom or CEN for centroid
54 
55 private:
59 
61 };
62 
63 }
64 }
65 }
66 
67 #endif