Geant4 10.7.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 31 of file G4SPPartonInfo.hh.

Constructor & Destructor Documentation

◆ G4SPPartonInfo()

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

Definition at line 34 of file G4SPPartonInfo.hh.

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

Member Function Documentation

◆ GetDiQuark()

G4int G4SPPartonInfo::GetDiQuark ( ) const
inline

Definition at line 37 of file G4SPPartonInfo.hh.

37{return diQuarkPDGCode;}

◆ GetProbability()

G4double G4SPPartonInfo::GetProbability ( ) const
inline

Definition at line 38 of file G4SPPartonInfo.hh.

38{return probability;}

◆ GetQuark()

G4int G4SPPartonInfo::GetQuark ( ) const
inline

Definition at line 36 of file G4SPPartonInfo.hh.

36{return quarkPDGCode;}

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