Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
cwb_eced.C File Reference

Functions

cout<< endl;for(int n=0;n
< nIFO;n++){if(!ldf_check[n])
cout<< ifo[n]<< " cwb_eced
- no data found !!!"<< endl;else
cout<< ifo[n]<< " cwb_eced
- data found"<< endl;}if(!ldf_gcheck){cout
<< endl<< "check types
: gw_data_find --show-types"
<< endl<< endl;gSystem-> 
Exit (1)
 
 for ()
 
 if (cwb_eced_opts!="")
 
 if (gps_event<=0)
 
 if (gSystem->Getenv("CWB_ECED_NDET")!=NULL)
 
 if (cwb_inet_opts=="ced")
 
 if (eced_cfg!="")
 
TB mkDir (eced_dir, check, remove)
 
TB mkDir (tmp_dir, check, remove)
 
TB mkDir (ced_dir, check, remove)
 
gSystem Setenv ("CWB_GPS_EVENT", sgps_event)
 
gSystem Setenv ("CWB_UPARAMETERS_FILE", uparameter)
 
gSystem Setenv ("CWB_CED_DIR", ced_dir)
 
 sprintf (sgps_event,"%f", gps_event)
 
 sprintf (tmp_dir,"%s/tmp", eced_dir)
 
 sprintf (data_dir,"%s/tmp", eced_dir)
 
 sprintf (config_dir,"%s/tmp", eced_dir)
 
 sprintf (input_dir,"%s/tmp", eced_dir)
 
 sprintf (output_dir,"%s/tmp", eced_dir)
 
 sprintf (macro_dir,"%s/tmp", eced_dir)
 
 sprintf (report_dir,"%s/tmp", eced_dir)
 
 sprintf (log_dir,"%s/tmp", eced_dir)
 
 sprintf (condor_dir,"%s/tmp", eced_dir)
 
 sprintf (merge_dir,"%s/tmp", eced_dir)
 
 sprintf (pp_dir,"%s/tmp", eced_dir)
 
 sprintf (dump_dir,"%s/tmp", eced_dir)
 
 sprintf (uparameter,"%s/user_parameters.C", tmp_dir)
 

Variables

TString _channelNamesMDC [NIFO_MAX]
 
TString _channelNamesRaw [NIFO_MAX]
 
dqfile _DQF [20]
 
TString _frFiles [2 *NIFO_MAX]
 
TString _ifo [NIFO_MAX]
 
int _nDQF =0
 
int _nIFO =0
 
 cedRHO =0.0
 
char channelTypesRaw [NIFO_MAX][1024]
 
bool check = (cwb_inet_opts=="ced") ? true : false
 
char cmd [1024]
 
TString cwb_eced_opts =TString(gSystem->Getenv("CWB_ECED_OPTS"))
 
TString cwb_inet_opts =TString(gSystem->Getenv("CWB_INET_OPTIONS"))
 
TString eced_cfg =""
 
char eced_dir [1024] ="ECED_"
 
 else
 
int gps_event =0
 
bool ldf_check [NIFO_MAX]
 
char ldf_command [NIFO_MAX][1024]
 
bool ldf_gcheck =true
 
 nDQF =0
 
 nfactor [0] =1
 
bool remove = (cwb_inet_opts=="ced") ? true : false
 
 segLen =60
 
 simulation =0
 
char uparameter [1024]
 

Function Documentation

cout<< endl; for(int n=0;n<nIFO;n++) { if(!ldf_check[n]) cout << ifo[n] << " cwb_eced - no data found !!!" << endl; else cout << ifo[n] << " cwb_eced - data found" << endl; } if(!ldf_gcheck) { cout << endl << "check types : gw_data_find --show-types" << endl << endl; gSystem-> Exit ( )
for ( )

Definition at line 21 of file cwb_eced.C.

if ( cwb_eced_opts!  = "")

Definition at line 36 of file cwb_eced.C.

if ( gps_event<=  0)

Definition at line 70 of file cwb_eced.C.

if ( gSystem->Getenv("CWB_ECED_NDET")!  = NULL)

Definition at line 79 of file cwb_eced.C.

if ( cwb_inet_opts  = ="ced")

Definition at line 221 of file cwb_eced.C.

if ( eced_cfg!  = "")

Definition at line 356 of file cwb_eced.C.

TB mkDir ( eced_dir  ,
check  ,
remove   
)
TB mkDir ( tmp_dir  ,
check  ,
remove   
)
TB mkDir ( ced_dir  ,
check  ,
remove   
)
gSystem Setenv ( "CWB_GPS_EVENT"  ,
sgps_event   
)
gSystem Setenv ( "CWB_UPARAMETERS_FILE"  ,
uparameter   
)
gSystem Setenv ( "CWB_CED_DIR"  ,
ced_dir   
)
sprintf ( sgps_event  ,
"%f"  ,
gps_event   
)
sprintf ( tmp_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( data_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( config_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( input_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( output_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( macro_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( report_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( log_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( condor_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( merge_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( pp_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( dump_dir  ,
"%s/tmp ,
eced_dir   
)
sprintf ( uparameter  ,
"%s/user_parameters.C ,
tmp_dir   
)

Variable Documentation

TString _channelNamesMDC[NIFO_MAX]

Definition at line 16 of file cwb_eced.C.

TString _channelNamesRaw[NIFO_MAX]

Definition at line 15 of file cwb_eced.C.

dqfile _DQF[20]

Definition at line 18 of file cwb_eced.C.

TString _frFiles[2 *NIFO_MAX]

Definition at line 17 of file cwb_eced.C.

Definition at line 14 of file cwb_eced.C.

int _nDQF =0

Definition at line 18 of file cwb_eced.C.

int _nIFO =0

Definition at line 13 of file cwb_eced.C.

cedRHO =0.0

Definition at line 8 of file cwb_eced.C.

char channelTypesRaw[NIFO_MAX][1024]

Definition at line 20 of file cwb_eced.C.

bool check = (cwb_inet_opts=="ced") ? true : false

Definition at line 324 of file cwb_eced.C.

char cmd[1024]
Initial value:
{
CWB::Toolbox TB
Definition: ComputeSNR.C:5

Definition at line 3 of file cwb_eced.C.

TString cwb_eced_opts =TString(gSystem->Getenv("CWB_ECED_OPTS"))

Definition at line 34 of file cwb_eced.C.

TString cwb_inet_opts =TString(gSystem->Getenv("CWB_INET_OPTIONS"))

Definition at line 193 of file cwb_eced.C.

TString eced_cfg =""

Definition at line 35 of file cwb_eced.C.

char eced_dir[1024] ="ECED_"

Definition at line 195 of file cwb_eced.C.

else
Initial value:
{
char sgps_event[16]

Definition at line 73 of file cwb_eced.C.

int gps_event =0

Definition at line 33 of file cwb_eced.C.

bool ldf_check[NIFO_MAX]

Definition at line 230 of file cwb_eced.C.

char ldf_command[NIFO_MAX][1024]

Definition at line 231 of file cwb_eced.C.

bool ldf_gcheck =true

Definition at line 229 of file cwb_eced.C.

nDQF =0

Definition at line 92 of file cwb_eced.C.

nfactor[0] =1

Definition at line 10 of file cwb_eced.C.

bool remove = (cwb_inet_opts=="ced") ? true : false

Definition at line 325 of file cwb_eced.C.

segLen =60

Definition at line 7 of file cwb_eced.C.

simulation =0

Definition at line 9 of file cwb_eced.C.

char uparameter[1024]

Definition at line 355 of file cwb_eced.C.