EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairRunInfo Class Reference

#include <EicRoot/blob/master/base/FairRunInfo.h>

+ Inheritance diagram for FairRunInfo:
+ Collaboration diagram for FairRunInfo:

Public Member Functions

 FairRunInfo ()
 
 ~FairRunInfo ()
 
void StoreInfo ()
 
void WriteInfo ()
 
void Reset ()
 

Private Member Functions

void CalculateTimeDifference ()
 
void PrintInfo ()
 
void GetInfo ()
 
void CreateAndFillHistograms (TList *histoList)
 
void WriteHistosToFile (TList *histoList)
 
 FairRunInfo (const FairRunInfo &)
 
FairRunInfooperator= (const FairRunInfo &)
 

Private Attributes

TTimeStamp fTimeStamp
 
CpuInfo_t fCpuInfo
 
MemInfo_t fMemInfo
 
ProcInfo_t fProcInfo
 
std::vector< Double_t > fTimeDiff
 
std::vector< Double_t > fTime
 
std::vector< Long_t > fResidentMemory
 
std::vector< Long_t > fVirtualMemory
 
FairLoggerfLogger
 

Detailed Description

Definition at line 14 of file FairRunInfo.h.

View newest version in sPHENIX GitHub at line 14 of file FairRunInfo.h

Constructor & Destructor Documentation

FairRunInfo::FairRunInfo ( )
FairRunInfo::~FairRunInfo ( )

Definition at line 30 of file FairRunInfo.cxx.

View newest version in sPHENIX GitHub at line 30 of file FairRunInfo.cxx

FairRunInfo::FairRunInfo ( const FairRunInfo )
private

Member Function Documentation

void FairRunInfo::CalculateTimeDifference ( )
private

Definition at line 61 of file FairRunInfo.cxx.

View newest version in sPHENIX GitHub at line 61 of file FairRunInfo.cxx

References fTime, and fTimeDiff.

Referenced by StoreInfo().

+ Here is the caller graph for this function:

void FairRunInfo::CreateAndFillHistograms ( TList *  histoList)
private

Definition at line 89 of file FairRunInfo.cxx.

View newest version in sPHENIX GitHub at line 89 of file FairRunInfo.cxx

References fResidentMemory, fTime, fTimeDiff, fVirtualMemory, and it.

Referenced by WriteInfo().

+ Here is the caller graph for this function:

void FairRunInfo::GetInfo ( )
private

Definition at line 49 of file FairRunInfo.cxx.

View newest version in sPHENIX GitHub at line 49 of file FairRunInfo.cxx

References fProcInfo, fResidentMemory, fTime, fTimeStamp, and fVirtualMemory.

Referenced by Reset(), and StoreInfo().

+ Here is the caller graph for this function:

FairRunInfo& FairRunInfo::operator= ( const FairRunInfo )
private
void FairRunInfo::PrintInfo ( )
private

Definition at line 70 of file FairRunInfo.cxx.

View newest version in sPHENIX GitHub at line 70 of file FairRunInfo.cxx

References FairLogger::Debug(), fLogger, fResidentMemory, fTimeDiff, fVirtualMemory, and MESSAGE_ORIGIN.

Referenced by StoreInfo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunInfo::Reset ( )

Definition at line 237 of file FairRunInfo.cxx.

View newest version in sPHENIX GitHub at line 237 of file FairRunInfo.cxx

References GetInfo().

Referenced by FairRunAna::Run(), EicRunAna::RunCoreStart(), and FairMCApplication::RunMC().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunInfo::StoreInfo ( )

Definition at line 34 of file FairRunInfo.cxx.

View newest version in sPHENIX GitHub at line 34 of file FairRunInfo.cxx

References CalculateTimeDifference(), GetInfo(), and PrintInfo().

Referenced by FairMCApplication::FinishEvent(), FairRunAna::Run(), and EicRunAna::RunCoreProcessNextEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunInfo::WriteHistosToFile ( TList *  histoList)
private

Definition at line 143 of file FairRunInfo.cxx.

View newest version in sPHENIX GitHub at line 143 of file FairRunInfo.cxx

References FairLogger::Debug(), INPUTHEPMC::filename, fLogger, FairRun::GetOutputFile(), FairRun::Instance(), MESSAGE_ORIGIN, and pid.

Referenced by WriteInfo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairRunInfo::WriteInfo ( )

Definition at line 81 of file FairRunInfo.cxx.

View newest version in sPHENIX GitHub at line 81 of file FairRunInfo.cxx

References CreateAndFillHistograms(), and WriteHistosToFile().

Referenced by FairRunAna::Run(), EicRunAna::RunCoreFinish(), FairMCApplication::RunMC(), and FairMCApplication::StopRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

CpuInfo_t FairRunInfo::fCpuInfo
private

Definition at line 32 of file FairRunInfo.h.

View newest version in sPHENIX GitHub at line 32 of file FairRunInfo.h

FairLogger* FairRunInfo::fLogger
private

Definition at line 39 of file FairRunInfo.h.

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

Referenced by PrintInfo(), and WriteHistosToFile().

MemInfo_t FairRunInfo::fMemInfo
private

Definition at line 33 of file FairRunInfo.h.

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

ProcInfo_t FairRunInfo::fProcInfo
private

Definition at line 34 of file FairRunInfo.h.

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

Referenced by GetInfo().

std::vector<Long_t> FairRunInfo::fResidentMemory
private

Definition at line 37 of file FairRunInfo.h.

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

Referenced by CreateAndFillHistograms(), GetInfo(), and PrintInfo().

std::vector<Double_t> FairRunInfo::fTime
private

Definition at line 36 of file FairRunInfo.h.

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

Referenced by CalculateTimeDifference(), CreateAndFillHistograms(), and GetInfo().

std::vector<Double_t> FairRunInfo::fTimeDiff
private

Definition at line 35 of file FairRunInfo.h.

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

Referenced by CalculateTimeDifference(), CreateAndFillHistograms(), and PrintInfo().

TTimeStamp FairRunInfo::fTimeStamp
private

Definition at line 31 of file FairRunInfo.h.

View newest version in sPHENIX GitHub at line 31 of file FairRunInfo.h

Referenced by GetInfo().

std::vector<Long_t> FairRunInfo::fVirtualMemory
private

Definition at line 38 of file FairRunInfo.h.

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

Referenced by CreateAndFillHistograms(), GetInfo(), and PrintInfo().


The documentation for this class was generated from the following files: