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] |
| #define IFILE_NAME "parameters_nslag.C" |
| HistoryTest AddHistory | ( | (char *)"PRODUCTION" | , |
| (char *)"PARAMETERS" | , | ||
| historyBuffer | |||
| ) |
| HistoryTest AddLog | ( | (char *)"PRODUCTION" | , |
| (char *)"LOG1" | |||
| ) |
| froot Close | ( | ) |
| exit | ( | 0 | ) |
| if | ( | !in. | good() | ) |
Definition at line 12 of file HistoryParamFileTest.C.
| 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 | ) |
Definition at line 19 of file HistoryParamFileTest.C.
| HistoryTest Write | ( | ) |
| TFile* froot = new TFile("FileHist.root", "RECREATE") |
Definition at line 101 of file HistoryParamFileTest.C.
| char historyBuffer[10000000] |
Definition at line 14 of file HistoryParamFileTest.C.
| int historyLength = 0 |
Definition at line 17 of file HistoryParamFileTest.C.
| CWB::History HistoryTest(Stages, 2, Types, 2) |
| istringa[historyLength] =0x0 |
Definition at line 16 of file HistoryParamFileTest.C.
| TString live |
Definition at line 18 of file HistoryParamFileTest.C.
| Stages[2] = new char[256] |
Definition at line 36 of file HistoryParamFileTest.C.
| Types[1] = new char[256] |
Definition at line 44 of file HistoryParamFileTest.C.