#include <CexmcProductionModel.hh>
Definition at line 60 of file CexmcProductionModel.hh.
CexmcProductionModel::CexmcProductionModel |
( |
const G4String & |
name = "unspecified" , |
|
|
G4bool |
fermiMotionIsOn = false |
|
) |
| |
|
explicit |
Definition at line 49 of file CexmcProductionModel.cc.
G4ParticleDefinition * nucleusOutputParticle
G4ParticleDefinition * nucleusParticle
G4ParticleDefinition * incidentParticle
CexmcAngularRangeList angularRanges
G4ParticleDefinition * outputParticle
CexmcProductionModel::~CexmcProductionModel |
( |
| ) |
|
|
virtual |
Definition at line 90 of file CexmcProductionModel.cc.
93 if ( ! IsValidCandidateForAngularRange( top, bottom, nmbOfDivs ) )
96 if ( ! IsGoodCandidateForAngularRange( top, bottom ) )
101 for (
int i( 0 ); i < nmbOfDivs; ++i )
103 G4double binWidth( ( top - bottom ) / nmbOfDivs );
105 curBottom -= binWidth;
108 #ifdef CEXMC_USE_ROOT
109 CexmcHistoManager::Instance()->AddARHistos( aRange );
CexmcAngularRangeList angularRanges
void CexmcProductionModel::ApplyFermiMotion |
( |
G4bool |
on, |
|
|
G4bool |
fromMessenger = true |
|
) |
| |
|
inline |
Definition at line 142 of file CexmcProductionModel.hh.
virtual void FermiMotionStatusChangeHook(void)
void ThrowExceptionIfProjectIsRead(CexmcExceptionType type, G4bool extraCond=true)
void CexmcProductionModel::FermiMotionStatusChangeHook |
( |
void |
| ) |
|
|
protectedvirtual |
const G4String & CexmcProductionModel::GetName |
( |
void |
| ) |
const |
|
inline |
G4bool CexmcProductionModel::IsFermiMotionOn |
( |
void |
| ) |
const |
|
inline |
void CexmcProductionModel::PrintInitialData |
( |
void |
| ) |
const |
|
inline |
Definition at line 172 of file CexmcProductionModel.hh.
174 const char * fermiMotionMsg(
"Fermi motion in the target is off" );
176 fermiMotionMsg =
"Fermi motion in the target is on";
G4GLOB_DLL std::ostream G4cout
CexmcAngularRangeList angularRanges
Definition at line 66 of file CexmcProductionModel.cc.
69 if ( ! IsValidCandidateForAngularRange( top, bottom, nmbOfDivs ) )
72 if ( ! IsGoodCandidateForAngularRange( top, bottom ) )
77 for (
int i( 0 ); i < nmbOfDivs; ++i )
79 G4double binWidth( ( top - bottom ) / nmbOfDivs );
81 curBottom -= binWidth;
85 CexmcHistoManager::Instance()->SetupARHistos(
angularRanges );
CexmcAngularRangeList angularRanges
Definition at line 154 of file CexmcProductionModel.hh.
159 #ifdef CEXMC_USE_ROOT
160 CexmcHistoManager::Instance()->SetupARHistos(
angularRanges );
CexmcAngularRangeList angularRangesRef
CexmcAngularRangeList angularRanges
void CexmcProductionModel::SetTriggeredAngularRanges |
( |
G4double |
opCosThetaSCM | ) |
|
Definition at line 115 of file CexmcProductionModel.cc.
119 for ( CexmcAngularRangeList::iterator k(
angularRanges.begin() );
122 if ( opCosThetaSCM <= k->top && opCosThetaSCM > k->bottom )
124 k->top, k->bottom, k->index ) );
CexmcAngularRangeList angularRanges
CexmcAngularRangeList triggeredAngularRanges
G4bool CexmcProductionModel::fermiMotionIsOn |
|
protected |
The documentation for this class was generated from the following files: