Logo coherent WaveBurst  
Library Reference Guide
Logo
Functions | Variables
cwb_dump_history.C File Reference

Functions

TB checkFile (gSystem->Getenv("CWB_ROOTLOGON_FILE"))
 
ihistory DumpToTextFile (historyFile)
 
 if (gSystem->Getenv("CWB_DUMP_HIST_FILE_NAME")==NULL)
 
 if (cwb_dump_hist_file_name.Contains(".root")==0)
 
 if (gSystem->Getenv("CWB_DUMP_HIST_MODE")!=NULL)
 
 if (ifile==NULL)
 
 if (ihistory==NULL)
 
 if (cwb_dump_hist_mode.CompareTo("view")==0)
 
 sprintf (historyFile,"%s/%s", dump_dir, TString(((TObjString *) token->At(token->GetEntries() -1)) ->GetString()).ReplaceAll(".root",".history").Data())
 

Variables

TString cwb_dump_hist_file_name
 
TString cwb_dump_hist_mode ="view"
 
 else
 
TFile * ifile = TFile::Open(cwb_dump_hist_file_name)
 
CWB::Historyihistory = (CWB::History*)ifile->Get("history")
 
TObjArray * token = TString(cwb_dump_hist_file_name).Tokenize(TString("/"))
 

Function Documentation

◆ checkFile()

TB checkFile ( gSystem->  Getenv"CWB_ROOTLOGON_FILE")

◆ DumpToTextFile()

ihistory DumpToTextFile ( historyFile  )

◆ if() [1/6]

if ( gSystem->  Getenv"CWB_DUMP_HIST_FILE_NAME" = =NULL)

Definition at line 27 of file cwb_dump_history.C.

◆ if() [2/6]

if ( cwb_dump_hist_file_name.  Contains".root" = =0)

Definition at line 32 of file cwb_dump_history.C.

◆ if() [3/6]

if ( gSystem->Getenv("CWB_DUMP_HIST_MODE")!  = NULL)

Definition at line 37 of file cwb_dump_history.C.

◆ if() [4/6]

if ( ifile  = =NULL)

Definition at line 42 of file cwb_dump_history.C.

◆ if() [5/6]

if ( ihistory  = =NULL)

Definition at line 45 of file cwb_dump_history.C.

◆ if() [6/6]

if ( cwb_dump_hist_mode.  CompareTo"view" = =0)

Definition at line 49 of file cwb_dump_history.C.

◆ sprintf()

sprintf ( historyFile  ,
"%s/%s ,
dump_dir  ,
TString(((TObjString *) token->At(token->GetEntries() -1)) ->GetString()).ReplaceAll(".root",".history").Data()   
)

Variable Documentation

◆ cwb_dump_hist_file_name

TString cwb_dump_hist_file_name

Definition at line 26 of file cwb_dump_history.C.

◆ cwb_dump_hist_mode

TString cwb_dump_hist_mode ="view"

Definition at line 36 of file cwb_dump_history.C.

◆ else

else
Initial value:
{
cwb_dump_hist_file_name=TString(gSystem->Getenv("CWB_DUMP_HIST_FILE_NAME"))
TString("c")
TString cwb_dump_hist_file_name

Definition at line 29 of file cwb_dump_history.C.

◆ ifile

TFile* ifile = TFile::Open(cwb_dump_hist_file_name)

Definition at line 41 of file cwb_dump_history.C.

◆ ihistory

CWB::History* ihistory = (CWB::History*)ifile->Get("history")

Definition at line 44 of file cwb_dump_history.C.

◆ token

TObjArray* token = TString(cwb_dump_hist_file_name).Tokenize(TString("/"))

Definition at line 53 of file cwb_dump_history.C.