Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DumpFrames Class Reference

#include <DumpFrame.hh>

Static Public Member Functions

static void DumpFrame (G4FastVector< G4ReactionProduct, 128 > &vec, G4int vecLen)
 

Detailed Description

Definition at line 29 of file DumpFrame.hh.

Member Function Documentation

◆ DumpFrame()

static void DumpFrames::DumpFrame ( G4FastVector< G4ReactionProduct, 128 > &  vec,
G4int  vecLen 
)
inlinestatic

Definition at line 32 of file DumpFrame.hh.

33{
34// cout << vecLen<<G4endl;
35// for(G4int i=0; i<vecLen; i++)
36// {
37// cout << vec[i]->GetDefinition()->GetPDGEncoding()<<" ";
38// cout << vec[i]->GetPositionInNucleus()<<" ";
39// G4double x,y,z;
40// do
41// {
42// x = G4UniformRand()*10-5;
43// y = G4UniformRand()*10-5;
44// z = G4UniformRand()*10-5;
45// }
46// while(std::sqrt(x*x+y*y+z*z)>5);
47// cout << x<<" "<<y<<" "<<z;
48// cout << vec[i]->GetMomentum()<<" ";
49// cout << vec[i]->GetTotalEnergy();
50// cout << G4endl;
51// }
52}

The documentation for this class was generated from the following file: