Geant4  10.00.p03
G4INCLLogger.hh File Reference
#include "globals.hh"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <cstdlib>
#include "G4ios.hh"
+ Include dependency graph for G4INCLLogger.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 G4INCL
 
 G4INCL::Logger
 

Macros

#define INCLXX_IN_GEANT4_MODE   1
 
#define G4INCLLogger_hh   1
 
#define INCL_FATAL(x)
 
#define INCL_ERROR(x)
 
#define INCL_WARN(x)
 
#define INCL_INFO(x)   ;
 
#define INCL_DEBUG(x)
 
#define INCL_DATABLOCK(x)   ;
 

Enumerations

enum  G4INCL::MessageType {
  G4INCL::InfoMsg = 1, G4INCL::FatalMsg = 2, G4INCL::ErrorMsg = 3, G4INCL::WarningMsg = 4,
  G4INCL::DebugMsg = 7, G4INCL::DataBlockMsg = 10, G4INCL::ZeroMsg = 0
}
 Verbosity scale from 0 (fatal errors only) to 10 (print everything) More...
 

Functions

void G4INCL::Logger::initVerbosityLevelFromEnvvar ()
 
G4int G4INCL::Logger::getVerbosityLevel ()
 

Macro Definition Documentation

#define G4INCLLogger_hh   1

Definition at line 38 of file G4INCLLogger.hh.

#define INCL_DATABLOCK (   x)    ;

Definition at line 231 of file G4INCLLogger.hh.

Referenced by G4INCL::Nucleus::computeOneNucleonRecoilKinematics().

#define INCL_DEBUG (   x)
Value:
std::string fileName_(__FILE__);\
std::stringstream ss_;\
ss_ << "INCL++ debug [" << fileName_.substr(fileName_.find_last_of("/")+1) << ":" << __LINE__ << "] " << x;\
G4cout << ss_.str() << std::endl;\
} else (void)0
G4GLOB_DLL std::ostream G4cout
G4int getVerbosityLevel()

Definition at line 224 of file G4INCLLogger.hh.

