Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Volant Class Reference

#include <G4AblaDataDefs.hh>

Public Member Functions

 G4Volant ()
 
 ~G4Volant ()
 
void clear ()
 
G4double getTotalMass ()
 
void dump ()
 

Public Attributes

G4double acv [VOLANTSIZE]
 
G4double zpcv [VOLANTSIZE]
 
G4double pcv [VOLANTSIZE]
 
G4double xcv [VOLANTSIZE]
 
G4double ycv [VOLANTSIZE]
 
G4double zcv [VOLANTSIZE]
 
G4bool copied [VOLANTSIZE]
 
G4int iv
 

Detailed Description

Evaporation and fission output data.

Definition at line 223 of file G4AblaDataDefs.hh.

Constructor & Destructor Documentation

G4Volant::G4Volant ( )
inline

Definition at line 226 of file G4AblaDataDefs.hh.

227  {
228  clear();
229  }
void clear()

Here is the call graph for this function:

G4Volant::~G4Volant ( )
inline

Definition at line 231 of file G4AblaDataDefs.hh.

231 {};

Member Function Documentation

void G4Volant::clear ( void  )
inline

Definition at line 233 of file G4AblaDataDefs.hh.

234  {
235  for(G4int i = 0; i < VOLANTSIZE; i++) {
236  copied[i] = false;
237  acv[i] = 0;
238  zpcv[i] = 0;
239  pcv[i] = 0;
240  xcv[i] = 0;
241  ycv[i] = 0;
242  zcv[i] = 0;
243  iv = 0;
244  }
245  }
G4double ycv[VOLANTSIZE]
G4bool copied[VOLANTSIZE]
int G4int
Definition: G4Types.hh:78
G4double xcv[VOLANTSIZE]
#define VOLANTSIZE
G4double zpcv[VOLANTSIZE]
G4double pcv[VOLANTSIZE]
G4double acv[VOLANTSIZE]
G4double zcv[VOLANTSIZE]

Here is the caller graph for this function:

void G4Volant::dump ( )
inline

Definition at line 256 of file G4AblaDataDefs.hh.

257  {
258  G4double totA = 0.0, totZ = 0.0, totP = 0.0;
259  // G4cout <<"i \t ACV \t ZPCV \t PCV" << G4endl;
260  for(G4int i = 0; i <= iv; i++) {
261  if(i == 0 && acv[i] != 0) {
262  // G4cout <<"G4Volant: Particle stored at index " << i << G4endl;
263  }
264  totA += acv[i];
265  totZ += zpcv[i];
266  totP += pcv[i];
267  // G4cout << "volant" << i << "\t" << acv[i] << " \t " << zpcv[i] << " \t " << pcv[i] << G4endl;
268  }
269  // G4cout <<"Particle count index (iv) = " << iv << G4endl;
270  // G4cout <<"ABLA Total: A = " << totA << " Z = " << totZ << " momentum = " << totP << G4endl;
271  }
int G4int
Definition: G4Types.hh:78
G4double zpcv[VOLANTSIZE]
G4double pcv[VOLANTSIZE]
G4double acv[VOLANTSIZE]
double G4double
Definition: G4Types.hh:76

Here is the caller graph for this function:

G4double G4Volant::getTotalMass ( )
inline

Definition at line 247 of file G4AblaDataDefs.hh.

248  {
249  G4double total = 0.0;
250  for(G4int i = 0; i <= iv; i++) {
251  total += acv[i];
252  }
253  return total;
254  }
int G4int
Definition: G4Types.hh:78
G4double acv[VOLANTSIZE]
G4double total(Particle const *const p1, Particle const *const p2)
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

G4double G4Volant::acv[VOLANTSIZE]

Definition at line 273 of file G4AblaDataDefs.hh.

G4bool G4Volant::copied[VOLANTSIZE]

Definition at line 275 of file G4AblaDataDefs.hh.

G4int G4Volant::iv

Definition at line 276 of file G4AblaDataDefs.hh.

G4double G4Volant::pcv[VOLANTSIZE]

Definition at line 273 of file G4AblaDataDefs.hh.

G4double G4Volant::xcv[VOLANTSIZE]

Definition at line 273 of file G4AblaDataDefs.hh.

G4double G4Volant::ycv[VOLANTSIZE]

Definition at line 274 of file G4AblaDataDefs.hh.

G4double G4Volant::zcv[VOLANTSIZE]

Definition at line 274 of file G4AblaDataDefs.hh.

G4double G4Volant::zpcv[VOLANTSIZE]

Definition at line 273 of file G4AblaDataDefs.hh.


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