Logo coherent WaveBurst  
Library Reference Guide
Logo
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 (xgps_event<=0)
 
 if (gSystem->Getenv("CWB_ECED_NDET")!=NULL)
 
 if (cwb_inet_opts=="ced")
 
 if (eced_cfg!="")
 
gSystem Setenv ("CWB_GPS_EVENT", sgps_event)
 
gSystem Setenv ("CWB_UPARAMETERS_FILE", uparameter)
 
gSystem Setenv ("CWB_CED_DIR", ced_dir)
 
 sprintf (sgps_event,"%d", xgps_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
 
bool bremove = (cwb_inet_opts=="ced") ? true : false
 
 cedRHO =0.0
 
char channelTypesRaw [NIFO_MAX][1024]
 
bool check = (cwb_inet_opts=="ced") ? true : false
 
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
 
 factors [0] =1
 
bool ldf_check [NIFO_MAX]
 
char ldf_command [NIFO_MAX][1024]
 
bool ldf_gcheck =true
 
 nDQF =0
 
 segLen =60
 
 simulation =0
 
char uparameter [1024]
 
int xgps_event =0
 

Function Documentation

◆ Exit()

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()

for ( )

Definition at line 38 of file cwb_eced.C.

◆ if() [1/5]

if ( cwb_eced_opts!  = "")

Definition at line 53 of file cwb_eced.C.

◆ if() [2/5]

if ( xgps_event<=  0)

Definition at line 87 of file cwb_eced.C.

◆ if() [3/5]

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

Definition at line 96 of file cwb_eced.C.

◆ if() [4/5]

if ( cwb_inet_opts  = ="ced")

Definition at line 238 of file cwb_eced.C.

◆ if() [5/5]

if ( eced_cfg!  = "")

Definition at line 374 of file cwb_eced.C.

◆ Setenv() [1/3]

gSystem Setenv ( "CWB_GPS_EVENT"  ,
sgps_event   
)

◆ Setenv() [2/3]

gSystem Setenv ( "CWB_UPARAMETERS_FILE"  ,
uparameter   
)

◆ Setenv() [3/3]

gSystem Setenv ( "CWB_CED_DIR"  ,
ced_dir   
)

◆ sprintf() [1/14]

sprintf ( sgps_event  ,
"%d"  ,
xgps_event   
)

◆ sprintf() [2/14]

sprintf ( tmp_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [3/14]

sprintf ( data_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [4/14]

sprintf ( config_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [5/14]

sprintf ( input_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [6/14]

sprintf ( output_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [7/14]

sprintf ( macro_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [8/14]

sprintf ( report_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [9/14]

sprintf ( log_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [10/14]

sprintf ( condor_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [11/14]

sprintf ( merge_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [12/14]

sprintf ( pp_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [13/14]

sprintf ( dump_dir  ,
"%s/tmp ,
eced_dir   
)

◆ sprintf() [14/14]

sprintf ( uparameter  ,
"%s/user_parameters.C ,
tmp_dir   
)

Variable Documentation

◆ _channelNamesMDC

TString _channelNamesMDC[NIFO_MAX]

Definition at line 33 of file cwb_eced.C.

◆ _channelNamesRaw

TString _channelNamesRaw[NIFO_MAX]

Definition at line 32 of file cwb_eced.C.

◆ _DQF

dqfile _DQF[20]

Definition at line 35 of file cwb_eced.C.

◆ _frFiles

TString _frFiles[2 *NIFO_MAX]

Definition at line 34 of file cwb_eced.C.

◆ _ifo

Definition at line 31 of file cwb_eced.C.

◆ _nDQF

int _nDQF =0

Definition at line 35 of file cwb_eced.C.

◆ _nIFO

int _nIFO =0

Definition at line 30 of file cwb_eced.C.

◆ bremove

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

Definition at line 343 of file cwb_eced.C.

◆ cedRHO

cedRHO =0.0

Definition at line 25 of file cwb_eced.C.

◆ channelTypesRaw

char channelTypesRaw[NIFO_MAX][1024]

Definition at line 37 of file cwb_eced.C.

◆ check

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

Definition at line 342 of file cwb_eced.C.

◆ cwb_eced_opts

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

Definition at line 51 of file cwb_eced.C.

◆ cwb_inet_opts

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

Definition at line 210 of file cwb_eced.C.

◆ eced_cfg

TString eced_cfg =""

Definition at line 52 of file cwb_eced.C.

◆ eced_dir

char eced_dir[1024] ="ECED_"

Definition at line 212 of file cwb_eced.C.

◆ else

else
Initial value:
{
char sgps_event[16]

Definition at line 90 of file cwb_eced.C.

◆ factors

factors[0] =1

Definition at line 27 of file cwb_eced.C.

◆ ldf_check

bool ldf_check[NIFO_MAX]

Definition at line 247 of file cwb_eced.C.

◆ ldf_command

char ldf_command[NIFO_MAX][1024]

Definition at line 248 of file cwb_eced.C.

◆ ldf_gcheck

bool ldf_gcheck =true

Definition at line 246 of file cwb_eced.C.

◆ nDQF

nDQF =0

Definition at line 109 of file cwb_eced.C.

◆ segLen

segLen =60

Definition at line 24 of file cwb_eced.C.

◆ simulation

simulation =0

Definition at line 26 of file cwb_eced.C.

◆ uparameter

char uparameter[1024]

Definition at line 373 of file cwb_eced.C.

◆ xgps_event

int xgps_event =0

Definition at line 50 of file cwb_eced.C.