Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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

G4FFG_LOCATION__ outputs the current location in the code

Definition at line 44 of file G4FFGVerboseMacros.hh.

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

G4FFG_SPACING__ indents the debug messages according to the debugging depth

Definition at line 50 of file G4FFGVerboseMacros.hh.

Variable Documentation

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.