Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Fancy3DNucleusHelper Class Reference

#include <G4Fancy3DNucleusHelper.hh>

Public Member Functions

 G4Fancy3DNucleusHelper ()
 
 G4Fancy3DNucleusHelper (const G4ThreeVector &vec, G4double size, G4int index)
 
G4Fancy3DNucleusHelperoperator= (const G4Fancy3DNucleusHelper &right)
 
void Fill (const G4ThreeVector &vec, G4double size, G4int index)
 
bool operator== (const G4Fancy3DNucleusHelper &right) const
 
bool operator< (const G4Fancy3DNucleusHelper &right) const
 

Public Attributes

G4ThreeVector Vector
 
G4double Size
 
G4int Index
 

Detailed Description

Definition at line 41 of file G4Fancy3DNucleusHelper.hh.

Constructor & Destructor Documentation

◆ G4Fancy3DNucleusHelper() [1/2]

G4Fancy3DNucleusHelper::G4Fancy3DNucleusHelper ( )
inline

◆ G4Fancy3DNucleusHelper() [2/2]

G4Fancy3DNucleusHelper::G4Fancy3DNucleusHelper ( const G4ThreeVector vec,
G4double  size,
G4int  index 
)
inline

Definition at line 45 of file G4Fancy3DNucleusHelper.hh.

47 : Vector(vec), Size(size), Index(index) {}

Member Function Documentation

◆ Fill()

void G4Fancy3DNucleusHelper::Fill ( const G4ThreeVector vec,
G4double  size,
G4int  index 
)
inline

Definition at line 55 of file G4Fancy3DNucleusHelper.hh.

55 {
56 Vector = vec;
57 Size = size;
58 Index = index;
59 }

Referenced by operator=().

◆ operator<()

bool G4Fancy3DNucleusHelper::operator< ( const G4Fancy3DNucleusHelper right) const
inline

Definition at line 68 of file G4Fancy3DNucleusHelper.hh.

69 {
70 return (Size < right.Size);
71 }

◆ operator=()

G4Fancy3DNucleusHelper & G4Fancy3DNucleusHelper::operator= ( const G4Fancy3DNucleusHelper right)
inline

Definition at line 49 of file G4Fancy3DNucleusHelper.hh.

50 {
51 if (&right != this) Fill(right.Vector, right.Size, right.Index);
52 return *this;
53 }
void Fill(const G4ThreeVector &vec, G4double size, G4int index)

◆ operator==()

bool G4Fancy3DNucleusHelper::operator== ( const G4Fancy3DNucleusHelper right) const
inline

Definition at line 62 of file G4Fancy3DNucleusHelper.hh.

63 {
64 return (this == &right);
65 }

Member Data Documentation

◆ Index

G4int G4Fancy3DNucleusHelper::Index

Definition at line 76 of file G4Fancy3DNucleusHelper.hh.

Referenced by Fill(), and operator=().

◆ Size

G4double G4Fancy3DNucleusHelper::Size

Definition at line 75 of file G4Fancy3DNucleusHelper.hh.

Referenced by Fill(), operator<(), and operator=().

◆ Vector

G4ThreeVector G4Fancy3DNucleusHelper::Vector

Definition at line 74 of file G4Fancy3DNucleusHelper.hh.

Referenced by Fill(), and operator=().


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