Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VMultiBodyMomDst Class Referenceabstract

#include <G4VMultiBodyMomDst.hh>

+ Inheritance diagram for G4VMultiBodyMomDst:

Public Member Functions

 G4VMultiBodyMomDst (const G4String &name, G4int verbose=0)
 
virtual ~G4VMultiBodyMomDst ()
 
virtual G4double GetMomentum (G4int ptype, const G4double &ekin) const =0
 
virtual void setVerboseLevel (G4int verbose=0)
 
virtual const G4StringGetName () const
 

Protected Attributes

G4String theName
 
G4int verboseLevel
 

Detailed Description

Definition at line 40 of file G4VMultiBodyMomDst.hh.

Constructor & Destructor Documentation

◆ G4VMultiBodyMomDst()

G4VMultiBodyMomDst::G4VMultiBodyMomDst ( const G4String name,
G4int  verbose = 0 
)

Definition at line 34 of file G4VMultiBodyMomDst.cc.

35 : theName(name), verboseLevel(verbose)
36{
37 if (verboseLevel) G4cout << " >>> " << theName << " ctor " << G4endl;
38}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

◆ ~G4VMultiBodyMomDst()

virtual G4VMultiBodyMomDst::~G4VMultiBodyMomDst ( )
inlinevirtual

Definition at line 43 of file G4VMultiBodyMomDst.hh.

43{;}

Member Function Documentation

◆ GetMomentum()

virtual G4double G4VMultiBodyMomDst::GetMomentum ( G4int  ptype,
const G4double ekin 
) const
pure virtual

◆ GetName()

virtual const G4String & G4VMultiBodyMomDst::GetName ( ) const
inlinevirtual

Definition at line 48 of file G4VMultiBodyMomDst.hh.

48{ return theName; }

Referenced by G4CascadeFinalStateAlgorithm::ChooseGenerators().

◆ setVerboseLevel()

virtual void G4VMultiBodyMomDst::setVerboseLevel ( G4int  verbose = 0)
inlinevirtual

Definition at line 47 of file G4VMultiBodyMomDst.hh.

47{ verboseLevel = verbose; }

Member Data Documentation

◆ theName

G4String G4VMultiBodyMomDst::theName
protected

◆ verboseLevel

G4int G4VMultiBodyMomDst::verboseLevel
protected

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