Geant4-11
Public Member Functions | Data Fields
G4SPSRandomGenerator::bweights_t Struct Reference

Public Member Functions

 bweights_t ()
 
G4doubleoperator[] (const int i)
 

Data Fields

G4double w [9]
 

Detailed Description

Definition at line 188 of file G4SPSRandomGenerator.hh.

Constructor & Destructor Documentation

◆ bweights_t()

G4SPSRandomGenerator::bweights_t::bweights_t ( )

Definition at line 51 of file G4SPSRandomGenerator.cc.

52{
53 for ( G4int i=0 ; i<9 ; ++i ) { w[i] = 1; }
54}
int G4int
Definition: G4Types.hh:85

References w.

Member Function Documentation

◆ operator[]()

G4double & G4SPSRandomGenerator::bweights_t::operator[] ( const int  i)

Definition at line 56 of file G4SPSRandomGenerator.cc.

57{
58 return w[i];
59}

Field Documentation

◆ w

G4double G4SPSRandomGenerator::bweights_t::w[9]

Definition at line 190 of file G4SPSRandomGenerator.hh.

Referenced by bweights_t().


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