ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4INCLLogger.hh File Reference
#include "globals.hh"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <cstdlib>
#include "G4ios.hh"
#include "G4INCLRandom.hh"
#include "G4INCLConfig.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

namespace  G4INCL
 
namespace  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
}
 

Functions

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

Macro Definition Documentation

#define G4INCLLogger_hh   1

Definition at line 39 of file G4INCLLogger.hh.

View newest version in sPHENIX GitHub at line 39 of file G4INCLLogger.hh

#define INCL_DATABLOCK (   x)    ;

Definition at line 247 of file G4INCLLogger.hh.

View newest version in sPHENIX GitHub at line 247 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() << '\n';\
} else (void)0

Definition at line 240 of file G4INCLLogger.hh.

View newest version in sPHENIX GitHub at line 240 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::decayInsideStrangeParticles(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::Nucleus::decayOutgoingNeutralKaon(), G4INCL::Nucleus::decayOutgoingPionResonances(), G4INCL::Nucleus::decayOutgoingSigmaZero(), G4INCL::Nucleus::emitInsideKaon(), G4INCL::Nucleus::emitInsideLambda(), G4INCL::Nucleus::emitInsidePions(), G4INCL::Nucleus::emitInsideStrangeParticles(), G4INCL::InteractionAvatar::enforceEnergyConservation(), G4INCL::NNToNSKpiChannel::fillFinalState(), G4INCL::NpiToLK2piChannel::fillFinalState(), G4INCL::NpiToLKpiChannel::fillFinalState(), G4INCL::NpiToNKKbChannel::fillFinalState(), G4INCL::NpiToSK2piChannel::fillFinalState(), G4INCL::NpiToSKpiChannel::fillFinalState(), G4INCL::ReflectionChannel::fillFinalState(), G4INCL::ParticleEntryChannel::fillFinalState(), G4INCL::IAvatar::fillFinalState(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::DecayAvatar::getChannel(), G4INCL::SurfaceAvatar::getChannel(), G4INCL::CoulombNonRelativistic::getCoulombRadius(), G4INCL::ParticleTable::getNuclearRadius(), G4INCL::ParticleTable::getRadiusParameter(), G4INCL::SurfaceAvatar::getTransmissionProbability(), G4INCL::HFB::initialize(), 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::EventInfo::remnantToParticle(), G4INCL::ProjectileRemnant::removeParticle(), G4INCL::ProjectileRemnant::reset(), G4INCL::StandardPropagationModel::shootComposite(), G4INCL::StandardPropagationModel::shootParticle(), G4INCL::RootFinder::solve(), and G4INCL::IAvatar::~IAvatar().

#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() << '\n';\
} else (void)0

Definition at line 225 of file G4INCLLogger.hh.

View newest version in sPHENIX GitHub at line 225 of file G4INCLLogger.hh

Referenced by G4INCL::Particle::adjustMomentumFromEnergy(), G4INCL::Nucleus::applyFinalState(), G4INCL::NuclearPotential::NuclearPotentialIsospin::computePotentialEnergy(), G4INCL::NuclearPotential::NuclearPotentialConstant::computePotentialEnergy(), G4INCL::NuclearDensityFactory::createPCDFTable(), G4INCL::NuclearDensityFactory::createRCDFTable(), G4INCL::NuclearDensityFactory::createRPCorrelationTable(), G4INCL::Nucleus::decayOutgoingPionResonances(), G4INCL::Nucleus::decayOutgoingSigmaZero(), G4INCL::NNToMissingStrangenessChannel::fillFinalState(), G4INCL::NpiToLKChannel::fillFinalState(), G4INCL::PiNToDeltaChannel::fillFinalState(), G4INCL::NpiToMissingStrangenessChannel::fillFinalState(), G4INCL::StrangeAbsorbtionChannel::fillFinalState(), G4INCL::RecombinationChannel::fillFinalState(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::CoulombNonRelativistic::getCoulombRadius(), G4INCL::ParticleTable::getINCLMass(), G4INCL::Particle::getINCLMass(), G4INCL::Particle::getInvariantMass(), G4INCL::ParticleTable::getIsospin(), G4INCL::ParticleTable::getMaximumNuclearRadius(), G4INCL::ParticleTable::getNuclearRadius(), G4INCL::ParticleSpecies::getPDGCode(), 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::ParticleTable::getWidth(), G4INCL::KinematicsUtils::momentumInCM(), G4INCL::KinematicsUtils::momentumInLab(), G4INCL::Particle::Particle(), G4INCL::CrossSectionsINCL46::piNToDelta(), G4INCL::CrossSectionsMultiPions::piNTot(), G4INCL::INCL::postCascade(), 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", EventMustBeAborted, ss_.str().c_str());\
} else (void)0

Definition at line 216 of file G4INCLLogger.hh.

View newest version in sPHENIX GitHub at line 216 of file G4INCLLogger.hh

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

#define INCL_INFO (   x)    ;

Definition at line 239 of file G4INCLLogger.hh.

View newest version in sPHENIX GitHub at line 239 of file G4INCLLogger.hh

#define INCL_WARN (   x)
Value:
std::string fileName_(__FILE__);\
std::stringstream ss_;\
ss_ << "INCL++ warning [" << fileName_.substr(fileName_.find_last_of("/")+1) << ":" << __LINE__ << "] " << x;\
G4cout << ss_.str() << '\n';\
} else (void)0

Definition at line 232 of file G4INCLLogger.hh.

View newest version in sPHENIX GitHub at line 232 of file G4INCLLogger.hh

Referenced by G4INCL::ProjectileRemnant::addAllDynamicalSpectators(), G4INCL::Store::clear(), G4INCL::PhaseSpaceRauboldLynch::computeMaximumWeightParam(), G4INCL::Nucleus::decayInsideDeltas(), G4INCL::Nucleus::decayInsideStrangeParticles(), G4INCL::Store::disconnectAvatarFromParticle(), G4INCL::Nucleus::emitInsidePions(), G4INCL::Nucleus::fillEventInfo(), G4INCL::EventInfo::fillInverseKinematics(), G4INCL::PhaseSpaceRauboldLynch::generate(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::ParticleTable::getElementName(), G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::Particle::getParticles(), G4INCL::Geant4RandomGenerator::getSeeds(), G4INCL::CrossSections::initialize(), G4INCL::NKbToSpiChannel::KaonMomentum(), G4INCL::Particle::Particle(), G4INCL::ParticleEntryChannel::particleEnters(), G4INCL::INCL::postCascade(), G4INCL::INCL::processEvent(), G4INCL::Nucleus::propagateParticles(), G4INCL::INCL::rescaleOutgoingForRecoil(), G4INCL::NDeltaToDeltaLKChannel::sampleDeltaMass(), G4INCL::NDeltaToDeltaSKChannel::sampleDeltaMass(), G4INCL::DeltaProductionChannel::sampleDeltaMass(), G4INCL::NDeltaOmegaProductionChannel::sampleDeltaMass(), G4INCL::NDeltaEtaProductionChannel::sampleDeltaMass(), and G4INCL::Geant4RandomGenerator::setSeeds().

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 34 of file G4INCLLogger.hh.

View newest version in sPHENIX GitHub at line 34 of file G4INCLLogger.hh