Logo coherent WaveBurst  
Library Reference Guide
Logo
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 -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...\");cout<< endl;TString wat_dir=gSystem-> Getenv ("HOME_WAT")
 
 if (TString(gSystem->GetBuildArch()).Contains("linux"))
 
 if ()
 
 if (gSystem->Getenv("_USE_LAL"))
 
 if (gSystem->Getenv("_USE_EBBH"))
 
 if (gSystem->Getenv("_USE_HEALPIX"))
 
 if (OS=="Darwin")
 
 if (gSystem->Getenv("CWB_CONFIG"))
 
 if (!libSTAT)
 
 printf ("Load Aux Libraries...\)
 
 printf ("Load cWB Libraries...\)
 
 printf ("Loading WAT : %s ...\, lib_path.Data())
 
 printf ("Loading STFT : %s ...\, 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

 else
 
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

◆ _USE_ROOT6

#define _USE_ROOT6

Function Documentation

◆ Append() [1/3]

fopts Append ( " -D_USE_ROOT -fPIC -Wno-deprecated -mavx -Wall -Wno-unknown-pragmas"  )

◆ Append() [2/3]

fopts Append ( " -fexceptions -O2 -D__STDC_CONSTANT_MACROS"  )

◆ Append() [3/3]

fopts Append ( " -D_USE_ROOT6"  )

◆ GetApplication()

TRint* gROOT GetApplication ( ) -> SetPrompt("cwb [%d] ")

◆ Getenv()

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() [1/8]

if ( TString(gSystem->GetBuildArch()).Contains("linux")  )

Definition at line 26 of file cwb_rootlogon.C.

◆ if() [2/8]

if ( )

Definition at line 103 of file cwb_rootlogon.C.

◆ if() [3/8]

if ( gSystem->  Getenv"_USE_LAL")

Definition at line 114 of file cwb_rootlogon.C.

◆ if() [4/8]

if ( gSystem->  Getenv"_USE_EBBH")

Definition at line 139 of file cwb_rootlogon.C.

◆ if() [5/8]

if ( gSystem->  Getenv"_USE_HEALPIX")

Definition at line 154 of file cwb_rootlogon.C.

◆ if() [6/8]

if ( OS  = ="Darwin")

Definition at line 245 of file cwb_rootlogon.C.

◆ if() [7/8]

if ( gSystem->  Getenv"CWB_CONFIG")

Definition at line 351 of file cwb_rootlogon.C.

◆ if() [8/8]

if ( libSTAT)

Definition at line 363 of file cwb_rootlogon.C.

◆ printf() [1/4]

printf ( "Load Aux Libraries...\  )

◆ printf() [2/4]

printf ( "Load cWB Libraries...\  )

◆ printf() [3/4]

printf ( "Loading WAT : %s ...\  ,
lib_path.  Data() 
)

◆ printf() [4/4]

printf ( "Loading STFT : %s ...\  ,
lib_path.  Data() 
)

◆ PrintLogoCWB()

PrintLogoCWB ( GetLALVersion()  )

◆ ProcessLine()

gROOT ProcessLine ( sys_cmd  )

◆ sprintf() [1/2]

sprintf ( sys_cmd  ,
".include %s/inc"  ,
wat_install.  Data() 
)

◆ sprintf() [2/2]

sprintf ( sys_cmd  ,
".include %s/src"  ,
gSystem->  Getenv"HOME_FRLIB" 
)

Variable Documentation

◆ else

else
Initial value:
{
if(gSystem->Load("libpng.so")<0) libSTAT=false

Definition at line 109 of file cwb_rootlogon.C.

◆ fopts

TString fopts = gSystem->GetFlagsOpt()

Definition at line 325 of file cwb_rootlogon.C.

◆ lib_path

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

Definition at line 89 of file cwb_rootlogon.C.

◆ libgomp

TString libgomp =""

Definition at line 152 of file cwb_rootlogon.C.

◆ OS

TString OS = ""

Definition at line 25 of file cwb_rootlogon.C.

◆ sys_cmd

char sys_cmd[256]

Definition at line 93 of file cwb_rootlogon.C.

◆ wat_install

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

Definition at line 88 of file cwb_rootlogon.C.