Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JetScapeLogger.cc File Reference
#include <stddef.h>
#include <fstream>
#include "JetScapeLogger.h"
#include <sys/time.h>
#include <sys/resource.h>
+ Include dependency graph for JetScapeLogger.cc:

Go to the source code of this file.

Namespaces

namespace  Jetscape
 

Macros

#define BLACK   "\033[30m" /* Black */
 
#define RED   "\033[31m" /* Red */
 
#define GREEN   "\033[32m"
 
#define YELLOW   "\033[33m" /* Yellow */
 
#define BLUE   "\033[34m" /* Blue */
 
#define MAGENTA   "\033[35m" /* Magenta */
 
#define CYAN   "\033[36m" /* Cyan */
 
#define WHITE   "\033[37m" /* White */
 
#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 CLEAR   "\033[2J"
 

Functions

long getMemoryUsage ()
 

Variables

std::ostringstream Jetscape::null
 
SafeOstream Jetscape::safe_cout (std::cout)
 
SafeOstream Jetscape::safe_cerr (std::cerr)
 
SafeOstream Jetscape::safe_null (null)
 

Macro Definition Documentation

#define BLACK   "\033[30m" /* Black */

Definition at line 69 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 69 of file JetScapeLogger.cc

#define BLUE   "\033[34m" /* Blue */

Definition at line 73 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 73 of file JetScapeLogger.cc

Referenced by Jetscape::JetScapeLogger::Debug(), and Jetscape::JetScapeLogger::DebugThread().

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

Definition at line 77 of file JetScapeLogger.cc.

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

Referenced by Jetscape::JetScape::Finish().

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

Definition at line 81 of file JetScapeLogger.cc.

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

Referenced by Matter::DoEnergyLoss().

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

Definition at line 83 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 83 of file JetScapeLogger.cc

Referenced by Jetscape::JetScapeLogger::VerboseShower().

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

Definition at line 79 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 79 of file JetScapeLogger.cc

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

Definition at line 82 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 82 of file JetScapeLogger.cc

Referenced by Jetscape::JetScapeLogger::Remark().

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

Definition at line 78 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 78 of file JetScapeLogger.cc

Referenced by Matter::DoEnergyLoss(), Jetscape::JetScape::Exec(), Jetscape::JetScape::Init(), and Jetscape::JetScapeLogger::Warn().

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

Definition at line 84 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 84 of file JetScapeLogger.cc

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

Definition at line 80 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 80 of file JetScapeLogger.cc

Referenced by Matter::DoEnergyLoss(), ColoredHadronization::DoHadronization(), Matter::generate_vac_t_w_M(), and Jetscape::HardProcess::Init().

#define CLEAR   "\033[2J"

Definition at line 86 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 86 of file JetScapeLogger.cc

#define CYAN   "\033[36m" /* Cyan */

Definition at line 75 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 75 of file JetScapeLogger.cc

#define GREEN   "\033[32m"

Definition at line 71 of file JetScapeLogger.cc.

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

Referenced by Jetscape::JetScapeLogger::Verbose(), Jetscape::JetScapeLogger::VerboseParton(), and Jetscape::JetScapeLogger::VerboseVertex().

#define MAGENTA   "\033[35m" /* Magenta */

Definition at line 74 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 74 of file JetScapeLogger.cc

#define RED   "\033[31m" /* Red */

Definition at line 70 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 70 of file JetScapeLogger.cc

#define WHITE   "\033[37m" /* White */

Definition at line 76 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 76 of file JetScapeLogger.cc

#define YELLOW   "\033[33m" /* Yellow */

Definition at line 72 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 72 of file JetScapeLogger.cc

Function Documentation

long getMemoryUsage ( )

Definition at line 29 of file JetScapeLogger.cc.

View newest version in sPHENIX GitHub at line 29 of file JetScapeLogger.cc

Referenced by Jetscape::JetScapeLogger::Debug(), Jetscape::JetScapeLogger::DebugThread(), Jetscape::JetScapeLogger::Info(), Jetscape::JetScapeLogger::Verbose(), and Jetscape::JetScapeLogger::VerboseShower().

+ Here is the caller graph for this function: