21 #pragma GCC system_header 28 #include "TObjArray.h" 29 #include "TObjString.h" 43 cout <<
"-----> CWB_Plugin_MakeWhiteFrame.C" << endl;
44 cout <<
"ifo " << ifo.Data() << endl;
45 cout <<
"type " << type << endl;
53 if(
id<0) {cout <<
"Plugin : Error - bad ifo id" << endl; gSystem->Exit(1);}
75 sprintf(frFile,
"%s/white_%s_%s_job%lu-%lu-%lu.gwf",
84 cout <<
"CWB_Plugin_MakeWhiteFrame.C : write " << frFile << endl;
89 if(
TString(ifo).CompareTo(net->
ifoName[nIFO-1])==0) gSystem->Exit(0);
std::vector< char * > ifoName
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<< "\ 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
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.
virtual size_t size() const
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)