#include <G4ChannelingOptrMultiParticleChangeCrossSection.hh>
|
| G4ChannelingOptrMultiParticleChangeCrossSection () |
|
virtual | ~G4ChannelingOptrMultiParticleChangeCrossSection () |
|
void | AddParticle (G4String particleName) |
|
void | AddChargedParticles () |
|
void | StartTracking (const G4Track *track) |
|
| G4VBiasingOperator (G4String name) |
|
virtual | ~G4VBiasingOperator () |
|
virtual void | Configure () |
|
virtual void | ConfigureForWorker () |
|
virtual void | StartRun () |
|
virtual void | EndTracking () |
|
const G4String | GetName () const |
|
void | AttachTo (const G4LogicalVolume *) |
|
G4BiasingAppliedCase | GetPreviousBiasingAppliedCase () const |
|
G4VBiasingOperation * | GetProposedOccurenceBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess) |
|
G4VBiasingOperation * | GetProposedFinalStateBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess) |
|
G4VBiasingOperation * | GetProposedNonPhysicsBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess) |
|
void | ExitingBiasing (const G4Track *track, const G4BiasingProcessInterface *callingProcess) |
|
void | ReportOperationApplied (const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *operationApplied, const G4VParticleChange *particleChangeProduced) |
|
void | ReportOperationApplied (const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *occurenceOperationApplied, G4double weightForOccurenceInteraction, G4VBiasingOperation *finalStateOperationApplied, const G4VParticleChange *particleChangeProduced) |
|
const G4VBiasingOperation * | GetPreviousNonPhysicsAppliedOperation () |
|
◆ G4ChannelingOptrMultiParticleChangeCrossSection()
G4ChannelingOptrMultiParticleChangeCrossSection::G4ChannelingOptrMultiParticleChangeCrossSection |
( |
| ) |
|
◆ ~G4ChannelingOptrMultiParticleChangeCrossSection()
virtual G4ChannelingOptrMultiParticleChangeCrossSection::~G4ChannelingOptrMultiParticleChangeCrossSection |
( |
| ) |
|
|
inlinevirtual |
◆ AddChargedParticles()
void G4ChannelingOptrMultiParticleChangeCrossSection::AddChargedParticles |
( |
| ) |
|
◆ AddParticle()
void G4ChannelingOptrMultiParticleChangeCrossSection::AddParticle |
( |
G4String | particleName | ) |
|
Definition at line 47 of file G4ChannelingOptrMultiParticleChangeCrossSection.cc.
47 {
50
51 if ( particle == 0 )
52 {
54 ed <<
"Particle `" << particleName <<
"' not found !" <<
G4endl;
55 G4Exception(
"G4ChannelingOptrMultiParticleChangeCrossSection::AddParticle(...)",
56 "G4Channeling",
58 ed);
59 return;
60 }
61
63 fParticlesToBias.push_back( particle );
64 fBOptrForParticle[ particle ] = optr;
65}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
Referenced by AddChargedParticles().
◆ StartTracking()
void G4ChannelingOptrMultiParticleChangeCrossSection::StartTracking |
( |
const G4Track * | track | ) |
|
|
virtual |
Reimplemented from G4VBiasingOperator.
Definition at line 97 of file G4ChannelingOptrMultiParticleChangeCrossSection.cc.
97 {
99 std::map < const G4ParticleDefinition*, G4ChannelingOptrChangeCrossSection* > :: iterator
100 it = fBOptrForParticle.find( definition );
101 fCurrentOperator = 0;
102 if ( it != fBOptrForParticle.end() ) fCurrentOperator = (*it).second;
103 fnInteractions = 0;
104}
const G4ParticleDefinition * GetParticleDefinition() const
The documentation for this class was generated from the following files: