6 #pragma GCC system_header
13 #include "TObjArray.h"
14 #include "TObjString.h"
25 #define FRAME_SCRATCH_TIME 10000 // seconds before and after the segment range
37 if(
Tb!=0 ||
Te!=0)
return;
39 cout <<
"Execute CWB_Plugin_gw_data_find.C : Inject On The Fly MDC ..." << endl;
55 cout <<
"observatory : " << observatory <<
" type : " << type << endl;
56 if(observatory==
"") {cout <<
"CWB_Plugin_gw_data_find.C : observatory not defined !!!" << endl;gSystem->Exit(1);}
60 if(type==
"") {cout <<
"CWB_Plugin_gw_data_find.C : type not defined !!!" << endl;gSystem->Exit(1);}
64 sprintf(cmd,
"gw_data_find --observatory %s --type %s --gps-start-time %g --gps-end-time %g --url file > %s/%s_gw_data_find.frames",
detector * getifo(size_t n)
param: detector index
#define FRAME_SCRATCH_TIME
cout<< endl;cout<< "ts size = "<< ts.size()<< " ts rate = "<< ts.rate()<< endl;tf.Forward(ts, wdm);int levels=tf.getLevel();cout<< "tf size = "<< tf.size()<< endl;double dF=tf.resolution();double dT=1./(2 *dF);cout<< "rate(hz) : "<< RATE<< "\t layers : "<< nLAYERS<< "\t dF(hz) : "<< dF<< "\t dT(ms) : "<< dT *1000.<< endl;int itime=TIME_PIXEL_INDEX;int ifreq=FREQ_PIXEL_INDEX;int index=(levels+1)*itime+ifreq;double time=itime *dT;double freq=(ifreq >0)?ifreq *dF:dF/4;cout<< endl;cout<< "PIXEL TIME = "<< time<< " sec "<< endl;cout<< "PIXEL FREQ = "<< freq<< " Hz "<< endl;cout<< endl;wavearray< double > x
void CWB_Plugin(TFile *jfile, CWB::config *cfg, network *net, WSeries< double > *x, TString ifo, int type)
COHERENCE.
network ** net
NOISE_MDC_SIMULATION.
#define IMPORT(TYPE, VAR)
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
char frFiles[2 *NIFO_MAX][1024]