#include <G4DNADamages.hh>
Inheritance diagram for G4DNAIndirectHit:
Public Member Functions | |
G4DNAIndirectHit (const G4String &baseName, const G4Molecule *molecule, const G4ThreeVector &position, G4double time) | |
virtual | ~G4DNAIndirectHit () |
const G4Molecule * | GetMolecule () |
const G4ThreeVector & | GetPosition () |
const G4String & | GetBaseName () |
double | GetTime () |
void | Print () |
Protected Attributes | |
const G4Molecule * | fpMolecule |
G4ThreeVector | fPosition |
G4double | fTime |
G4String | fBaseName |
Definition at line 40 of file G4DNADamages.hh.
G4DNAIndirectHit::G4DNAIndirectHit | ( | const G4String & | baseName, | |
const G4Molecule * | molecule, | |||
const G4ThreeVector & | position, | |||
G4double | time | |||
) |
G4DNAIndirectHit::~G4DNAIndirectHit | ( | ) | [virtual] |
Definition at line 45 of file G4DNADamages.cc.
References fpMolecule.
00046 { 00047 if(fpMolecule) delete fpMolecule; 00048 fpMolecule = 0; 00049 }
const G4String& G4DNAIndirectHit::GetBaseName | ( | ) | [inline] |
const G4Molecule* G4DNAIndirectHit::GetMolecule | ( | ) | [inline] |
const G4ThreeVector& G4DNAIndirectHit::GetPosition | ( | ) | [inline] |
double G4DNAIndirectHit::GetTime | ( | ) | [inline] |
void G4DNAIndirectHit::Print | ( | ) |
Definition at line 51 of file G4DNADamages.cc.
References fBaseName, fpMolecule, fPosition, fTime, G4BestUnit, G4cout, G4endl, and G4Molecule::GetName().
00052 { 00053 G4cout << "Reaction : " << fpMolecule->GetName() << " + " << fBaseName 00054 << " at position : " << G4BestUnit(fPosition,"Length") 00055 << " and time : " << G4BestUnit(fTime,"Time") << G4endl; 00056 }
G4String G4DNAIndirectHit::fBaseName [protected] |
Definition at line 58 of file G4DNADamages.hh.
Referenced by G4DNAIndirectHit(), GetBaseName(), and Print().
const G4Molecule* G4DNAIndirectHit::fpMolecule [protected] |
Definition at line 55 of file G4DNADamages.hh.
Referenced by GetMolecule(), Print(), and ~G4DNAIndirectHit().
G4ThreeVector G4DNAIndirectHit::fPosition [protected] |
Definition at line 56 of file G4DNADamages.hh.
Referenced by G4DNAIndirectHit(), GetPosition(), and Print().
G4double G4DNAIndirectHit::fTime [protected] |
Definition at line 57 of file G4DNADamages.hh.
Referenced by G4DNAIndirectHit(), GetTime(), and Print().