Geant4  10.02
SBPoint Class Reference

defines a point of energy deposition which defines a damage to the DNA. More...

#include <SBPoint.hh>

+ Collaboration diagram for SBPoint:

Public Member Functions

 SBPoint (unsigned int, G4ThreeVector pPos, G4double pEdep)
 constructor More...
 
 ~SBPoint ()
 destructor More...
 
G4int GetID () const
 
G4ThreeVector GetPosition () const
 
G4double GetEdep () const
 
ClusterSBPointsGetCluster () const
 
G4int GetTouchedStrand () const
 
void SetCluster (ClusterSBPoints *pCluster)
 
void SetPosition (G4ThreeVector pPos)
 
bool HasCluster () const
 
void CleanCluster ()
 
bool operator!= (const SBPoint &) const
 
bool operator== (const SBPoint &) const
 
bool operator< (const SBPoint &) const
 
bool operator> (const SBPoint &) const
 

Private Attributes

unsigned int fId
 
G4ThreeVector fPosition
 
G4double fEdep
 
ClusterSBPointsfpCluster
 
G4int fStrand
 

Detailed Description

defines a point of energy deposition which defines a damage to the DNA.

Definition at line 47 of file SBPoint.hh.

Constructor & Destructor Documentation

SBPoint::SBPoint ( unsigned int  pId,
G4ThreeVector  pPos,
G4double  pEdep 
)

constructor

Definition at line 45 of file SBPoint.cc.

References fStrand, and G4UniformRand.

SBPoint::~SBPoint ( )

destructor

Definition at line 57 of file SBPoint.cc.

Member Function Documentation

void SBPoint::CleanCluster ( )
inline

Definition at line 87 of file SBPoint.hh.

References fpCluster.

ClusterSBPoints* SBPoint::GetCluster ( ) const
inline

Definition at line 66 of file SBPoint.hh.

References fpCluster.

G4double SBPoint::GetEdep ( ) const
inline

Definition at line 63 of file SBPoint.hh.

References fEdep.

G4int SBPoint::GetID ( ) const
inline

Definition at line 56 of file SBPoint.hh.

References fId.

G4ThreeVector SBPoint::GetPosition ( ) const
inline

Definition at line 60 of file SBPoint.hh.

References fPosition.

Referenced by AreOnTheSameCluster(), and ClusterSBPoints::HasInBarycenter().

+ Here is the caller graph for this function:

G4int SBPoint::GetTouchedStrand ( ) const
inline

Definition at line 69 of file SBPoint.hh.

References fStrand.

bool SBPoint::HasCluster ( ) const
inline

Definition at line 84 of file SBPoint.hh.

References fpCluster.

Referenced by ClusteringAlgo::FindCluster().

+ Here is the caller graph for this function:

bool SBPoint::operator!= ( const SBPoint pPt) const

Definition at line 63 of file SBPoint.cc.

References fId.

bool SBPoint::operator< ( const SBPoint pPt) const

Definition at line 77 of file SBPoint.cc.

References fId.

bool SBPoint::operator== ( const SBPoint pPt) const

Definition at line 70 of file SBPoint.cc.

References fId.

bool SBPoint::operator> ( const SBPoint pPt) const

Definition at line 84 of file SBPoint.cc.

References fId.

void SBPoint::SetCluster ( ClusterSBPoints pCluster)
inline

Definition at line 74 of file SBPoint.hh.

References fpCluster.

Referenced by ClusterSBPoints::AddSBPoint().

+ Here is the caller graph for this function:

void SBPoint::SetPosition ( G4ThreeVector  pPos)
inline

Definition at line 79 of file SBPoint.hh.

References fPosition.

Member Data Documentation

G4double SBPoint::fEdep
private

Definition at line 100 of file SBPoint.hh.

Referenced by GetEdep().

unsigned int SBPoint::fId
private

Definition at line 98 of file SBPoint.hh.

Referenced by GetID(), operator!=(), operator<(), operator==(), and operator>().

ClusterSBPoints* SBPoint::fpCluster
private

Definition at line 101 of file SBPoint.hh.

Referenced by CleanCluster(), GetCluster(), HasCluster(), and SetCluster().

G4ThreeVector SBPoint::fPosition
private

Definition at line 99 of file SBPoint.hh.

Referenced by GetPosition(), and SetPosition().

G4int SBPoint::fStrand
private

Definition at line 102 of file SBPoint.hh.

Referenced by GetTouchedStrand(), and SBPoint().


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