Referenced by G4INCL::ProjectileRemnant::addAllDynamicalSpectators(), G4INCL::CascadeAction::afterAvatarDefaultAction(), G4INCL::Nucleus::applyFinalState(), G4INCL::CascadeAction::beforeAvatarDefaultAction(), G4INCL::Cluster::boost(), G4INCL::InteractionAvatar::bringParticleInside(), G4INCL::Nucleus::computeOneNucleonRecoilKinematics(), G4INCL::INCL::continueCascade(), G4INCL::NuclearDensityFactory::createPCDFTable(), G4INCL::NuclearDensityFactory::createRCDFTable(), G4INCL::NuclearDensityFactory::createRPCorrelationTable(), G4INCL::Nucleus::decayInsideDeltas(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::Nucleus::emitInsidePions(), G4INCL::InteractionAvatar::enforceEnergyConservation(), G4INCL::DecayAvatar::getChannel(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::SurfaceAvatar::getChannel(), G4INCL::CoulombNonRelativistic::getCoulombRadius(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::IAvatar::getFinalState(), G4INCL::ParticleTable::getNuclearRadius(), G4INCL::ParticleTable::getRadiusParameter(), G4INCL::SurfaceAvatar::getTransmissionProbability(), G4INCL::NuclearPotential::NuclearPotentialIsospin::initialize(), G4INCL::NuclearPotential::NuclearPotentialConstant::initialize(), G4INCL::Cluster::initializeParticles(), G4INCL::SurfaceAvatar::initializeRefractionVariables(), G4INCL::INCL::initMaxInteractionDistance(), G4INCL::INCL::initUniverseRadius(), G4INCL::Cluster::internalBoostToCM(), G4INCL::INCL::makeCompoundNucleus(), G4INCL::CoulombNonRelativistic::minimumDistance(), G4INCL::NuclearDensity::NuclearDensity(), G4INCL::ParticleEntryChannel::particleEnters(), G4INCL::PauliStandard::PauliStandard(), G4INCL::INCL::postCascade(), G4INCL::DecayAvatar::postInteraction(), G4INCL::InteractionAvatar::postInteraction(), G4INCL::INCL::preCascade(), G4INCL::INCL::prepareReaction(), G4INCL::Cluster::putParticlesOffShell(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::ProjectileRemnant::reset(), G4INCL::StandardPropagationModel::shootComposite(), G4INCL::StandardPropagationModel::shootParticle(), and G4INCL::RootFinder::solve().

#define INCL_ERROR (   x)
Value:
std::string fileName_(__FILE__);\
std::stringstream ss_;\
ss_ << "INCL++ error [" << fileName_.substr(fileName_.find_last_of("/")+1) << ":" << __LINE__ << "] " << x;\
G4cout << ss_.str() << std::endl;\
} else (void)0
G4GLOB_DLL std::ostream G4cout
G4int getVerbosityLevel()

Definition at line 209 of file G4INCLLogger.hh.

Referenced by G4INCL::Particle::adjustMomentumFromEnergy(), G4INCL::Nucleus::applyFinalState(), G4INCL::Nucleus::computeOneNucleonRecoilKinematics(), G4INCL::NuclearPotential::NuclearPotentialIsospin::computePotentialEnergy(), G4INCL::NuclearPotential::NuclearPotentialConstant::computePotentialEnergy(), G4INCL::NuclearDensityFactory::createPCDFTable(), G4INCL::NuclearDensityFactory::createRCDFTable(), G4INCL::NuclearDensityFactory::createRPCorrelationTable(), G4INCL::CoulombNonRelativistic::getCoulombRadius(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::RecombinationChannel::getFinalState(), G4INCL::ParticleTable::getINCLMass(), G4INCL::Particle::getINCLMass(), G4INCL::Particle::getInvariantMass(), G4INCL::ParticleTable::getIsospin(), G4INCL::ParticleTable::getMaximumNuclearRadius(), G4INCL::ParticleTable::getNuclearRadius(), G4INCL::ParticleTable::getRadiusParameter(), G4INCL::ParticleTable::getRealMass(), G4INCL::Particle::getRealMass(), G4INCL::StandardPropagationModel::getReflectionTime(), G4INCL::ParticleTable::getSeparationEnergyINCL(), G4INCL::ParticleTable::getSeparationEnergyReal(), G4INCL::ProjectileRemnant::getStoredMomentum(), G4INCL::ParticleTable::getSurfaceDiffuseness(), G4INCL::Particle::getTableMass(), G4INCL::KinematicsUtils::momentumInCM(), G4INCL::KinematicsUtils::momentumInLab(), G4INCL::Particle::Particle(), G4INCL::CrossSectionsINCL46::pionNucleon(), G4INCL::BinaryCollisionAvatar::postInteraction(), G4INCL::InteractionAvatar::postInteraction(), G4INCL::INCL::prepareReaction(), G4INCL::StandardPropagationModel::propagate(), G4INCL::Random::setGenerator(), G4INCL::Particle::setType(), and G4INCL::KinematicsUtils::squareTotalEnergyInCM().

#define INCL_FATAL (   x)
Value:
if(true) {\
std::stringstream ss_;\
ss_ << x;\
std::stringstream location_;\
std::string fileName_(__FILE__);\
location_ << fileName_.substr(fileName_.find_last_of("/")+1) << ":" << __LINE__;\
G4Exception(location_.str().c_str(), "INCLXX0000", FatalException, ss_.str().c_str());\
} else (void)0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41

Definition at line 200 of file G4INCLLogger.hh.

Referenced by G4INCL::NuclearPotential::createPotential(), G4INCL::DeltaDecayChannel::getFinalState(), G4INCL::NaturalIsotopicDistributions::getIsotopicDistribution(), G4INCL::ParticleTable::initialize(), and G4INCL::Store::loadParticles().

#define INCL_INFO (   x)    ;

Definition at line 223 of file G4INCLLogger.hh.

Referenced by G4INCL::INCL::INCL().

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 33 of file G4INCLLogger.hh.