Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( 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

G4int G4SPPartonInfo::GetDiQuark ( ) const
inline

Definition at line 35 of file G4SPPartonInfo.hh.

35 {return diQuarkPDGCode;}
G4double G4SPPartonInfo::GetProbability ( void  ) const
inline

Definition at line 36 of file G4SPPartonInfo.hh.

36 {return probability;}
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: