Geant4 10.7.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 32 of file DumpFrame.hh.

Member Function Documentation

◆ DumpFrame()

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

Definition at line 35 of file DumpFrame.hh.

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

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