Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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 256 of file G4AblaDataDefs.hh.

Constructor & Destructor Documentation

◆ G4Volant()

G4Volant::G4Volant ( )
inline

Definition at line 259 of file G4AblaDataDefs.hh.

260 {
261 clear();
262 }
void clear()

◆ ~G4Volant()

G4Volant::~G4Volant ( )
inline

Definition at line 264 of file G4AblaDataDefs.hh.

264{};

Member Function Documentation

◆ clear()

void G4Volant::clear ( )
inline

Definition at line 266 of file G4AblaDataDefs.hh.

267 {
268 for(G4int i = 0; i < VOLANTSIZE; i++) {
269 copied[i] = false;
270 acv[i] = 0;
271 zpcv[i] = 0;
272 pcv[i] = 0;
273 xcv[i] = 0;
274 ycv[i] = 0;
275 zcv[i] = 0;
276 iv = 0;
277 }
278 }
#define VOLANTSIZE
int G4int
Definition: G4Types.hh:85
G4double xcv[VOLANTSIZE]
G4double pcv[VOLANTSIZE]
G4double zpcv[VOLANTSIZE]
G4bool copied[VOLANTSIZE]
G4double zcv[VOLANTSIZE]
G4double ycv[VOLANTSIZE]
G4double acv[VOLANTSIZE]

Referenced by G4Abla::DeexcitationAblaxx(), G4AblaInterface::DeExcite(), and G4Volant().

◆ dump()

void G4Volant::dump ( )
inline

Definition at line 289 of file G4AblaDataDefs.hh.

290 {
291/*
292 G4double totA = 0.0, totZ = 0.0, totP = 0.0;
293 // G4cout <<"i \t ACV \t ZPCV \t PCV" << G4endl;
294 for(G4int i = 0; i <= iv; i++) {
295 if(i == 0 && acv[i] != 0) {
296 // G4cout <<"G4Volant: Particle stored at index " << i << G4endl;
297 }
298 totA += acv[i];
299 totZ += zpcv[i];
300 totP += pcv[i];
301 // G4cout << "volant" << i << "\t" << acv[i] << " \t " << zpcv[i] << " \t " << pcv[i] << G4endl;
302 }
303 // G4cout <<"Particle count index (iv) = " << iv << G4endl;
304 // G4cout <<"ABLA Total: A = " << totA << " Z = " << totZ << " momentum = " << totP << G4endl;
305*/
306 }

◆ getTotalMass()

G4double G4Volant::getTotalMass ( )
inline

Definition at line 280 of file G4AblaDataDefs.hh.

281 {
282 G4double total = 0.0;
283 for(G4int i = 0; i <= iv; i++) {
284 total += acv[i];
285 }
286 return total;
287 }
double G4double
Definition: G4Types.hh:83
G4double total(Particle const *const p1, Particle const *const p2)

Member Data Documentation

◆ acv

G4double G4Volant::acv[VOLANTSIZE]

Definition at line 308 of file G4AblaDataDefs.hh.

Referenced by clear(), and getTotalMass().

◆ copied

G4bool G4Volant::copied[VOLANTSIZE]

Definition at line 310 of file G4AblaDataDefs.hh.

Referenced by clear().

◆ iv

G4int G4Volant::iv

Definition at line 311 of file G4AblaDataDefs.hh.

Referenced by clear(), G4Abla::DeexcitationAblaxx(), G4Abla::G4Abla(), and getTotalMass().

◆ pcv

G4double G4Volant::pcv[VOLANTSIZE]

Definition at line 308 of file G4AblaDataDefs.hh.

Referenced by clear().

◆ xcv

G4double G4Volant::xcv[VOLANTSIZE]

Definition at line 308 of file G4AblaDataDefs.hh.

Referenced by clear().

◆ ycv

G4double G4Volant::ycv[VOLANTSIZE]

Definition at line 309 of file G4AblaDataDefs.hh.

Referenced by clear().

◆ zcv

G4double G4Volant::zcv[VOLANTSIZE]

Definition at line 309 of file G4AblaDataDefs.hh.

Referenced by clear().

◆ zpcv

G4double G4Volant::zpcv[VOLANTSIZE]

Definition at line 308 of file G4AblaDataDefs.hh.

Referenced by clear().


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