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

#include <G4SPPartonInfo.hh>

Public Member Functions

 G4SPPartonInfo (G4int diq, G4int q, G4double prob)
 
G4int GetQuark () const
 
G4int GetDiQuark () const
 
G4double GetProbability () const
 

Detailed Description

Definition at line 29 of file G4SPPartonInfo.hh.

Constructor & Destructor Documentation

◆ G4SPPartonInfo()

G4SPPartonInfo::G4SPPartonInfo ( G4int  diq,
G4int  q,
G4double  prob 
)
inline

Definition at line 32 of file G4SPPartonInfo.hh.

33 { diQuarkPDGCode = diq; quarkPDGCode = q; probability = prob; }

Member Function Documentation

◆ GetDiQuark()

G4int G4SPPartonInfo::GetDiQuark ( ) const
inline

Definition at line 35 of file G4SPPartonInfo.hh.

35{return diQuarkPDGCode;}

◆ GetProbability()

G4double G4SPPartonInfo::GetProbability ( ) const
inline

Definition at line 36 of file G4SPPartonInfo.hh.

36{return probability;}

◆ GetQuark()

G4int G4SPPartonInfo::GetQuark ( ) const
inline

Definition at line 34 of file G4SPPartonInfo.hh.

34{return quarkPDGCode;}

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