24 #pragma GCC system_header 31 #include "TObjArray.h" 32 #include "TObjString.h" 50 cout <<
"Execute CWB_Plugin_MDC_OTF.C : Inject On The Fly MDC ..." << endl;
81 cout <<
"Error executing macro : " << cfg->
configPlugin.GetTitle() << endl;
99 if(ifo.CompareTo(net->
ifoName[0])==0) {
116 int runID = net->
nRun;
120 cout <<
"Dump : " << logFile << endl;
129 if(ifo.CompareTo(net->
ifoName[0])==0) {
131 for(
int k=0;
k<(
int)net->
mdcTime.size();
k++) cout <<
k <<
" mdcTime " << MDC.
mdcTime[
k] << endl;
132 for(
int k=0;
k<(
int)net->
mdcType.size();
k++) cout <<
k <<
" mdcType " << MDC.
mdcType[
k] << endl;
std::vector< char * > ifoName
detector * getifo(size_t n)
param: detector index
TString Get(wavearray< double > &x, TString ifo)
std::vector< std::string > mdcList
virtual void rate(double r)
std::vector< std::string > mdcType
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
std::vector< std::string > mdcType
virtual void start(double s)
std::vector< double > mdcTime
network ** net
NOISE_MDC_SIMULATION.
virtual size_t size() const
#define CWB_PLUGIN_EXPORT(VAR)
#define IMPORT(TYPE, VAR)
std::vector< std::string > mdcList
virtual void stop(double s)
void CWB_Plugin(TFile *jfile, CWB::config *cfg, network *net, WSeries< double > *x, TString ifo, int type)
COHERENCE.
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
void DumpLog(TString fName, TString label="", bool append=false)
std::vector< double > mdcTime