ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SBPoint Class Reference

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

#include <geant4/tree/geant4-10.6-release/examples/extended/medical/dna/clustering/include/SBPoint.hh>

+ Collaboration diagram for SBPoint:

Public Member Functions

 SBPoint (unsigned int, G4ThreeVector pPos, G4double pEdep)
 constructor
 
 ~SBPoint ()
 destructor
 
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 46 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 46 of file SBPoint.hh

Constructor & Destructor Documentation

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

constructor

Definition at line 44 of file SBPoint.cc.

View newest version in sPHENIX GitHub at line 44 of file SBPoint.cc

References fStrand, and G4UniformRand.

SBPoint::~SBPoint ( )

destructor

Definition at line 56 of file SBPoint.cc.

View newest version in sPHENIX GitHub at line 56 of file SBPoint.cc

Member Function Documentation

void SBPoint::CleanCluster ( )
inline

Definition at line 86 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 86 of file SBPoint.hh

References fpCluster.

ClusterSBPoints* SBPoint::GetCluster ( ) const
inline

Definition at line 65 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 65 of file SBPoint.hh

References fpCluster.

G4double SBPoint::GetEdep ( ) const
inline

Definition at line 62 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 62 of file SBPoint.hh

References fEdep.

G4int SBPoint::GetID ( ) const
inline

Definition at line 55 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 55 of file SBPoint.hh

References fId.

G4ThreeVector SBPoint::GetPosition ( ) const
inline

Definition at line 59 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 59 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 68 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 68 of file SBPoint.hh

References fStrand.

bool SBPoint::HasCluster ( ) const
inline

Definition at line 83 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 83 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 62 of file SBPoint.cc.

View newest version in sPHENIX GitHub at line 62 of file SBPoint.cc

References fId.

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

Definition at line 76 of file SBPoint.cc.

View newest version in sPHENIX GitHub at line 76 of file SBPoint.cc

References fId.

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

Definition at line 69 of file SBPoint.cc.

View newest version in sPHENIX GitHub at line 69 of file SBPoint.cc

References fId.

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

Definition at line 83 of file SBPoint.cc.

View newest version in sPHENIX GitHub at line 83 of file SBPoint.cc

References fId.

void SBPoint::SetCluster ( ClusterSBPoints pCluster)
inline

Definition at line 73 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 73 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 78 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 78 of file SBPoint.hh

References fPosition.

Member Data Documentation

G4double SBPoint::fEdep
private

Definition at line 99 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 99 of file SBPoint.hh

Referenced by GetEdep().

unsigned int SBPoint::fId
private

Definition at line 97 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 97 of file SBPoint.hh

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

ClusterSBPoints* SBPoint::fpCluster
private

Definition at line 100 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 100 of file SBPoint.hh

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

G4ThreeVector SBPoint::fPosition
private

Definition at line 98 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 98 of file SBPoint.hh

Referenced by GetPosition(), and SetPosition().

G4int SBPoint::fStrand
private

Definition at line 101 of file SBPoint.hh.

View newest version in sPHENIX GitHub at line 101 of file SBPoint.hh

Referenced by GetTouchedStrand(), and SBPoint().


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