ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CexmcPhaseSpaceGenerator Class Referenceabstract

#include <geant4/tree/geant4-10.6-release/examples/advanced/ChargeExchangeMC/include/CexmcPhaseSpaceGenerator.hh>

+ Inheritance diagram for CexmcPhaseSpaceGenerator:
+ Collaboration diagram for CexmcPhaseSpaceGenerator:

Public Member Functions

 CexmcPhaseSpaceGenerator ()
 
virtual ~CexmcPhaseSpaceGenerator ()
 
virtual G4bool CheckKinematics (void)
 
virtual G4double Generate (void)=0
 
void SetParticles (const CexmcPhaseSpaceInVector &inVec_, const CexmcPhaseSpaceOutVector &outVec_)
 
void SetFermiEnergyDependence (G4bool on=true)
 

Protected Member Functions

virtual void ParticleChangeHook (void)
 
virtual void FermiEnergyDepStatusChangeHook (void)
 

Protected Attributes

CexmcPhaseSpaceInVector inVec
 
CexmcPhaseSpaceOutVector outVec
 
G4bool fermiEnergyDepIsOn
 
G4double totalEnergy
 
G4double totalMass
 

Detailed Description

Definition at line 71 of file CexmcPhaseSpaceGenerator.hh.

View newest version in sPHENIX GitHub at line 71 of file CexmcPhaseSpaceGenerator.hh

Constructor & Destructor Documentation

CexmcPhaseSpaceGenerator::CexmcPhaseSpaceGenerator ( )

Definition at line 47 of file CexmcPhaseSpaceGenerator.cc.

View newest version in sPHENIX GitHub at line 47 of file CexmcPhaseSpaceGenerator.cc

CexmcPhaseSpaceGenerator::~CexmcPhaseSpaceGenerator ( )
virtual

Definition at line 53 of file CexmcPhaseSpaceGenerator.cc.

View newest version in sPHENIX GitHub at line 53 of file CexmcPhaseSpaceGenerator.cc

Member Function Documentation

G4bool CexmcPhaseSpaceGenerator::CheckKinematics ( void  )
virtual

Definition at line 82 of file CexmcPhaseSpaceGenerator.cc.

View newest version in sPHENIX GitHub at line 82 of file CexmcPhaseSpaceGenerator.cc

References inVec, k, totalEnergy, and totalMass.

void CexmcPhaseSpaceGenerator::FermiEnergyDepStatusChangeHook ( void  )
protectedvirtual

Reimplemented in CexmcReimplementedGenbod.

Definition at line 100 of file CexmcPhaseSpaceGenerator.cc.

View newest version in sPHENIX GitHub at line 100 of file CexmcPhaseSpaceGenerator.cc

Referenced by SetFermiEnergyDependence().

+ Here is the caller graph for this function:

virtual G4double CexmcPhaseSpaceGenerator::Generate ( void  )
pure virtual

Implemented in CexmcReimplementedGenbod.

void CexmcPhaseSpaceGenerator::ParticleChangeHook ( void  )
protectedvirtual

Reimplemented in CexmcReimplementedGenbod.

Definition at line 95 of file CexmcPhaseSpaceGenerator.cc.

View newest version in sPHENIX GitHub at line 95 of file CexmcPhaseSpaceGenerator.cc

Referenced by SetParticles().

+ Here is the caller graph for this function:

void CexmcPhaseSpaceGenerator::SetFermiEnergyDependence ( G4bool  on = true)

Definition at line 74 of file CexmcPhaseSpaceGenerator.cc.

View newest version in sPHENIX GitHub at line 74 of file CexmcPhaseSpaceGenerator.cc

References fermiEnergyDepIsOn, and FermiEnergyDepStatusChangeHook().

+ Here is the call graph for this function:

void CexmcPhaseSpaceGenerator::SetParticles ( const CexmcPhaseSpaceInVector inVec_,
const CexmcPhaseSpaceOutVector outVec_ 
)

Definition at line 58 of file CexmcPhaseSpaceGenerator.cc.

View newest version in sPHENIX GitHub at line 58 of file CexmcPhaseSpaceGenerator.cc

References inVec, k, outVec, ParticleChangeHook(), and totalMass.

Referenced by CexmcChargeExchangeProductionModel< OutputParticle >::CexmcChargeExchangeProductionModel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4bool CexmcPhaseSpaceGenerator::fermiEnergyDepIsOn
protected

Definition at line 99 of file CexmcPhaseSpaceGenerator.hh.

View newest version in sPHENIX GitHub at line 99 of file CexmcPhaseSpaceGenerator.hh

Referenced by SetFermiEnergyDependence(), and CexmcReimplementedGenbod::SetMaxWeight().

CexmcPhaseSpaceInVector CexmcPhaseSpaceGenerator::inVec
protected

Definition at line 95 of file CexmcPhaseSpaceGenerator.hh.

View newest version in sPHENIX GitHub at line 95 of file CexmcPhaseSpaceGenerator.hh

Referenced by CheckKinematics(), and SetParticles().

CexmcPhaseSpaceOutVector CexmcPhaseSpaceGenerator::outVec
protected
G4double CexmcPhaseSpaceGenerator::totalEnergy
protected

Definition at line 101 of file CexmcPhaseSpaceGenerator.hh.

View newest version in sPHENIX GitHub at line 101 of file CexmcPhaseSpaceGenerator.hh

Referenced by CheckKinematics(), CexmcReimplementedGenbod::Generate(), and CexmcReimplementedGenbod::SetMaxWeight().

G4double CexmcPhaseSpaceGenerator::totalMass
protected

Definition at line 103 of file CexmcPhaseSpaceGenerator.hh.

View newest version in sPHENIX GitHub at line 103 of file CexmcPhaseSpaceGenerator.hh

Referenced by CheckKinematics(), CexmcReimplementedGenbod::Generate(), CexmcReimplementedGenbod::SetMaxWeight(), and SetParticles().


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