GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
adf/Macros/Deprecated/Load.C File Reference

Go to the source code of this file.

Functions

cout<< endl;cout<< " To start
online (Local Level) Watchers : "
<< endl;cout<< " - to watch
one selected actor "<< endl;cout
<< " .x OnlineWatchersLLP.C+
or .x OnlineWatchersLLP.C+(new
TFile(\"MySpectra.root\",\"UPDATE\"))"
<< endl;cout<< " - to watch
simultaneously all the actors "
<< endl;cout<< " .x
OnlineWatchersLLP.C+(0x0,true) or .x OnlineWatchersLLP.C+(new TFile(\"MySpectra.root\",\"UPDATE\"),true)"<< endl;cout<< " To start online (Global Level) Watchers : "<< endl;cout<< " .x OnlineWatchersGLP.C+ or .x OnlineWatchersGLP.C+(new TFile(\"MySpectra.root\",\"UPDATE\"))"<< endl;cout<< " Then start the watching from the ROOT Browser "<< endl<< endl;cout<< " To start offline Watchers : "<< endl;cout<< " 1 - Configure OfflineWatcher.C (it could be a copy of of the one in DefaultWatchers)"<< endl;cout<< " 2 - Run the Watchers with : "<< endl;cout<< " .x OfflineWatchers.C+ or .x OfflineWatchers.C+(new TFile(\"MySpectra.root\",\"UPDATE\"))"<< endl;cout<< endl;TString adf_path=gSystem-> 
Getenv ("ADF_CONF_PATH")
 
 if (macroPATH.Contains(tmp.Data())==false)
 
 if (gSystem->AccessPathName("./SetupWatchers.C"))
 
 if (gSystem->AccessPathName("MyWatchers"))
 
 if (tmp!="")
 
 if (adf_path=="")
 
gSystem Load ("libGWCORE")
 
gSystem Load ("libGWADF")
 
gSystem Load ("libGWADFE")
 
gSystem Load ("libEve")
 
gSystem Load ("libGWTOOLS")
 
gSystem Load ("DefaultWatchers/libWATCHERS")
 
tmp Prepend (" .include ")
 
 printf ("******************************************************************** \n")
 
 printf (" Messages from Load.C \n")
 
 printf ("- Add %s to the include path \n", tmp.Data())
 
else printf ("\n [Info] ADF_CONF_PATH is %s \n\n ", adf_path.Data())
 
gROOT ProcessLine (tmp.Data())
 

Variables

TBrowser * b = new TBrowser()
 
const Char_t * CompOpt = "g"
 
TString macroPATH = gROOT->GetMacroPath()
 
TString tmp = Gw::Env::GetPath("MacrosPath")