160 vector<G4ThreeVector> theProductDisplacementVector(nbProducts);
162 typedef map<const G4MoleculeDefinition*, G4double> RMSmap;
187 for(
int i = 0; i < nbProducts; i++)
193 if(theRMSDisplacement==0)
200 theProductDisplacementVector[i] = RandDirection;
212 for(
G4int i =0; i < nbProducts; i++)
218 theProductDisplacementVector[i] = -1./18.*RandDirection;
222 theProductDisplacementVector[i] = +17./18.*RandDirection;
235 for(
G4int i =0; i < nbProducts; i++)
240 theProductDisplacementVector[i] = -2./18.*RandDirection;
247 auto OHDisplacement =
252 OHDisplacement = 1./2.*OHDisplacement;
256 OHDisplacement = -1./2.*OHDisplacement;
259 theProductDisplacementVector[i] =
260 OHDisplacement + OxygenDisplacement;
287 for(
G4int i =0; i < nbProducts; i++)
290 auto theRMSDisplacement = theRMSmap[product->
GetDefinition()];
292 if(theRMSDisplacement==0)
300 theProductDisplacementVector[i] = RandDirection;
317 for(
G4int i =0; i < nbProducts; i++)
322 theProductDisplacementVector[i] = -2./18.*RandDirection;
329 auto OHDisplacement =
334 OHDisplacement = 1./2.*OHDisplacement;
338 OHDisplacement = -1./2.*OHDisplacement;
341 theProductDisplacementVector[i] = OHDisplacement + OxygenDisplacement;
348 return theProductDisplacementVector;
DisplacementType GetDisplacementType() const
static G4DLLIMPORT const DisplacementType AutoIonisation
static G4DLLIMPORT const DisplacementType B1A1_DissociationDecay
static G4Electron_aq * Definition()
static G4DLLIMPORT const DisplacementType A1B1_DissociationDecay
CLHEP::Hep3Vector G4ThreeVector
static G4DLLIMPORT const DisplacementType Ionisation_DissociationDecay
static const double nanometer
const G4MoleculeDefinition * GetDefinition() const
G4MolecularConfiguration * GetProduct(int) const
static G4DLLIMPORT const DisplacementType DissociativeAttachment
G4GLOB_DLL std::ostream G4cout
static G4H3O * Definition()
static G4OH * Definition()
G4ThreeVector radialDistributionOfElectron() const
G4int GetNbProducts() const
G4ThreeVector radialDistributionOfProducts(G4double r_rms) const
static G4H2 * Definition()
static G4Hydrogen * Definition()