26 TB.
checkFile(gSystem->Getenv(
"CWB_ROOTLOGON_FILE"));
27 TB.
checkFile(gSystem->Getenv(
"CWB_PARAMETERS_FILE"));
28 TB.
checkFile(gSystem->Getenv(
"CWB_UPARAMETERS_FILE"));
33 cout <<
"cwb_dump_inj.C : dump injection type list works only in simulation mode !!!" << endl;
39 cout <<
"cwb_dump_inj.C : Opening MDC frame file ... " <<
frFiles[
nIFO] << endl;
43 cout <<
"MDC " <<
" -> nfrFiles : " << nfrFiles << endl;
45 cout <<
"mdc_range : " << mdc_range.
start <<
" " << mdc_range.
stop << endl;
48 printf(
"GPS: %16.6f saved, injections: %d\n",GPS,nINJ);
54 cout <<
"cwb_dump_inj.C : read MDC list from configPlugin ... " <<
configPlugin.GetTitle() << endl;
59 sprintf(cmd,
"network* net = new network;");
60 gROOT->ProcessLine(cmd);
63 sprintf(cmd,
"CWB::config* cfg = (CWB::config*)%p;",cfg);
64 gROOT->ProcessLine(cmd);
66 gROOT->ProcessLine(cmd);
73 if(
MDC.GetInspiral()!=
"") {
92 cout << endl <<
"cwb_dump_inj.C - Error : injection types not found !!! " << endl << endl;
101 if(!overwrite) gSystem->Exit(1);
104 if((fP = fopen(mdc_inj_file,
"w")) == NULL) {
105 cout <<
"cwb_dump_inj.C : cannot open output file " << mdc_inj_file <<
". \n";
108 cout <<
"Write output file : " << mdc_inj_file << endl << endl;
112 cout << ostr << endl;
125 cout <<
"Output inj MDC file : " << mdc_inj_file << endl << endl;
size_t readMDClog(char *, double=0., int=11, int=12)
param: MDC log file param: approximate gps time
char frFiles[NIFO_MAX+1][256]
std::vector< std::string > mdcType
void Import(TString umacro="")
fprintf(stdout,"start=%f duration=%f rate=%f\, x.start(), x.size()/x.rate(), x.rate())
printf("total live time: non-zero lags = %10.1f \, liveTot)
vector< waveform > wfList
condor_log_dir ReplaceAll("X_HOME", uhome.Data())
sprintf(cmd,"network* net = new network;")