Geant4-11
|
#include <G4DNAIRT.hh>
Public Member Functions | |
G4int | FindBin (G4int, G4double, G4double, G4double) |
std::vector< std::unique_ptr< G4ITReactionChange > > | FindReaction (G4ITReactionSet *, const G4double, const G4double, const G4bool) override |
G4DNAIRT () | |
G4DNAIRT (const G4DNAIRT &other)=delete | |
G4DNAIRT (G4VDNAReactionModel *) | |
G4double | GetIndependentReactionTime (const G4MolecularConfiguration *, const G4MolecularConfiguration *, G4double) |
void | Initialize () override |
void | IRTSampling () |
virtual G4bool | IsApplicable (const G4ITType &, const G4ITType &) const |
std::unique_ptr< G4ITReactionChange > | MakeReaction (const G4Track &, const G4Track &) override |
G4DNAIRT & | operator= (const G4DNAIRT &other)=delete |
G4double | SamplePDC (G4double, G4double) |
void | Sampling (G4Track *) |
void | SetReactionModel (G4VDNAReactionModel *) |
virtual void | SetReactionTable (const G4ITReactionTable *) |
void | SpaceBinning () |
G4bool | TestReactibility (const G4Track &, const G4Track &, G4double, G4bool) override |
~G4DNAIRT () override | |
Protected Attributes | |
const G4DNAMolecularReactionTable *& | fMolReactionTable |
G4String | fName |
G4VDNAReactionModel * | fpReactionModel |
const G4ITReactionTable * | fpReactionTable = nullptr |
Private Attributes | |
G4ErrorFunction * | erfc |
G4int | fNx |
G4int | fNy |
G4int | fNz |
G4double | fRCutOff |
G4ITReactionSet * | fReactionSet |
G4ITTrackHolder * | fTrackHolder |
G4double | fXMax |
G4double | fXMin |
G4double | fYMax |
G4double | fYMin |
G4double | fZMax |
G4double | fZMin |
std::map< G4int, std::map< G4int, std::map< G4int, std::vector< G4Track * > > > > | spaceBinned |
G4double | timeMax |
G4double | timeMin |
G4int | xendIndex |
G4int | xiniIndex |
G4int | yendIndex |
G4int | yiniIndex |
G4int | zendIndex |
G4int | ziniIndex |
Definition at line 64 of file G4DNAIRT.hh.
G4DNAIRT::G4DNAIRT | ( | ) |
Definition at line 50 of file G4DNAIRT.cc.
References erfc, fNx, fNy, fNz, fRCutOff, fXMax, fXMin, fYMax, fYMin, fZMax, fZMin, G4Scheduler::GetEndTime(), G4Scheduler::GetStartTime(), G4Scheduler::Instance(), nm, s, timeMax, timeMin, xendIndex, xiniIndex, yendIndex, yiniIndex, zendIndex, and ziniIndex.
|
explicit |
Definition at line 82 of file G4DNAIRT.cc.
References fpReactionModel.
|
override |
|
delete |
(xmax < value) ) //value >= xmax )
Definition at line 330 of file G4DNAIRT.cc.
References CLHEP::detail::n.
Referenced by IRTSampling(), MakeReaction(), and Sampling().
|
overridevirtual |
Implements G4VITReactionProcess.
Definition at line 496 of file G4DNAIRT.cc.
References G4ITReactionSet::GetReactionsPerTime(), MakeReaction(), and G4ITReactionSet::SelectThisReaction().
G4double G4DNAIRT::GetIndependentReactionTime | ( | const G4MolecularConfiguration * | molA, |
const G4MolecularConfiguration * | molB, | ||
G4double | distance | ||
) |
Definition at line 271 of file G4DNAIRT.cc.
References alpha, source.hepunit::Avogadro, D(), erfc, G4ErrorFunction::erfcInv(), fMolReactionTable, G4UniformRand, G4MolecularConfiguration::GetDiffusionCoefficient(), G4DNAMolecularReactionTable::GetReactionData(), G4DNAMolecularReactionData::GetReactionType(), m2, nm, CLHEP::pi, ps, s, and SamplePDC().
Referenced by Sampling().
|
overridevirtual |
First initialization (done once for all at the begin of the run) eg. check if the reaction table is given ...
Reimplemented from G4VITReactionProcess.
Definition at line 93 of file G4DNAIRT.cc.
References G4ITReactionSet::CleanAllReaction(), fNx, fNy, fNz, fReactionSet, fTrackHolder, fXMax, fXMin, fYMax, fYMin, fZMax, fZMin, G4Scheduler::GetEndTime(), G4Scheduler::GetStartTime(), G4ITReactionSet::Instance(), G4ITTrackHolder::Instance(), G4Scheduler::Instance(), IRTSampling(), nm, G4ITReactionSet::SortByTime(), spaceBinned, SpaceBinning(), timeMax, timeMin, xendIndex, xiniIndex, yendIndex, yiniIndex, zendIndex, and ziniIndex.
void G4DNAIRT::IRTSampling | ( | ) |
Definition at line 153 of file G4DNAIRT.cc.
References G4FastList< OBJECT >::begin(), G4FastList< OBJECT >::end(), FindBin(), fNx, fNy, fNz, fTrackHolder, fXMax, fXMin, fYMax, fYMin, fZMax, fZMin, G4ITTrackHolder::GetMainList(), Sampling(), and spaceBinned.
Referenced by Initialize().
|
virtualinherited |
Definition at line 43 of file G4VITReactionProcess.cc.
|
overridevirtual |
Implements G4VITReactionProcess.
Definition at line 379 of file G4DNAIRT.cc.
References alpha, fAlive, FindBin(), fMolReactionTable, fNx, fNy, fNz, fStopButAlive, fTrackHolder, fXMax, fXMin, fYMax, fYMin, fZMax, fZMin, G4UniformRand, G4Scheduler::GetGlobalTime(), G4Track::GetGlobalTime(), G4Molecule::GetMolecularConfiguration(), GetMolecule(), G4Track::GetPosition(), G4DNAMolecularReactionTable::GetReactionData(), G4Scheduler::Instance(), CLHEP::Hep3Vector::mag(), G4ITTrackHolder::MergeSecondariesWithMainList(), nm, CLHEP::pi, position, G4ITTrackHolder::Push(), rad, Sampling(), CLHEP::Hep3Vector::setMag(), CLHEP::Hep3Vector::setPhi(), G4Track::SetPosition(), CLHEP::Hep3Vector::setTheta(), G4INCL::DeJongSpin::shoot(), and spaceBinned.
Referenced by FindReaction().
Definition at line 346 of file G4DNAIRT.cc.
References erfc, G4ErrorFunction::erfcx(), G4cout, G4UniformRand, M, G4INCL::Math::max(), and CLHEP::pi.
Referenced by GetIndependentReactionTime().
void G4DNAIRT::Sampling | ( | G4Track * | track | ) |
Definition at line 168 of file G4DNAIRT.cc.
References G4ITReactionSet::AddReaction(), G4Molecule::BuildTrack(), G4DNAMolecularReactionTable::CanReactWith(), FindBin(), fMolReactionTable, fNx, fNy, fNz, fRCutOff, fReactionSet, fStopButAlive, fTrackHolder, fXMax, fXMin, fYMax, fYMin, fZMax, fZMin, G4cout, G4UniformRand, G4MolecularConfiguration::GetDiffusionCoefficient(), G4Molecule::GetDiffusionCoefficient(), G4Scheduler::GetGlobalTime(), G4Track::GetGlobalTime(), GetIndependentReactionTime(), G4Molecule::GetMolecularConfiguration(), G4Molecule::GetMolecule(), G4MolecularConfiguration::GetName(), G4DNAMolecularReactionData::GetObservedReactionRateConstant(), G4Track::GetPosition(), G4DNAMolecularReactionTable::GetReactionData(), G4Track::GetTrackID(), G4Scheduler::Instance(), CLHEP::detail::n, G4ITTrackHolder::Push(), G4INCL::DeJongSpin::shoot(), spaceBinned, timeMax, CLHEP::Hep3Vector::x(), xendIndex, xiniIndex, CLHEP::Hep3Vector::y(), yendIndex, yiniIndex, CLHEP::Hep3Vector::z(), zendIndex, and ziniIndex.
Referenced by IRTSampling(), and MakeReaction().
void G4DNAIRT::SetReactionModel | ( | G4VDNAReactionModel * | model | ) |
Definition at line 545 of file G4DNAIRT.cc.
References fpReactionModel.
|
virtualinherited |
Definition at line 38 of file G4VITReactionProcess.cc.
References G4VITReactionProcess::fpReactionTable.
void G4DNAIRT::SpaceBinning | ( | ) |
Definition at line 130 of file G4DNAIRT.cc.
References G4FastList< OBJECT >::begin(), G4FastList< OBJECT >::end(), fNx, fNy, fNz, fRCutOff, fTrackHolder, fXMax, fXMin, fYMax, fYMin, fZMax, fZMin, and G4ITTrackHolder::GetMainList().
Referenced by Initialize().
|
overridevirtual |
Implements G4VITReactionProcess.
Definition at line 537 of file G4DNAIRT.cc.
|
private |
Definition at line 99 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), GetIndependentReactionTime(), SamplePDC(), and ~G4DNAIRT().
|
protected |
Definition at line 93 of file G4DNAIRT.hh.
Referenced by GetIndependentReactionTime(), MakeReaction(), and Sampling().
|
protectedinherited |
Definition at line 91 of file G4VITReactionProcess.hh.
|
private |
Definition at line 109 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
private |
Definition at line 109 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
private |
Definition at line 109 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
protected |
Definition at line 94 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), and SetReactionModel().
|
protectedinherited |
Definition at line 90 of file G4VITReactionProcess.hh.
Referenced by G4VITReactionProcess::SetReactionTable().
|
private |
Definition at line 103 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Sampling(), and SpaceBinning().
|
private |
Definition at line 98 of file G4DNAIRT.hh.
Referenced by Initialize(), and Sampling().
|
private |
Definition at line 97 of file G4DNAIRT.hh.
Referenced by Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
private |
Definition at line 108 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
private |
Definition at line 107 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
private |
Definition at line 108 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
private |
Definition at line 107 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
private |
Definition at line 108 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
private |
Definition at line 107 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), IRTSampling(), MakeReaction(), Sampling(), and SpaceBinning().
|
private |
Definition at line 101 of file G4DNAIRT.hh.
Referenced by Initialize(), IRTSampling(), MakeReaction(), and Sampling().
|
private |
Definition at line 105 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), and Sampling().
|
private |
Definition at line 104 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), and Initialize().
|
private |
Definition at line 111 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), and Sampling().
|
private |
Definition at line 110 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), and Sampling().
|
private |
Definition at line 111 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), and Sampling().
|
private |
Definition at line 110 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), and Sampling().
|
private |
Definition at line 111 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), and Sampling().
|
private |
Definition at line 110 of file G4DNAIRT.hh.
Referenced by G4DNAIRT(), Initialize(), and Sampling().