50 #include "G4StepPoint.hh" 107 std::vector<G4ThreeVector>*
110 std::vector<G4ThreeVector>*
v = 0;
117 v =
new std::vector<G4ThreeVector>;
118 G4ThreeVector prePos = step->GetPreStepPoint()->GetPosition();
119 G4ThreeVector deltaPos = step->GetPostStepPoint()->GetPosition() - prePos;
120 for(
G4int i=0; i<nion; ++i) {
124 G4cout <<
"### G4ElectronIonPair::SampleIonisationPoints: " 125 << v->size() <<
" ion pairs are added" <<
G4endl;
135 const G4TrackVector*,
140 if(2 == subType || 12 == subType || 13 == subType) { nholes = 1; }
158 G4cout <<
"### G4ElectronIonPair::FindG4MeanEnergyPerIonPair for " 159 << name <<
" Epair= " << res/
eV <<
" eV is set" 175 G4cout <<
"### G4ElectronIonPair: mean energy per ion pair avalable:" 177 for(
G4int i=0; i<nmat; ++i) {
193 G4cout <<
"### G4ElectronIonPair: mean energy per ion pair " 194 <<
" for Geant4 materials" <<
G4endl;
G4int ResidualeChargePostStep(const G4ParticleDefinition *, const G4TrackVector *secondary=0, G4int processSubType=-1) const
G4IonisParamMat * GetIonisation() const
G4double MeanNumberOfIonsAlongStep(const G4ParticleDefinition *, const G4Material *, G4double edepTotal, G4double edepNIEL=0.0)
virtual ~G4ElectronIonPair()
const G4Material * curMaterial
G4double FindG4MeanEnergyPerIonPair(const G4Material *) const
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
G4ElectronIonPair(G4int verb)
std::vector< G4double > g4MatData
G4GLOB_DLL std::ostream G4cout
G4int SampleNumberOfIonsAlongStep(const G4Step *)
std::vector< G4String > g4MatNames
static size_t GetNumberOfMaterials()
void DumpMeanEnergyPerIonPair() const
std::vector< G4ThreeVector > * SampleIonsAlongStep(const G4Step *)
const G4String & GetName() const
G4double GetMeanEnergyPerIonPair() const
void DumpG4MeanEnergyPerIonPair() const
G4double GetPDGCharge() const
void SetMeanEnergyPerIonPair(G4double value)