EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include "Rtypes.h"
#include <ostream>
#include <fstream>
#include <iomanip>
Go to the source code of this file.
Classes | |
class | FairLogger |
Macros | |
#define | IMP_CONVERTTOSTRING(s) # s |
#define | CONVERTTOSTRING(s) IMP_CONVERTTOSTRING(s) |
#define | MESSAGE_ORIGIN __FILE__, CONVERTTOSTRING(__LINE__), __FUNCTION__ |
#define | FAIRLOG(level) !(gLogger->IsLogNeeded(level)) ? gLogger->GetNullStream(level) : gLogger->GetOutputStream(level, MESSAGE_ORIGIN) |
#define | FAIRLOG_IF(level, condition) !(condition) ? gLogger->GetNullStream(level) : LOG(level) |
Enumerations | |
enum | FairLogLevel { FATAL, ERROR, WARNING, INFO, DEBUG, DEBUG1, DEBUG2, DEBUG3, DEBUG4 } |
enum | FairLogColor { Fair_Color_Normal = 0, Fair_Color_ForegroundBlack = 0x1, Fair_Color_ForegroundRed = 0x2, Fair_Color_ForegroundGreen = 0x3, Fair_Color_ForegroundYellow = 0x4, Fair_Color_ForegroundBlue = 0x5, Fair_Color_ForegroundMagenta = 0x6, Fair_Color_ForegroundCyan = 0x7, Fair_Color_ForegroundWhite = 0x8, Fair_Color_ForegroundMask = 0xF } |
enum | FairLogVerbosityLevel { verbosityHIGH, verbosityMEDIUM, verbosityLOW } |
Variables | |
static const char *const | LogLevelString [] |
static const char *const | LogLevelColor [] |
static const char *const | LogVerbosityString [] = { "HIGH", "MEDIUM", "LOW" } |
FairLogger * | gLogger |
#define CONVERTTOSTRING | ( | s | ) | IMP_CONVERTTOSTRING(s) |
Definition at line 13 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 13 of file FairLogger.h
#define FAIRLOG | ( | level | ) | !(gLogger->IsLogNeeded(level)) ? gLogger->GetNullStream(level) : gLogger->GetOutputStream(level, MESSAGE_ORIGIN) |
Definition at line 16 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 16 of file FairLogger.h
Referenced by FairLogger::ConvertToLogLevel(), and FairLogger::ConvertToLogVerbosityLevel().
#define FAIRLOG_IF | ( | level, | |
condition | |||
) | !(condition) ? gLogger->GetNullStream(level) : LOG(level) |
Definition at line 19 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 19 of file FairLogger.h
Definition at line 12 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 12 of file FairLogger.h
#define MESSAGE_ORIGIN __FILE__, CONVERTTOSTRING(__LINE__), __FUNCTION__ |
Definition at line 14 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 14 of file FairLogger.h
Referenced by EicStlFactory::_ConstructGeometry(), FairRootManager::ActivateBranch(), FairRootManager::ActivateBranchInInTree(), FairRootManager::AddBackgroundFile(), FairRunAna::AddBackgroundFile(), EicMagneticFieldFromGradients::AddBeamLineElementGrads(), EicMagneticField::AddBeamLineElementGrads(), EicMagneticField::AddBeamLineElementMaps(), FairRuntimeDb::addContFactory(), FairRootManager::AddFile(), FairRunAna::AddFriend(), FairRootManager::AddFriendsToChain(), FairMCApplication::AddIons(), FairModule::AddSensitiveVolume(), FairRunAna::AddSignalFile(), EicTrackingDigiHitProducer::AssignDigiHitClassName(), FairModule::AssignMediumAtImport(), FairRootManager::BGWindowWidthNo(), FairRootManager::BGWindowWidthTime(), FairRunSim::CheckFlukaExec(), FairRootManager::CheckFriendChains(), FairModule::CheckIfSensitive(), FairRootManager::CheckMaxEventNo(), FairModule::ConstructASCIIGeometry(), CbmModule::ConstructGDMLGeometry(), EicFieldGradDetector::ConstructGeometry(), EicFieldMapDetector::ConstructGeometry(), FairModule::ConstructGeometry(), EicCadFile::ConstructGeometry(), EicDetector::ConstructGeometry(), FairModule::ConstructOpGeometry(), FairModule::ConstructRootGeometry(), EicStlFactory::DumpTmpStlFile(), EicMagneticField::EicMagneticField(), EicMagneticFieldFromGradients::EicMagneticFieldFromGradients(), EicMagneticFieldGrad::EicMagneticFieldGrad(), EicMagneticFieldMap::EicMagneticFieldMap(), EicStlFactory::EicStlFactory(), EicHtcTask::Exec(), FairModule::ExpandNode(), FairIon::FairIon(), FairParamList::fill(), FairParamList::fillObject(), PndStack::FillTrackArray(), FairRootManager::ForceFill(), FairPrimaryGenerator::GenerateEvent(), PndStack::GetCurrentTrack(), FairRootManager::GetEmptyTClonesArray(), FairRootManager::GetEventTime(), FairRootManager::GetGeoParameter(), FairRootManager::GetObject(), FairRootManager::GetObjectFromInTree(), PndStack::GetParticle(), FairRootManager::GetSignalChainNo(), FairRootManager::GetTClonesArray(), EicRunDigi::ImportRealHits(), FairParSet::init(), FairRunAna::Init(), PndFieldMap::Init(), EicMediaHub::Init(), FairRunSim::Init(), FairMCApplication::InitGeometry(), EicMagneticFieldMap::Initialize(), EicMagneticFieldFromGradients::InitializeFieldGradients(), EicMagneticField::InitializeFieldMaps(), FairMCApplication::InitMC(), FairTask::InitTask(), FairMCApplication::InitTasks(), FairRootManager::OpenInChain(), FairRootManager::OpenInTree(), FairRootManager::OpenOutFile(), FairRootManager::OpenSignalChain(), PndFieldMap::PndFieldMap(), PndStack::PopPrimaryForTracking(), FairTrackPar::Print(), PndStack::Print(), FairRootManager::PrintFriendList(), FairRunInfo::PrintInfo(), EicDetector::ProcessHits(), FairRootManager::ReadBKEvent(), FairRootManager::ReadEvent(), FairRootManager::ReadMixedEvent(), PndFieldMap::ReadRootFile(), FairRootManager::Register(), FairRootManager::RegisterWriteoutBuffer(), FairTask::ReInitTask(), FairParamList::replace(), FairRunAna::RunMixed(), FairRunAna::RunOnLmdFiles(), FairRunAna::RunWithTimeStamps(), FairDetector::SaveGeoParams(), FairRunAna::SetBackgroundFile(), FairRootManager::SetBackgroundFile(), FairRunAna::SetContainerStatic(), FairRootManager::SetEventTime(), PndFieldMap::SetField(), PndStack::SetGeneratorFlags(), FairModule::SetGeometryFileName(), FairRunAna::SetGeomFile(), FairRunSim::SetGeoModel(), FairRunSim::SetMaterials(), FairRunSim::SetMCConfig(), FairRunAna::SetSignalFile(), FairRootManager::SetSignalFile(), FairMCApplication::StopRun(), PndStack::UpdateTrackIndex(), FairParSet::write(), FairRootManager::Write(), PndFieldMap::WriteAsciiFile(), FairRuntimeDb::writeContainer(), FairRunInfo::WriteHistosToFile(), FairRootManager::~FairRootManager(), FairRun::~FairRun(), and FairRunSim::~FairRunSim().
enum FairLogColor |
Definition at line 38 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 38 of file FairLogger.h
enum FairLogLevel |
Definition at line 30 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 30 of file FairLogger.h
Definition at line 68 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 68 of file FairLogger.h
FairLogger* gLogger |
Definition at line 19 of file FairLogger.cxx.
View newest version in sPHENIX GitHub at line 19 of file FairLogger.cxx
Referenced by CbmModule::ConstructGDMLGeometry(), PndStack::FillTrackArray(), PndStack::GetCurrentTrack(), PndStack::GetParticle(), PndFieldMap::Init(), PndFieldMap::PndFieldMap(), PndStack::PopPrimaryForTracking(), PndStack::Print(), PndFieldMap::ReadRootFile(), PndFieldMap::SetField(), PndStack::SetGeneratorFlags(), PndStack::UpdateTrackIndex(), and PndFieldMap::WriteAsciiFile().
|
static |
Definition at line 55 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 55 of file FairLogger.h
Referenced by FairLogger::GetOutputStream(), and FairLogger::LogFatalMessage().
|
static |
Definition at line 34 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 34 of file FairLogger.h
Referenced by FairLogger::ConvertLogLevelToString(), FairLogger::GetOutputStream(), and FairLogger::LogFatalMessage().
|
static |
Definition at line 69 of file FairLogger.h.
View newest version in sPHENIX GitHub at line 69 of file FairLogger.h