Geant4 11.2.2
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)
 
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 49 of file G4Fancy3DNucleusHelper.hh.

49 {
50 Vector = vec;
51 Size = size;
52 Index = index;
53 }

◆ operator<()

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

Definition at line 62 of file G4Fancy3DNucleusHelper.hh.

63 {
64 return (Size < right.Size);
65 }

◆ operator==()

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

Definition at line 56 of file G4Fancy3DNucleusHelper.hh.

57 {
58 return (this == &right);
59 }

Member Data Documentation

◆ Index

G4int G4Fancy3DNucleusHelper::Index

Definition at line 70 of file G4Fancy3DNucleusHelper.hh.

Referenced by Fill().

◆ Size

G4double G4Fancy3DNucleusHelper::Size

Definition at line 69 of file G4Fancy3DNucleusHelper.hh.

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

◆ Vector

G4ThreeVector G4Fancy3DNucleusHelper::Vector

Definition at line 68 of file G4Fancy3DNucleusHelper.hh.

Referenced by Fill().


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