Geant4 10.7.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)=default
 
void Fill (const G4ThreeVector &vec, G4double size, G4int index)
 
G4bool operator== (const G4Fancy3DNucleusHelper &right) const
 
G4bool 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 51 of file G4Fancy3DNucleusHelper.hh.

51 {
52 Vector = vec;
53 Size = size;
54 Index = index;
55 }

◆ operator<()

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

Definition at line 64 of file G4Fancy3DNucleusHelper.hh.

65 {
66 return (Size < right.Size);
67 }

◆ operator=()

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

◆ operator==()

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

Definition at line 58 of file G4Fancy3DNucleusHelper.hh.

59 {
60 return (this == &right);
61 }

Member Data Documentation

◆ Index

G4int G4Fancy3DNucleusHelper::Index

Definition at line 72 of file G4Fancy3DNucleusHelper.hh.

Referenced by Fill().

◆ Size

G4double G4Fancy3DNucleusHelper::Size

Definition at line 71 of file G4Fancy3DNucleusHelper.hh.

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

◆ Vector

G4ThreeVector G4Fancy3DNucleusHelper::Vector

Definition at line 70 of file G4Fancy3DNucleusHelper.hh.

Referenced by Fill().


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