Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FFGVerboseMacros.hh File Reference
#include "globals.hh"

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__
G4GLOB_DLL std::ostream G4cout

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:85

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
extern

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.