Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Atom Class Reference

Atom Class. More...

#include <PDBatom.hh>

Collaboration diagram for Atom:

Public Member Functions

 Atom (int serial, const std::string &name, const std::string &resName, int numInRes, int resSeq, double xInit, double yInit, double zInit, double radius, double occupancy, double tempFactor, const std::string &element)
 constructor with initialization More...
 
 ~Atom ()
 Empty destructor. More...
 
AtomGetNext ()
 Returns the next Atom. More...
 
double GetX ()
 Return the X position for the Atom. More...
 
double GetY ()
 Return the Y position for the Atom. More...
 
double GetZ ()
 Return the Z position for the Atom. More...
 
int GetID ()
 Return the Atom's ID. More...
 
const std::string & GetName ()
 Return name of the atom. More...
 
const std::string & GetElementName ()
 Return name of the element. More...
 
double GetVanDerWaalsRadius ()
 Return name of the atom. More...
 
void SetNext (Atom *)
 Set the next atom. More...
 

Public Attributes

int fSerial
 its serial number More...
 
int fNumInRes
 its number in residue sequence More...
 
std::string fName
 Atom name. More...
 
std::string fResName
 Residue name. More...
 
int fResSeq
 Residue sequence number. More...
 
double fX
 X orthogonal coordinates in Angstroms. More...
 
double fY
 Y orthogonal coordinates in Angstroms. More...
 
double fZ
 Z orthogonal coordinates in Angstroms. More...
 
double fVdwRadius
 
double fOccupancy
 Occupancy for the Atom. More...
 
std::string fElement
 Element symbol extracted from 'atom name'. More...
 
double fTempFactor
 Temperature factor for the Atom. More...
 

Detailed Description

Atom Class.

This Class define Atom model ...

Definition at line 56 of file PDBatom.hh.

Constructor & Destructor Documentation

Atom::Atom ( int  serial,
const std::string &  name,
const std::string &  resName,
int  numInRes,
int  resSeq,
double  xInit,
double  yInit,
double  zInit,
double  radius,
double  occupancy,
double  tempFactor,
const std::string &  element 
)

constructor with initialization

< Atom name

< Residue name

< Residue sequence number

< occupancy

Definition at line 44 of file PDBatom.cc.

49 {
50  fSerial=s;
51  fName=n;
52  fResName=rN;
53  fNumInRes=numInRes;
54  fResSeq=rS;
55  fX=xInit;
56  fY=yInit;
57  fZ=zInit;
58  fVdwRadius=radius;
59  fOccupancy=o;
60  fTempFactor=tF;
61  fElement=e;
62  fpNext=0;
63 }
std::string fResName
Residue name.
Definition: PDBatom.hh:100
int fSerial
its serial number
Definition: PDBatom.hh:97
double fZ
Z orthogonal coordinates in Angstroms.
Definition: PDBatom.hh:104
std::string fName
Atom name.
Definition: PDBatom.hh:99
const XML_Char * s
Definition: expat.h:262
int fNumInRes
its number in residue sequence
Definition: PDBatom.hh:98
const G4int n
int fResSeq
Residue sequence number.
Definition: PDBatom.hh:101
double fVdwRadius
Definition: PDBatom.hh:105
double fTempFactor
Temperature factor for the Atom.
Definition: PDBatom.hh:108
double fOccupancy
Occupancy for the Atom.
Definition: PDBatom.hh:106
double fX
X orthogonal coordinates in Angstroms.
Definition: PDBatom.hh:102
double fY
Y orthogonal coordinates in Angstroms.
Definition: PDBatom.hh:103
std::string fElement
Element symbol extracted from &#39;atom name&#39;.
Definition: PDBatom.hh:107
Atom::~Atom ( )
inline

Empty destructor.

Definition at line 74 of file PDBatom.hh.

75  {
76  };

Member Function Documentation

const std::string & Atom::GetElementName ( )

Return name of the element.

Definition at line 109 of file PDBatom.cc.

110 {
111  return fElement;
112 }
std::string fElement
Element symbol extracted from &#39;atom name&#39;.
Definition: PDBatom.hh:107
int Atom::GetID ( )

Return the Atom's ID.

Definition at line 95 of file PDBatom.cc.

96 {
97  return fSerial;
98 }
int fSerial
its serial number
Definition: PDBatom.hh:97
const std::string & Atom::GetName ( void  )

Return name of the atom.

Definition at line 102 of file PDBatom.cc.

103 {
104  return fName;
105 }
std::string fName
Atom name.
Definition: PDBatom.hh:99
Atom * Atom::GetNext ( )

Returns the next Atom.

Definition at line 67 of file PDBatom.cc.

68 {
69  return fpNext;
70 }

Here is the caller graph for this function:

double Atom::GetVanDerWaalsRadius ( )

Return name of the atom.

Definition at line 116 of file PDBatom.cc.

117 {
118  return fVdwRadius;
119 }
double fVdwRadius
Definition: PDBatom.hh:105
double Atom::GetX ( )

Return the X position for the Atom.

Definition at line 74 of file PDBatom.cc.

75 {
76  return fX;
77 }
double fX
X orthogonal coordinates in Angstroms.
Definition: PDBatom.hh:102

Here is the caller graph for this function:

double Atom::GetY ( )

Return the Y position for the Atom.

Definition at line 81 of file PDBatom.cc.

82 {
83  return fY;
84 }
double fY
Y orthogonal coordinates in Angstroms.
Definition: PDBatom.hh:103

Here is the caller graph for this function:

double Atom::GetZ ( )

Return the Z position for the Atom.

Definition at line 88 of file PDBatom.cc.

89 {
90  return fZ;
91 }
double fZ
Z orthogonal coordinates in Angstroms.
Definition: PDBatom.hh:104

Here is the caller graph for this function:

void Atom::SetNext ( Atom AtomNext)

Set the next atom.

Definition at line 123 of file PDBatom.cc.

124 {
125  fpNext=AtomNext;
126 }

Here is the caller graph for this function:

Member Data Documentation

std::string Atom::fElement

Element symbol extracted from 'atom name'.

Definition at line 107 of file PDBatom.hh.

std::string Atom::fName

Atom name.

Definition at line 99 of file PDBatom.hh.

int Atom::fNumInRes

its number in residue sequence

Definition at line 98 of file PDBatom.hh.

double Atom::fOccupancy

Occupancy for the Atom.

Definition at line 106 of file PDBatom.hh.

std::string Atom::fResName

Residue name.

Definition at line 100 of file PDBatom.hh.

int Atom::fResSeq

Residue sequence number.

Definition at line 101 of file PDBatom.hh.

int Atom::fSerial

its serial number

Definition at line 97 of file PDBatom.hh.

double Atom::fTempFactor

Temperature factor for the Atom.

Definition at line 108 of file PDBatom.hh.

double Atom::fVdwRadius

Definition at line 105 of file PDBatom.hh.

double Atom::fX

X orthogonal coordinates in Angstroms.

Definition at line 102 of file PDBatom.hh.

double Atom::fY

Y orthogonal coordinates in Angstroms.

Definition at line 103 of file PDBatom.hh.

double Atom::fZ

Z orthogonal coordinates in Angstroms.

Definition at line 104 of file PDBatom.hh.


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