Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JetScapeLogger.h File Reference
#include <iostream>
#include <sstream>
#include <cassert>
#include <mutex>
#include <memory>
#include "JetClass.h"
+ Include dependency graph for JetScapeLogger.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Jetscape::SafeOstream
 
struct  Jetscape::SafeOstream::GuardedImpl
 
struct  Jetscape::SafeOstream::impl
 
class  Jetscape::LogStreamer
 
class  Jetscape::LogStreamerThread
 
class  Jetscape::JetScapeLogger
 

Namespaces

namespace  Jetscape
 

Macros

#define RESET   "\033[0m"
 
#define BOLDBLACK   "\033[1m\033[30m" /* Bold Black */
 
#define BOLDRED   "\033[1m\033[31m" /* Bold Red */
 
#define BOLDGREEN   "\033[1m\033[32m" /* Bold Green */
 
#define BOLDYELLOW   "\033[1m\033[33m" /* Bold Yellow */
 
#define BOLDBLUE   "\033[1m\033[34m" /* Bold Blue */
 
#define BOLDMAGENTA   "\033[1m\033[35m" /* Bold Magenta */
 
#define BOLDCYAN   "\033[1m\033[36m" /* Bold Cyan */
 
#define BOLDWHITE   "\033[1m\033[37m" /* Bold White */
 
#define JSINFO   JetScapeLogger::Instance()->Info() << " "
 
#define INFO_NICE   JetScapeLogger::Instance()->InfoNice()
 
#define JSDEBUG
 
#define DEBUGTHREAD
 
#define REMARK
 
#define VERBOSE(l)
 
#define VERBOSESHOWER(l)
 
#define VERBOSEPARTON(l, p)
 
#define VERBOSEPVERTEX(l, v)
 
#define JSWARN   JetScapeLogger::Instance()->Warn() << __PRETTY_FUNCTION__ << " : "
 

Macro Definition Documentation

#define BOLDBLACK   "\033[1m\033[30m" /* Bold Black */

Definition at line 34 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 34 of file JetScapeLogger.h

#define BOLDBLUE   "\033[1m\033[34m" /* Bold Blue */

Definition at line 38 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 38 of file JetScapeLogger.h

#define BOLDCYAN   "\033[1m\033[36m" /* Bold Cyan */

Definition at line 40 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 40 of file JetScapeLogger.h

#define BOLDGREEN   "\033[1m\033[32m" /* Bold Green */

Definition at line 36 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 36 of file JetScapeLogger.h

#define BOLDMAGENTA   "\033[1m\033[35m" /* Bold Magenta */

Definition at line 39 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 39 of file JetScapeLogger.h

#define BOLDRED   "\033[1m\033[31m" /* Bold Red */

Definition at line 35 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 35 of file JetScapeLogger.h

#define BOLDWHITE   "\033[1m\033[37m" /* Bold White */

Definition at line 41 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 41 of file JetScapeLogger.h

#define BOLDYELLOW   "\033[1m\033[33m" /* Bold Yellow */

Definition at line 37 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 37 of file JetScapeLogger.h

#define DEBUGTHREAD
Value:
if (JetScapeLogger::Instance()->GetDebug()) \
JetScapeLogger::Instance()->DebugThread() << __PRETTY_FUNCTION__ << " : "

Definition at line 65 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 65 of file JetScapeLogger.h

#define INFO_NICE   JetScapeLogger::Instance()->InfoNice()

Definition at line 61 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 61 of file JetScapeLogger.h

Referenced by main(), Show(), and Jetscape::ShowJetscapeBanner().

#define JSDEBUG
Value:
if (JetScapeLogger::Instance()->GetDebug()) \
JetScapeLogger::Instance()->Debug() << __PRETTY_FUNCTION__ << " : "

Definition at line 62 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 62 of file JetScapeLogger.h

