Functions
genie_setup.C File Reference

Go to the source code of this file.

Functions

void change_prompt ()
 
void genie_setup ()
 

Function Documentation

void change_prompt ( )

Definition at line 1 of file genie_setup.C.

2 {
3  TRint* rint = dynamic_cast<TRint*>(gApplication);
4  if (!rint) return;
5 
6  rint->SetPrompt("genie [%d] ");
7 }
void genie_setup ( )

Definition at line 9 of file genie_setup.C.

10 {
11  TString script_dir = gSystem->Getenv("GENIE");
12  script_dir += "/src/scripts/gcint/";
13 
14  TString curr_dir = gSystem->pwd();
15 
16  gSystem->cd(script_dir.Data());
17 
18  gROOT->ProcessLine(".x loadincs.C");
19  gROOT->ProcessLine(".x loadlibs.C");
20 
21  gSystem->cd(curr_dir.Data());
22 
23  change_prompt();
24 }
void change_prompt()
Definition: genie_setup.C:1