Geant4
10.02.p02
|
define a cluster of SB Points More...
#include <ClusterSBPoints.hh>
Public Member Functions | |
ClusterSBPoints (std::set< SBPoint * > pPoints) | |
~ClusterSBPoints () | |
bool | IsDSB () const |
bool | IsSSB () const |
unsigned int | GetSize () const |
void | AddSBPoint (SBPoint *pSBPoint) |
G4ThreeVector | GetBarycenter () const |
G4double | GetEdep () const |
void | FindAllPointsPossible (std::vector< SBPoint * > *ptToCheck, G4int minPts, G4double minDist) |
void | NoticeInternalPts () |
will set to all store SBPoint they are part of this cluster More... | |
bool | HasIn (const SBPoint *, G4double) |
bool | HasInBarycenter (const SBPoint *, G4double) |
void | MergeWith (ClusterSBPoints *) |
this will insert all registredSBPoint from the given cluster to this cluster. More... | |
std::set< SBPoint * > | GetRegistredSBPoints () const |
void | Clear () |
Private Member Functions | |
void | UpdateDoubleStrand () |
Private Attributes | |
unsigned int | fSize |
bool | fIsDoubleSB |
std::set< SBPoint * > | fpRegisteredSBPoints |
define a cluster of SB Points
Definition at line 48 of file ClusterSBPoints.hh.
ClusterSBPoints::ClusterSBPoints | ( | std::set< SBPoint * > | pPoints | ) |
Definition at line 47 of file ClusterSBPoints.cc.
References AddSBPoint(), and UpdateDoubleStrand().
ClusterSBPoints::~ClusterSBPoints | ( | ) |
Definition at line 60 of file ClusterSBPoints.cc.
References Clear().
void ClusterSBPoints::AddSBPoint | ( | SBPoint * | pSBPoint | ) |
Definition at line 79 of file ClusterSBPoints.cc.
References fpRegisteredSBPoints, SBPoint::SetCluster(), and UpdateDoubleStrand().
Referenced by ClusterSBPoints(), FindAllPointsPossible(), and MergeWith().
void ClusterSBPoints::Clear | ( | ) |
Definition at line 65 of file ClusterSBPoints.cc.
References fpRegisteredSBPoints.
Referenced by MergeWith(), and ~ClusterSBPoints().
void ClusterSBPoints::FindAllPointsPossible | ( | std::vector< SBPoint * > * | ptToCheck, |
G4int | minPts, | ||
G4double | minDist | ||
) |
Definition at line 192 of file ClusterSBPoints.cc.
References AddSBPoint(), fpRegisteredSBPoints, GetSize(), and HasInBarycenter().
G4ThreeVector ClusterSBPoints::GetBarycenter | ( | ) | const |
Definition at line 90 of file ClusterSBPoints.cc.
References fpRegisteredSBPoints, x, and z.
Referenced by HasInBarycenter().
G4double ClusterSBPoints::GetEdep | ( | ) | const |
Definition at line 114 of file ClusterSBPoints.cc.
References fpRegisteredSBPoints.
|
inline |
Definition at line 85 of file ClusterSBPoints.hh.
References fpRegisteredSBPoints.
Referenced by MergeWith().
|
inline |
Definition at line 64 of file ClusterSBPoints.hh.
References fpRegisteredSBPoints.
Referenced by FindAllPointsPossible().
Definition at line 224 of file ClusterSBPoints.cc.
References AreOnTheSameCluster(), and fpRegisteredSBPoints.
Definition at line 247 of file ClusterSBPoints.cc.
References GetBarycenter(), SBPoint::GetPosition(), and nm.
Referenced by FindAllPointsPossible().
|
inline |
Definition at line 54 of file ClusterSBPoints.hh.
References fIsDoubleSB.
Referenced by IsSSB().
|
inline |
Definition at line 59 of file ClusterSBPoints.hh.
References IsDSB().
void ClusterSBPoints::MergeWith | ( | ClusterSBPoints * | pCluster | ) |
this will insert all registredSBPoint from the given cluster to this cluster.
Definition at line 274 of file ClusterSBPoints.cc.
References AddSBPoint(), Clear(), and GetRegistredSBPoints().
void ClusterSBPoints::NoticeInternalPts | ( | ) |
will set to all store SBPoint they are part of this cluster
|
private |
Definition at line 129 of file ClusterSBPoints.cc.
References fIsDoubleSB, and fpRegisteredSBPoints.
Referenced by AddSBPoint(), and ClusterSBPoints().
|
private |
Definition at line 96 of file ClusterSBPoints.hh.
Referenced by IsDSB(), and UpdateDoubleStrand().
|
private |
Definition at line 98 of file ClusterSBPoints.hh.
Referenced by AddSBPoint(), Clear(), FindAllPointsPossible(), GetBarycenter(), GetEdep(), GetRegistredSBPoints(), GetSize(), HasIn(), and UpdateDoubleStrand().
|
private |
Definition at line 95 of file ClusterSBPoints.hh.