Referenced by Jetscape::HadronizationManager::Clear(), Jetscape::HardProcess::Clear(), Jetscape::JetEnergyLossManager::Clear(), Jetscape::JetEnergyLossModule< AdSCFT >::Clone(), Matter::DoEnergyLoss(), AdSCFT::DoEnergyLoss(), LBT::DoEnergyLoss(), ColoredHadronization::DoHadronization(), ColorlessHadronization::DoHadronization(), HybridHadronization::DoHadronization(), Jetscape::HadronizationManager::Exec(), Jetscape::JetScape::Exec(), Jetscape::JetEnergyLossManager::Exec(), Jetscape::JetScapeTask::ExecuteTasks(), Jetscape::JetScape::Finish(), Jetscape::Afterburner::GetFragmentationHadrons(), Jetscape::JetScapeTaskSupport::GetMt19937Generator(), ColoredHadronization::Init(), ColorlessHadronization::Init(), HybridHadronization::Init(), AdSCFT::Init(), LBT::Init(), Jetscape::JetScapeTask::Init(), Martini::Init(), CLVisc::InitializeHydro(), HydroFromFile::InitializeHydro(), PGun::InitTask(), Brick::InitTask(), PythiaGun::InitTask(), epemGun::InitTask(), Martini::isCoherent(), Jetscape::JetScape::ReadGeneralParametersFromXML(), ThermalPartonSampler::sample_2p1d(), ThermalPartonSampler::sample_3p1d(), ThermalPartonSampler::samplebrick(), HybridHadronization::scale_kinematics_negative_hadrons(), Jetscape::FluidDynamics::UpdateEnergyDeposit(), Jetscape::JetScapeWriterStream< T >::WriteInitFileXMLMain(), Jetscape::JetScapeWriterStream< T >::WriteInitFileXMLUser(), Jetscape::JetEnergyLossManager::~JetEnergyLossManager(), and Jetscape::JetScapeTask::~JetScapeTask().

#define JSINFO   JetScapeLogger::Instance()->Info() << " "

Definition at line 59 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 59 of file JetScapeLogger.h

Referenced by AfterburnerModus::AfterburnerModus(), Jetscape::CausalLiquefier::CausalLiquefier(), Jetscape::JetScape::CheckForWriterFromXML(), HydroFromFile::clean_hydro_event(), NcollListFromFile::Clear(), IPGlasmaWrapper::Clear(), InitialFromFile::Clear(), LBT::collHQ23(), Jetscape::JetScape::DetermineTaskListFromXML(), ElossValidate::DoEnergyLoss(), Matter::DoEnergyLoss(), ColorlessHadronization::DoHadronization(), HybridHadronization::DoHadronization(), CLVisc::EvolveHydro(), MpiMusic::EvolveHydro(), FreestreamMilneWrapper::EvolvePreequilibrium(), NcollListFromFile::Exec(), iSpectraSamplerWrapper::Exec(), Jetscape::JetScape::Exec(), IPGlasmaWrapper::Exec(), InitialFromFile::Exec(), Jetscape::HardProcess::Exec(), Jetscape::TrentoInitial::Exec(), SmashWrapper::ExecuteTask(), Jetscape::SurfaceFinder::Find_full_hypersurface(), Jetscape::FluidDynamics::FindAConstantTemperatureSurface(), Jetscape::JetScape::Finish(), Jetscape::TrentoInitial::GenCenTab(), Matter::GeneralQhatFunction(), Jetscape::Afterburner::GetFragmentationHadrons(), ElossValidate::Init(), ColoredHadronization::Init(), Matter::Init(), ColorlessHadronization::Init(), Jetscape::PartonPrinter::Init(), Jetscape::Hadronization::Init(), HybridHadronization::Init(), Jetscape::SoftParticlization::Init(), Jetscape::HadronizationManager::Init(), Jetscape::Afterburner::Init(), Jetscape::JetScape::Init(), Jetscape::JetScapeWriterStream< T >::Init(), AdSCFT::Init(), Jetscape::InitialState::Init(), Jetscape::JetEnergyLossManager::Init(), Jetscape::JetScapeWriterFinalStateStream< T >::Init(), Jetscape::HardProcess::Init(), LBT::Init(), Jetscape::PreequilibriumDynamics::Init(), Jetscape::JetScapeWriterRootHepMC::Init(), Jetscape::JetScapeWriterHepMC::Init(), Jetscape::CausalLiquefier::Init(), Jetscape::JetEnergyLoss::Init(), Jetscape::FluidDynamics::Init(), Martini::Init(), CLVisc::InitializeHydro(), MpiMusic::InitializeHydro(), FreestreamMilneWrapper::InitializePreequilibrium(), PGun::InitTask(), iSpectraSamplerWrapper::InitTask(), PythiaGun::InitTask(), Jetscape::TrentoInitial::InitTask(), SmashWrapper::InitTask(), Jetscape::JetScapeXML::Instance(), Jetscape::JetScapeSignalManager::Instance(), Matter::ModifiedProbability(), Jetscape::JetScapeXML::OpenXMLMainFile(), Jetscape::JetScapeXML::OpenXMLUserFile(), MpiMusic::PassHydroEvolutionHistoryToFramework(), Jetscape::HadronPrinter::PrintFinalHadron(), Jetscape::FluidDynamics::PrintFluidCellInformation(), HydroFromFile::read_in_hydro_event(), InitialFromFile::ReadConfigs(), Martini::readElasticRateOmega(), Martini::readElasticRateQ(), InitialFromFile::ReadEntropyDist(), Jetscape::JetScape::ReadGeneralParametersFromXML(), InitialFromFile::ReadNbcDist(), NcollListFromFile::ReadNbcList(), IPGlasmaWrapper::ReadNbcList(), Martini::readRadiativeRate(), Jetscape::JetScapeTaskSupport::ReadSeedFromXML(), ThermalPartonSampler::sample_2p1d(), Jetscape::JetScape::SetModuleId(), Jetscape::JetScape::SetPointers(), Matter::solve_alphas(), epemGun::sud_z_QG_w_M(), Matter::sud_z_QG_w_M(), Jetscape::SurfaceFinder::SurfaceFinder(), Matter::VirtualityQhatFunction(), and SmashWrapper::WriteTask().

