24 #pragma GCC system_header 31 #include "TObjArray.h" 32 #include "TObjString.h" 43 #define FRAME_SCRATCH_TIME 10000 // seconds before and after the segment range 55 if(
Tb!=0 ||
Te!=0)
return;
57 cout <<
"Execute CWB_Plugin_gw_data_find.C : Inject On The Fly MDC ..." << endl;
73 cout <<
"observatory : " << observatory <<
" type : " << type << endl;
74 if(observatory==
"") {cout <<
"CWB_Plugin_gw_data_find.C : observatory not defined !!!" << endl;gSystem->Exit(1);}
78 if(type==
"") {cout <<
"CWB_Plugin_gw_data_find.C : type not defined !!!" << endl;gSystem->Exit(1);}
82 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<< "\ layers : "<< nLAYERS<< "\ dF(hz) : "<< dF<< "\ 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]