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

Macros

#define IFILE_NAME   "parameters_nslag.C"
 

Functions

HistoryTest AddHistory ((char *)"PRODUCTION",(char *)"PARAMETERS", historyBuffer)
 
HistoryTest AddLog ((char *)"PRODUCTION",(char *)"LOG1")
 
froot Close ()
 
 exit (0)
 
 if (!in.good())
 
in open (IFILE_NAME, ios::in)
 
HistoryTest Print ()
 
 strcpy (Stages[0], "PRODUCTION")
 
 strcpy (Stages[1], "SIMULATION")
 
 strcpy (Stages[2], "POST_PRODUCTION")
 
 strcpy (Types[0], "ROOTLOGON")
 
 strcpy (Types[1], "PARAMETERS")
 
 while (1)
 
HistoryTest Write ()
 

Variables

TFile * froot = new TFile("FileHist.root", "RECREATE")
 
char historyBuffer [10000000]
 
int historyLength = 0
 
CWB::History HistoryTest (Stages, 2, Types, 2)
 
char istringa [8192] =0x0
 
TString live
 
char * Stages [3] = new char[256]
 
char * Types [2] = new char[256]
 

Macro Definition Documentation

◆ IFILE_NAME

#define IFILE_NAME   "parameters_nslag.C"

Function Documentation

◆ AddHistory()

HistoryTest AddHistory ( (char *)"PRODUCTION"  ,
(char *)"PARAMETERS"  ,
historyBuffer   
)

◆ AddLog()

HistoryTest AddLog ( (char *)"PRODUCTION"  ,
(char *)"LOG1"   
)

◆ Close()

froot Close ( )

◆ exit()

exit ( )

◆ if()

if ( !in.  good())

Definition at line 12 of file HistoryParamFileTest.C.

◆ open()

in open ( IFILE_NAME  ,
ios::in   
)

◆ Print()

HistoryTest Print ( )

◆ strcpy() [1/5]

strcpy ( Stages  [0],
"PRODUCTION"   
)

◆ strcpy() [2/5]

strcpy ( Stages  [1],
"SIMULATION"   
)

◆ strcpy() [3/5]

strcpy ( Stages  [2],
"POST_PRODUCTION"   
)

◆ strcpy() [4/5]

strcpy ( Types  [0],
"ROOTLOGON"   
)

◆ strcpy() [5/5]

strcpy ( Types  [1],
"PARAMETERS"   
)

◆ while()

while ( )

Definition at line 19 of file HistoryParamFileTest.C.

◆ Write()

HistoryTest Write ( )

Variable Documentation

◆ froot

TFile* froot = new TFile("FileHist.root", "RECREATE")

Definition at line 101 of file HistoryParamFileTest.C.

◆ historyBuffer

char historyBuffer[10000000]

Definition at line 14 of file HistoryParamFileTest.C.

◆ historyLength

int historyLength = 0

Definition at line 17 of file HistoryParamFileTest.C.

◆ HistoryTest

CWB::History HistoryTest(Stages, 2, Types, 2)

◆ istringa

istringa[historyLength] =0x0

Definition at line 16 of file HistoryParamFileTest.C.

◆ live

TString live

Definition at line 18 of file HistoryParamFileTest.C.

◆ Stages

Stages[2] = new char[256]

Definition at line 36 of file HistoryParamFileTest.C.

◆ Types

Types[1] = new char[256]

Definition at line 44 of file HistoryParamFileTest.C.