#define JSWARN   JetScapeLogger::Instance()->Warn() << __PRETTY_FUNCTION__ << " : "

Definition at line 85 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 85 of file JetScapeLogger.h

Referenced by epemGun::alpha_s(), Matter::alpha_s(), Martini::areaOmega(), Martini::areaQ(), Jetscape::CausalLiquefier::CausalLiquefier(), ThermalPartonSampler::CDFGenerator(), Jetscape::LiquefierBase::check_energy_momentum_conservation(), Jetscape::Parton::CheckAcceptability(), Jetscape::Hadron::CheckOrForceHadron(), LBT::DebyeMass2(), Martini::DetermineProcess(), Jetscape::JetScape::DetermineTaskListFromXML(), Matter::DoEnergyLoss(), AdSCFT::DoEnergyLoss(), LBT::DoEnergyLoss(), HybridHadronization::DoHadronization(), Matter::Dump_pIn_info(), HydroFromFile::EvolveHydro(), MpiMusic::EvolveHydro(), Glasma::EvolvePreequilibrium(), Jetscape::HadronizationManager::Exec(), PGun::Exec(), NcollListFromFile::Exec(), Jetscape::JetScape::Exec(), iSpectraSamplerWrapper::Exec(), IPGlasmaWrapper::Exec(), InitialFromFile::Exec(), Jetscape::JetEnergyLossManager::Exec(), PythiaGun::Exec(), Jetscape::JetEnergyLoss::Exec(), Matter::fillQhatTab(), Jetscape::Afterburner::GatherAfterburnerHadrons(), Jetscape::TrentoInitial::GenCenTab(), Jetscape::JetScapeXML::GetElement(), Martini::getEnergyTransfer(), Jetscape::EvolutionHistory::GetFluidCell(), Jetscape::Afterburner::GetFragmentationHadrons(), Brick::GetHydroInfo(), HydroFromFile::GetHydroInfo(), Martini::getMomentumTransfer(), Jetscape::JetScapeTaskSupport::GetMt19937Generator(), Martini::getNewMomentumRad(), Jetscape::Afterburner::GetSoftParticlizationHadrons(), Jetscape::JetScapeXML::GetXMLElementMaster(), ColoredHadronization::Init(), ColorlessHadronization::Init(), HybridHadronization::Init(), Jetscape::Hadronization::Init(), Jetscape::HadronizationManager::Init(), Jetscape::HardProcess::Init(), Jetscape::JetEnergyLossManager::Init(), Jetscape::PreequilibriumDynamics::Init(), Jetscape::JetScapeModuleBase::Init(), Jetscape::JetEnergyLoss::Init(), Jetscape::FluidDynamics::Init(), Martini::Init(), HydroFromFile::InitializeHydro(), MpiMusic::InitializeHydro(), PythiaGun::InitTask(), epemGun::InitTask(), Martini::isCoherent(), LambertW(), LBT::LBT0(), Jetscape::JetScapeXML::OpenXMLMainFile(), Jetscape::JetScapeXML::OpenXMLMasterFile(), Jetscape::JetScapeXML::OpenXMLUserFile(), Martini::readElasticRateOmega(), Martini::readElasticRateQ(), NcollListFromFile::ReadNbcList(), IPGlasmaWrapper::ReadNbcList(), Martini::readRadiativeRate(), Jetscape::JetScapeTaskSupport::ReadSeedFromXML(), HybridHadronization::recomb(), Jetscape::JetScape::recurseToSearch(), Jetscape::InitialState::SampleABinaryCollisionPoint(), ThermalPartonSampler::samplebrick(), HybridHadronization::set_spacetime_for_pythia_hadrons(), Jetscape::JetScape::SetNReuseHydro(), HybridHadronization::stringprep(), Matter::sudakov_Pqg(), Matter::sudakov_Pqg_w_M(), Matter::sudakov_Pqp(), Matter::sudakov_Pqq(), Matter::sudakov_Pqq_w_M_vac_only(), Jetscape::JetEnergyLossModule< AdSCFT >::TakeResponsibilityFor(), Jetscape::JetScapeWriterRootHepMC::Write(), Jetscape::JetScapeWriterHepMC::Write(), Jetscape::JetScapeWriterHepMC::WriteEvent(), and Jetscape::JetScapeWriterRootHepMC::WriteEvent().

