Geant4  10.02.p03
G4FFGVerboseMacros.hh File Reference
#include "globals.hh"
Include dependency graph for G4FFGVerboseMacros.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define G4FFG_LOCATION__
 
#define G4FFG_SPACING__
 

Variables

G4long G4FFG_DEPTH
 

Macro Definition Documentation

◆ G4FFG_LOCATION__

#define G4FFG_LOCATION__
Value:
G4String debugOutput(__FILE__); \
debugOutput = debugOutput.substr(debugOutput.find_last_of('/') + 1); \
G4cout << G4FFG_FUNCTION_SIGNATURE__ << " at " << debugOutput << ":" << __LINE__;
#define G4FFG_FUNCTION_SIGNATURE__

G4FFG_LOCATION__ outputs the current location in the code

Definition at line 44 of file G4FFGVerboseMacros.hh.

◆ G4FFG_SPACING__

#define G4FFG_SPACING__
Value:
for(G4int depth = 0; depth < G4FFG_DEPTH; depth++) \
{ \
G4cout << " "; \
}
G4long G4FFG_DEPTH
int G4int
Definition: G4Types.hh:78

G4FFG_SPACING__ indents the debug messages according to the debugging depth

Definition at line 50 of file G4FFGVerboseMacros.hh.

Variable Documentation

◆ G4FFG_DEPTH

G4long G4FFG_DEPTH

G4FFG_DEPTH is used to track the depth of the function calls in the fission fragment generator code.

Definition at line 35 of file G4FFGVerboseMacros.cc.