Functions | |
| TB | checkFile (gSystem->Getenv("CWB_ROOTLOGON_FILE")) |
| TB | checkFile (gSystem->Getenv("CWB_PARAMETERS_FILE")) |
| TB | checkFile (gSystem->Getenv("CWB_NETC_FILE")) |
| TB | checkFile (macroPath) |
| cout<< endl<< "cwb_compile : Macro compilation ..."<< endl<< endl;int success=gSystem-> | CompileMacro (TString(macroTmp).Data(),"kf", libPath) |
| if (gSystem->Getenv("CWB_COMPILE_MACRO_NAME")!=NULL) | |
| if (!macroPath.EndsWith(".C")) | |
| if (!success) | |
| if (check==-1) | |
| if (error) | |
| libPath | ReplaceAll (".C","_C") |
| macroTmp1 | ReplaceAll (".C","_C_ACLiC_dict_rdict.pcm") |
| macroTmp2 | ReplaceAll (".C","_C.d") |
| sprintf (command, "/bin/rm -f %s", macroTmp1.Data()) | |
| sprintf (command, "/bin/rm -f %s", macroTmp2.Data()) | |
Variables | |
| int | check = gROOT->LoadMacro((libPath+".so").Data(),&error,true) |
| char | command [1024] |
| int | error =gSystem->Exec(command) |
| TString | libPath = macroPath |
| TString | macroPath ="" |
| TString | macroTmp = CWB::Toolbox::addCWBFlags(TMacro(macroPath)) |
| TString | macroTmp1 = macroPath |
| TString | macroTmp2 = macroTmp |
| TB checkFile | ( | gSystem-> | Getenv"CWB_ROOTLOGON_FILE" | ) |
| TB checkFile | ( | gSystem-> | Getenv"CWB_PARAMETERS_FILE" | ) |
| TB checkFile | ( | gSystem-> | Getenv"CWB_NETC_FILE" | ) |
| cout<< endl << "cwb_compile : Macro compilation ..." << endl << endl; int success = gSystem-> CompileMacro | ( | TString(macroTmp).Data() | , |
| "kf" | , | ||
| libPath | |||
| ) |
| if | ( | gSystem->Getenv("CWB_COMPILE_MACRO_NAME")! | = NULL | ) |
Definition at line 31 of file cwb_compile.C.
| if | ( | !macroPath. | EndsWith".C" | ) |
Definition at line 37 of file cwb_compile.C.
| if | ( | ! | success | ) |
Definition at line 52 of file cwb_compile.C.
| if | ( | check | = =-1 | ) |
Definition at line 59 of file cwb_compile.C.
| if | ( | error | ) |
Definition at line 69 of file cwb_compile.C.
| libPath ReplaceAll | ( | ".C" | , |
| "_C" | |||
| ) |
| macroTmp1 ReplaceAll | ( | ".C" | , |
| "_C_ACLiC_dict_rdict.pcm" | |||
| ) |
| macroTmp2 ReplaceAll | ( | ".C" | , |
| "_C.d" | |||
| ) |
Definition at line 58 of file cwb_compile.C.
| char command[1024] |
Definition at line 44 of file cwb_compile.C.
Definition at line 43 of file cwb_compile.C.
Definition at line 40 of file cwb_compile.C.
| TString macroPath ="" |
Definition at line 30 of file cwb_compile.C.
| TString macroTmp = CWB::Toolbox::addCWBFlags(TMacro(macroPath)) |
Definition at line 47 of file cwb_compile.C.
Definition at line 65 of file cwb_compile.C.
Definition at line 74 of file cwb_compile.C.