#define REMARK
Value:
if (JetScapeLogger::Instance()->GetRemark()) \
JetScapeLogger::Instance()->Remark() << __PRETTY_FUNCTION__ << " : "

Definition at line 68 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 68 of file JetScapeLogger.h

Referenced by Jetscape::PartonShowerGenerator::DoShower(), and main().

#define RESET   "\033[0m"

Definition at line 33 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 33 of file JetScapeLogger.h

Referenced by Jetscape::LogStreamer::~LogStreamer(), and Jetscape::LogStreamerThread::~LogStreamerThread().

#define VERBOSE (   l)
Value:
if (l < JetScapeLogger::Instance()->GetVerboseLevel()) \
JetScapeLogger::Instance()->Verbose(l) << __PRETTY_FUNCTION__ << " : "

Definition at line 71 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 71 of file JetScapeLogger.h

#define VERBOSEPARTON (   l,
  p 
)
Value:
if (l < JetScapeLogger::Instance()->GetVerboseLevel()) \
JetScapeLogger::Instance()->VerboseParton(l, p) \
<< __PRETTY_FUNCTION__ << " : "

Definition at line 77 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 77 of file JetScapeLogger.h

Referenced by Jetscape::PartonShowerGenerator::DoShower(), and Jetscape::JetEnergyLoss::DoShower().

#define VERBOSEPVERTEX (   l,
  v 
)
Value:
if (l < JetScapeLogger::Instance()->GetVerboseLevel()) \
JetScapeLogger::Instance()->VerboseVertex(l, v) \
<< __PRETTY_FUNCTION__ << " : "

Definition at line 81 of file JetScapeLogger.h.

View newest version in sPHENIX GitHub at line 81 of file JetScapeLogger.h