62 fOfstream << std::setprecision(6) << std::scientific;
63 fOfstream << setw(11) << left <<
"#Parent ID" << setw(10) <<
"Molecule"
64 << setw(14) <<
"Elec Modif" << setw(13) <<
"Energy (eV)"
65 << setw(22) <<
"X pos of parent [nm]" << setw(22)
66 <<
"Y pos of parent [nm]" << setw(22) <<
"Z pos of parent [nm]"
67 << setw(14) <<
"X pos [nm]" << setw(14) <<
"Y pos [nm]"
68 << setw(14) <<
"Z pos [nm]" <<
G4endl<< setw(21) <<
"#"
69 << setw(13) <<
"1)io/ex=0/1"
72 << setw(13) <<
"2)level=0...5"
81 ios_base::openmode mode)
109 G4int electronicLevel,
111 const G4Track* theIncomingTrack)
116 << setw(10) <<
"H2O" << left << modification << internal
117 <<
":" << right << electronicLevel << left << setw(11) <<
""
118 << std::setprecision(2) << std::fixed << setw(13)
119 << energy / eV << std::setprecision(6) << std::scientific
137 <<
"e_aq" << setw(14) << -1 << std::setprecision(2)
138 << std::fixed << setw(13)
140 << std::setprecision(6) << std::scientific << setw(22)
147 if (finalPosition != 0)
149 fOfstream << setw(14) << (finalPosition->
x()) / nanometer << setw(14)
150 << (finalPosition->
y()) / nanometer << setw(14)
151 << (finalPosition->
z()) / nanometer;
163fpAnalysisManager(analysisManager)
227 G4int electronicLevel,
229 const G4Track* theIncomingTrack)
287 const double i_nm = 1./nanometer;
293 if (finalPosition != 0)
virtual void CreateWaterMolecule(G4int electronicModif, G4int, G4double energy, const G4Track *)
virtual void CreateSolvatedElectron(const G4Track *, G4ThreeVector *finalPosition=0)
virtual void InitializeFile()
virtual void AddEmptyLineInOutputFile()
virtual void WriteInto(const G4String &, std::ios_base::openmode mode=std::ios_base::out)
virtual void CreateSolvatedElectron(const G4Track *, G4ThreeVector *finalPosition=0)
virtual void CreateWaterMolecule(G4int electronicModif, G4int, G4double energy, const G4Track *)
G4Analysis(G4VAnalysisManager *)
virtual void InitializeFile()
virtual void WriteInto(const G4String &, std::ios_base::openmode mode=std::ios_base::out)
G4VAnalysisManager * fpAnalysisManager
const char * data() const
const G4ThreeVector & GetPosition() const
G4double GetKineticEnergy() const
G4bool FillNtupleSColumn(G4int id, const G4String &value)
G4int CreateNtupleIColumn(const G4String &name)
G4int CreateNtupleDColumn(const G4String &name)
G4bool FillNtupleDColumn(G4int id, G4double value)
G4bool FillNtupleIColumn(G4int id, G4int value)
G4bool OpenFile(const G4String &fileName="")
G4int CreateNtupleSColumn(const G4String &name)
G4int CreateNtuple(const G4String &name, const G4String &title)