Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
cwb_rootlogon.C File Reference
#include "Riostream.h"
Include dependency graph for cwb_rootlogon.C:

Macros

#define _USE_ROOT6
 

Functions

fopts Append (" -D_USE_ROOT -fPIC -Wno-deprecated -fopenmp -mavx -Wall -Wno-unknown-pragmas")
 
fopts Append (" -fexceptions -O2 -D__STDC_CONSTANT_MACROS")
 
fopts Append (" -D_USE_ROOT6")
 
TRint *gROOT GetApplication ()) -> SetPrompt("cwb [%d] ")
 
else cout<< endl<< "OS : "
<< OS.Data()<< endl<< endl;if(gSystem->
Getenv("_USE_HEALPIX")!=NULL){if(gSystem->
Getenv("HOME_CFITSIO")==NULL){cout
<< "Error : environment
HOME_CFITSIO is not defined !!!"
<< endl;exit(1);}if(gSystem->
Getenv("HOME_HEALPIX")==NULL){cout
<< "Error : environment
HOME_HEALPIX is not defined !!!"
<< endl;exit(1);}}if(gSystem->
Getenv("_USE_LAL")!=NULL){if(gSystem->
Getenv("HOME_LAL")==NULL){cout
<< "Error : environment
HOME_LAL is not defined !!! "
<< endl;exit(1);}}if(gSystem->
Getenv("_USE_EBBH")!=NULL){if(gSystem->
Getenv("HOME_CVODE")==NULL){cout
<< "Error : environment
HOME_CVODE is not defined !!!"
<< endl;exit(1);}}if(gSystem->
Getenv("HOME_WAT_INSTALL")==NULL){cout
<< "Error : environment
HOME_WAT_INSTALL is not
defined !!!"<< endl;exit(1);}if(gSystem->
Getenv("HOME_WAT")==NULL){cout
<< "Error : environment
HOME_WAT is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("HOME_FRLIB")==NULL){cout
<< "Error : environment
HOME_FRLIB is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("CWB_STFT")==NULL){cout
<< "Error : environment
CWB_STFT is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("CWB_GWAT")==NULL){cout
<< "Error : environment
CWB_GWAT is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("CWB_TOOLBOX")==NULL){cout
<< "Error : environment
CWB_TOOLBOX is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("CWB_HISTORY")==NULL){cout
<< "Error : environment
CWB_HISTORY is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("CWB_BICO")==NULL){cout
<< "Error : environment
CWB_BICO is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("CWB_FRAME")==NULL){cout
<< "Error : environment
CWB_FRAME is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("CWB_FILTER")==NULL){cout
<< "Error : environment
CWB_FILTER is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("HOME_CWB")==NULL){cout
<< "Error : environment
HOME_CWB is not defined !!! "
<< endl;exit(1);}if(gSystem->
Getenv("CWB_MACROS")==NULL){cout
<< "Error : environment
CWB_MACROS is not defined !!!"
<< endl;exit(1);}cout<< endl;printf("ROOT/WAT/CWB
initialization starting...\n");cout
<< endl;TString wat_dir=gSystem-> 
Getenv ("HOME_WAT")
 
 if (TString(gSystem->GetBuildArch()).Contains("linux"))
 
 if ()
 
 if (gSystem->Getenv("_USE_EBBH"))
 
 if (gSystem->Getenv("_USE_HEALPIX"))
 
 if (gSystem->Getenv("_USE_LAL"))
 
 if (OS=="Darwin")
 
 if (gSystem->Getenv("CWB_CONFIG"))
 
 if (!libSTAT)
 
 printf ("Set Include Paths...\n")
 
 printf ("Load Libraries...\n")
 
 printf ("Loading WAT : %s ...\n", lib_path.Data())
 
 printf ("Loading STFT : %s ...\n", lib_path.Data())
 
 PrintLogoCWB (GetLALVersion())
 
gROOT ProcessLine (sys_cmd)
 
 sprintf (sys_cmd,".include %s/inc", wat_install.Data())
 
 sprintf (sys_cmd,".include %s/src", gSystem->Getenv("HOME_FRLIB"))
 

Variables

TString fopts = gSystem->GetFlagsOpt()
 
TString lib_path = wat_install+"/lib/wavelet.so"
 
TString libgomp =""
 
TString OS = ""
 
char sys_cmd [256]
 
TString wat_install = gSystem->Getenv("HOME_WAT_INSTALL")
 

Macro Definition Documentation

#define _USE_ROOT6

Function Documentation

fopts Append ( " -D_USE_ROOT -fPIC -Wno-deprecated -fopenmp -mavx -Wall -Wno-unknown-pragmas"  )
fopts Append ( " -fexceptions -O2 -D__STDC_CONSTANT_MACROS"  )
fopts Append ( " -D_USE_ROOT6"  )
TRint* gROOT GetApplication ( ) -> SetPrompt("cwb [%d] ")
else cout<< endl << "OS : " << OS.Data() << endl << endl; if(gSystem->Getenv("_USE_HEALPIX")!=NULL) { if(gSystem->Getenv("HOME_CFITSIO")==NULL) { cout << "Error : environment HOME_CFITSIO is not defined !!!" << endl; exit(1); } if(gSystem->Getenv("HOME_HEALPIX")==NULL) { cout << "Error : environment HOME_HEALPIX is not defined !!!" << endl; exit(1); } } if(gSystem->Getenv("_USE_LAL")!=NULL) { if(gSystem->Getenv("HOME_LAL")==NULL) { cout << "Error : environment HOME_LAL is not defined !!! " << endl; exit(1); } } if(gSystem->Getenv("_USE_EBBH")!=NULL) { if(gSystem->Getenv("HOME_CVODE")==NULL) { cout << "Error : environment HOME_CVODE is not defined !!!" << endl; exit(1); } } if(gSystem->Getenv("HOME_WAT_INSTALL")==NULL) { cout << "Error : environment HOME_WAT_INSTALL is not defined !!!" << endl;exit(1);} if(gSystem->Getenv("HOME_WAT")==NULL) { cout << "Error : environment HOME_WAT is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("HOME_FRLIB")==NULL) { cout << "Error : environment HOME_FRLIB is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("CWB_STFT")==NULL) { cout << "Error : environment CWB_STFT is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("CWB_GWAT")==NULL) { cout << "Error : environment CWB_GWAT is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("CWB_TOOLBOX")==NULL) { cout << "Error : environment CWB_TOOLBOX is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("CWB_HISTORY")==NULL) { cout << "Error : environment CWB_HISTORY is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("CWB_BICO")==NULL) { cout << "Error : environment CWB_BICO is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("CWB_FRAME")==NULL) { cout << "Error : environment CWB_FRAME is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("CWB_FILTER")==NULL) { cout << "Error : environment CWB_FILTER is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("HOME_CWB")==NULL) { cout << "Error : environment HOME_CWB is not defined !!! " << endl;exit(1);} if(gSystem->Getenv("CWB_MACROS")==NULL) { cout << "Error : environment CWB_MACROS is not defined !!!" << endl;exit(1);} cout << endl; printf("ROOT/WAT/CWB initialization starting...\n"); cout << endl; TString wat_dir = gSystem-> Getenv ( "HOME_WAT"  )
if ( TString(gSystem->GetBuildArch()).Contains("linux")  )

Definition at line 26 of file cwb_rootlogon.C.

if ( )

Definition at line 103 of file cwb_rootlogon.C.

if ( gSystem->  Getenv"_USE_EBBH")

Definition at line 134 of file cwb_rootlogon.C.

if ( gSystem->  Getenv"_USE_HEALPIX")

Definition at line 149 of file cwb_rootlogon.C.

if ( gSystem->  Getenv"_USE_LAL")

Definition at line 297 of file cwb_rootlogon.C.

if ( OS  = ="Darwin")

Definition at line 340 of file cwb_rootlogon.C.

if ( gSystem->  Getenv"CWB_CONFIG")

Definition at line 356 of file cwb_rootlogon.C.

if ( libSTAT)

Definition at line 368 of file cwb_rootlogon.C.

printf ( "Set Include Paths...\n )
printf ( "Load Libraries...\n )
printf ( "Loading WAT : %s ...\n ,
lib_path.  Data() 
)
printf ( "Loading STFT : %s ...\n ,
lib_path.  Data() 
)
PrintLogoCWB ( GetLALVersion()  )
gROOT ProcessLine ( sys_cmd  )
sprintf ( sys_cmd  ,
".include %s/inc"  ,
wat_install.  Data() 
)
sprintf ( sys_cmd  ,
".include %s/src"  ,
gSystem->  Getenv"HOME_FRLIB" 
)

Variable Documentation

TString fopts = gSystem->GetFlagsOpt()

Definition at line 333 of file cwb_rootlogon.C.

lib_path = wat_install+"/lib/wavelet.so"

Definition at line 89 of file cwb_rootlogon.C.

TString libgomp =""

Definition at line 147 of file cwb_rootlogon.C.

TString OS = ""

Definition at line 25 of file cwb_rootlogon.C.

char sys_cmd[256]

Definition at line 93 of file cwb_rootlogon.C.

TString wat_install = gSystem->Getenv("HOME_WAT_INSTALL")

Definition at line 88 of file cwb_rootlogon.C.