Geant4-11
|
#include <G4PhysChemIO.hh>
Public Member Functions | |
virtual void | AddEmptyLineInOutputFile () |
virtual void | CloseFile () |
virtual void | CreateSolvatedElectron (const G4Track *, G4ThreeVector *finalPosition=0) |
virtual void | CreateWaterMolecule (G4int electronicModif, G4int, G4double energy, const G4Track *) |
FormattedText () | |
virtual void | InitializeFile () |
virtual void | InitializeMaster () |
virtual void | InitializeThread () |
virtual void | NewEvent () |
virtual void | NewRun () |
virtual void | WriteInto (const G4String &, std::ios_base::openmode mode=std::ios_base::out) |
virtual | ~FormattedText () |
Protected Attributes | |
G4int | fEventID |
G4bool | fFileInitialized |
std::ofstream | fOfstream |
G4int | fRunID |
Definition at line 40 of file G4PhysChemIO.hh.
G4PhysChemIO::FormattedText::FormattedText | ( | ) |
Definition at line 44 of file G4PhysChemIO.cc.
References fEventID, fFileInitialized, and fRunID.
|
virtual |
|
virtual |
Reimplemented from G4VPhysChemIO.
Definition at line 89 of file G4PhysChemIO.cc.
References fFileInitialized, fOfstream, and G4endl.
|
virtual |
Close the file specified with WriteInto
Implements G4VPhysChemIO.
Definition at line 96 of file G4PhysChemIO.cc.
References fFileInitialized, and fOfstream.
Referenced by ~FormattedText().
|
virtual |
Same idea as the previous method but for solvated electron. This method should be used by the physics model of the ElectronSolvatation process.
Implements G4VPhysChemIO.
Definition at line 131 of file G4PhysChemIO.cc.
References eV, fFileInitialized, fOfstream, G4endl, G4Track::GetKineticEnergy(), G4Track::GetPosition(), G4Track::GetTrackID(), InitializeFile(), nanometer, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
When DNA physics model create a water molecule, you'll get a notification through this method. The ElectronicModification is a flag telling whether the molecule is ionized or excited, the electronic level is calculated by the model and the IncomingTrack is the track responsible for the creation of this molecule (electron, proton...)
Implements G4VPhysChemIO.
Definition at line 108 of file G4PhysChemIO.cc.
References G4INCL::KinematicsUtils::energy(), eV, fFileInitialized, fOfstream, G4endl, G4Track::GetPosition(), G4Track::GetTrackID(), InitializeFile(), nanometer, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VPhysChemIO.
Definition at line 58 of file G4PhysChemIO.cc.
References fFileInitialized, fOfstream, and G4endl.
Referenced by CreateSolvatedElectron(), and CreateWaterMolecule().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Tells the chemistry manager to write into a file the position and electronic state of the water molecule and the position thermalized or not of the solvated electron
Implements G4VPhysChemIO.
Definition at line 80 of file G4PhysChemIO.cc.
References fFileInitialized, and fOfstream.
|
protected |
Definition at line 94 of file G4PhysChemIO.hh.
Referenced by FormattedText().
|
protected |
Definition at line 95 of file G4PhysChemIO.hh.
Referenced by AddEmptyLineInOutputFile(), CloseFile(), CreateSolvatedElectron(), CreateWaterMolecule(), FormattedText(), InitializeFile(), and WriteInto().
|
protected |
Definition at line 96 of file G4PhysChemIO.hh.
Referenced by AddEmptyLineInOutputFile(), CloseFile(), CreateSolvatedElectron(), CreateWaterMolecule(), InitializeFile(), and WriteInto().
|
protected |
Definition at line 93 of file G4PhysChemIO.hh.
Referenced by FormattedText().