3 #pragma GCC system_header
10 #include "TObjArray.h"
11 #include "TObjString.h"
25 cout <<
"-----> CWB_Plugin_MakeWhiteFrame.C" << endl;
26 cout <<
"ifo " << ifo.Data() << endl;
27 cout <<
"type " << type << endl;
35 if(
id<0) {cout <<
"Plugin : Error - bad ifo id" << endl; gSystem->Exit(1);}
57 sprintf(frFile,
"%s/white_%s_%s_job%lu-%lu-%lu.gwf",
66 cout <<
"CWB_Plugin_MakeWhiteFrame.C : write " << frFile << endl;
71 if(
TString(ifo).CompareTo(net->
ifoName[nIFO-1])==0) gSystem->Exit(0);
std::vector< char * > ifoName
virtual size_t size() const
virtual void rate(double r)
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
CWB::frame fr(FRLIST_NAME)
void writeFrame(wavearray< double > x, TString frName, TString chName)
virtual void start(double s)
void CWB_Plugin(TFile *jfile, CWB::config *cfg, network *net, WSeries< double > *x, TString ifo, int type)
COHERENCE.
network ** net
NOISE_MDC_SIMULATION.
char channelNamesRaw[NIFO_MAX][50]
virtual void stop(double s)
void Forward(int n=-1)
param: wavelet - n is number of steps (-1 means full decomposition)
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
virtual void resize(unsigned int)
void Inverse(int n=-1)
param: n - number of steps (-1 means full reconstruction)