Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
@@ -33,20 +33,26 @@
// Author: Michael Dressel (CERN), 2002
// ----------------------------------------------------------------------
#ifndef G4NSPLIT_WEIGHT_HH
#define G4NSPLIT_WEIGHT_HH 1
#define G4NSPLIT_WEIGHT_HH
#include "globals.hh"
/**
* @brief G4Nsplit_Weight is a class (struct) used by importance sampling.
* It contains the number of tracks a mother track should be split into and
* their associated weight.
*/
class G4Nsplit_Weight
{
public:
/** Number of tracks a mother track should be split into
including the mother track. */
G4int fN = 0;
// number of tracks a mother track should be split into
// including the mother track
/** The weight to be given to the tracks. */
G4double fW = 0.0;
// the weight to be given to the tracks
};
std::ostream& operator<<(std::ostream& out, const G4Nsplit_Weight& nw);