Logo coherent WaveBurst  
Library Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Static Public Member Functions | Static Private Member Functions | List of all members
CWB::Toolbox Class Reference

Definition at line 111 of file Toolbox.hh.

Static Public Member Functions

static TString addCWBFlags (TMacro macro, TString ofname="")
 
static bool checkFile (TString fName, bool question=false, TString message="")
 
static void convertSampleRate (wavearray< double > iw, wavearray< double > ow)
 
static void convertSampleRate (wavearray< double > ix, wavearray< double > iy, wavearray< double > ox, wavearray< double > &oy)
 
static int createDagFile (vector< waveSegment > jobList, TString condor_dir, TString label, int jobmin=0, int jobmax=0)
 
static int createDagFile (vector< slag > slagList, TString condor_dir, TString label, int jobmin=0, int jobmax=0)
 
static int createDagFile (vector< int > jobList, TString condor_dir, TString label, vector< TString > jobFiles, TString stage="CWB_STAGE_FULL", int jobmin=0, int jobmax=0)
 
static int createDagFile (vector< waveSegment > jobList, TString condor_dir, TString label, vector< TString > jobFiles, TString stage="CWB_STAGE_FULL", int jobmin=0, int jobmax=0)
 
static int createDagFile (vector< slag > slagList, TString condor_dir, TString label, vector< TString > jobFiles, TString stage="CWB_STAGE_FULL", int jobmin=0, int jobmax=0)
 
static int createSubFile (TString label, TString condor_dir, TString out_dir, TString err_dir, TString log_dir, TString ext="", TString condor_tag="")
 
static TString DAG2LSF (char *dagFile, char *data_label, char *nodedir, char *data_dir, char *condor_dir, char *log_dir, char *output_dir, char *work_dir)
 
static void doPoissonPlot (int nIFO, wavearray< double > *Wlag, wavearray< double > Tlag, wavearray< double > Rlag, TString odir)
 
static void dumpFileList (vector< TString > fileList, TString ofName)
 
static void dumpJobList (vector< waveSegment > ilist, TString fName, double segLen=600., double segMLS=300., double segEdge=8.)
 
static int dumpSegList (vector< waveSegment > list, TString fName, bool c4=false)
 
static void dumpSlagList (vector< slag > slagList, TString slagFile, bool slagOnly=false)
 
static vector< intgetCondorJobList (TString condor_dir, TString label)
 
static wavearray< double > GetDetectorPSD (TString fName, double fWidth=8192., double dFreq=1.)
 
static char * getEnvCWB ()
 
static vector< TStringgetFileListFromDir (TString dir_name, TString endString="", TString beginString="", TString containString="", bool fast=false)
 
static TString getFileName (FILE *fp)
 
static TString getFileName (char *symlink)
 
static wavearray< double > getHilbertEnvelope (wavearray< double > x)
 
static wavearray< double > getHilbertIFrequency (wavearray< double > x)
 
static wavearray< double > getHilbertTransform (wavearray< double > x)
 
static vector< float > getJobBenchmark (TString ifName, int stageID, TString bench)
 
static vector< float > getJobBenchmark (TString ifName, int stageID, int resID, int factorID, TString bench)
 
static std::map< int, TStringgetJobFileMapFromDir (TString dir_name, TString endString="", TString beginString="", TString containString="", bool fast=false)
 
static int getJobId (TString file, TString fext="root")
 
static vector< waveSegmentgetJobList (vector< waveSegment > ilist, double segLen=600., double segMLS=300., double segEdge=8.)
 
static vector< waveSegmentgetJobList (vector< waveSegment > cat1List, vector< waveSegment > cat2List, double segLen=600., double segMLS=300., double segTHR=30., double segEdge=8.)
 
static double getLiveTime (vector< waveSegment > &jobList, vector< waveSegment > &dqList)
 
static double getLiveTime (vector< waveSegment > &jobList, vector< waveSegment > &dqList, vector< double > shiftList)
 
static double getLiveTime (int nIFO, TChain &liv, wavearray< double > &Trun, wavearray< double > *Wlag, wavearray< double > *Wslag, wavearray< double > &Tlag, wavearray< double > &Tdlag, int lag_number=-1, int slag_number=-1, int dummy=0)
 
static waveSegment getMaxSeg (vector< waveSegment > list)
 
static TString GetMDCLog (TString log, int pos)
 
static int GetMDCLogSize (TString log)
 
static double getMDCShift (mdcshift mshift, double time)
 
static vector< intgetMergeJobList (TString merge_dir, TString label, int version)
 
static vector< intgetMergeJobList (TString ifname, vector< TString > &jobFileList)
 
static vector< intgetMergeJobList (TString ifname)
 
static TString getParameter (TString options, TString param="")
 
static wavearray< double > GetPhase (wavearray< double > hi, wavearray< double > hr, wavearray< double > &fi, wavearray< double > &fr, wavearray< double > &s)
 
static wavecomplex getRate (double rho, double Tgap, int nIFO, TChain &wav, wavearray< int > &Wsel, wavearray< double > *Wlag, wavearray< double > *Wslag, wavearray< double > Tlag)
 
static vector< waveSegmentgetSegList (int jobId, int nIFO, double segLen, double segMLS, double segEdge, vector< waveSegment > dqList)
 
static vector< waveSegmentgetSegList (slag SLAG, vector< waveSegment > jobList, double segLen, double segMLS, double segEdge, vector< waveSegment > dqList)
 
static void getSimNoise (wavearray< double > &u, TString fName, int seed, int run)
 
static void getSineFittingParams (double a, double b, double c, double rate, double &amplitude, double &omega, double &phase)
 
static slag getSlag (vector< slag > slagList, int jobid)
 
static vector< waveSegmentgetSlagJobList (vector< waveSegment > ilist, int seglen=600)
 
static vector< slaggetSlagList (size_t nIFO, size_t slagSize, int slagSegs, int slagOff, size_t slagMin, size_t slagMax, size_t *slagSite, char *slagFile=NULL)
 
static vector< slaggetSlagList (vector< slag > slagList, vector< TString > ifos, double segLen, double segMin, double segEdge, int nDQF, dqfile *iDQF, CWB_CAT dqcat)
 
static void getSlagList (vector< slag > &slagList, int slagSize, int slagRank, int nifo, vector< int > &id)
 
static int GetStepFunction (TString fName, vector< double > &x, vector< double > &y, vector< double > &ex=DEFAULT_DOUBLE_VECTOR, vector< double > &ey=DEFAULT_DOUBLE_VECTOR)
 
static double GetStepFunction (TString option, TString fName, double V=0, vector< double > &x=DEFAULT_DOUBLE_VECTOR, vector< double > &y=DEFAULT_DOUBLE_VECTOR, vector< double > &ex=DEFAULT_DOUBLE_VECTOR, vector< double > &ey=DEFAULT_DOUBLE_VECTOR)
 
static TString getTemporaryFileName (TString label="temporary", TString extension="tmp")
 
static double getTimeSegList (vector< waveSegment > list)
 
static void getUniqueFileList (TString ifile, TString ofile)
 
static wavearray< double > getWignerVilleTransform (wavearray< double > x)
 
static double getZeroLiveTime (int nIFO, TChain &liv, int dummy=0)
 
static vector< waveSegmentinvertSegments (vector< waveSegment > &ilist)
 
static bool isFileExisting (TString fName)
 
static bool isLeafInTree (TTree *itree, TString leaf)
 
static void makeSpectrum (wavearray< double > &psd, wavearray< double > x, double chuncklen=8, double scratchlen=0, bool oneside=true)
 
static void makeSpectrum (TString ofname, wavearray< double > x, double chuncklen=8, double scratchlen=0, bool oneside=true)
 
static vector< TStringmergeCWBTrees (TString dir_name, bool simulation, TString odir, TString label, bool brms=false, bool bvar=false, bool bpsm=false)
 
static void mergeCWBTrees (vector< TString > fileList, bool simulation, TString odir, TString label, bool brms=false, bool bvar=false, bool bpsm=false)
 
static vector< TStringmergeCWBTrees (int nthreads, TString dir_name, bool simulation, TString odir, TString label, bool brms=false, bool bvar=false, bool bpsm=false)
 
static void mergeCWBTrees (int nthreads, vector< TString > fileList, bool simulation, TString odir, TString label, bool brms=false, bool bvar=false, bool bpsm=false)
 
static vector< waveSegmentmergeSegLists (vector< waveSegment > &ilist1, vector< waveSegment > &ilist2)
 
static void mergeTrees (vector< TString > fileList, TString treeName, TString odir, TString ofName, bool bhistory)
 
static void mkDir (TString dir, bool question=false, bool remove=true)
 
static int mksTemp (char *fTemplate)
 
static void PrintProcInfo (TString str="")
 
static bool question (TString question)
 
static char * readFile (TString ifName)
 
static vector< TStringreadFileList (TString ifName)
 
static vector< waveSegmentreadSegList (dqfile DQF)
 
static vector< waveSegmentreadSegList (int nDQF, dqfile *DQF, CWB_CAT dqcat)
 
static vector< waveSegmentreadSegments (TString ifile)
 
static void resampleToPowerOfTwo (wavearray< double > &w)
 
static bool rmDir (TString dir, bool question=true)
 
static int setChunk (TString ifName, TString idir, TString odir, TString trname, int chunk)
 
static int setCuts (TString ifName, TString idir, TString odir, TString trname, TString cuts, TString olabel)
 
static int setIFAR (TString ifName, TString idir, TString odir, TString trname, TString sels, TString farFile, int irho, TString olabel, bool inclusive=true)
 
static TString SetMDCLog (TString log, int pos, TString val)
 
static TString SetMDCLog (TString log, int pos, double val)
 
static int setMultiplicity (TString ifName, TString idir, TString odir, int nIFO, double dTime)
 
static void setSlagShifts (slag SLAG, vector< TString > ifos, double segLen, int nDQF, dqfile *DQF)
 
static void setUniqueEvents (TString ifwave, TString ofwave, int nIFO, int pp_irho)
 
static int setVeto (TString ifName, TString idir, TString odir, vector< TString > ifos, int nVDQF, dqfile *VDQF, int nDQF, dqfile *DQF, double segLen, double segMLS, double segEdge)
 
static int shiftBurstMDCLog (std::vector< std::string > &mdcList, vector< TString > ifos, double mdc_shift)
 
static vector< waveSegmentsortSegments (vector< waveSegment > &ilist)
 
static vector< TStringsortStrings (vector< TString > ilist)
 
static vector< waveSegmentunionSegments (vector< waveSegment > &ilist)
 
static void unWrapPhase (wavearray< float > &p)
 
static TString WriteFrameFile (wavearray< double > x, TString chName, TString frName, TString frLabel, TString frDir="")
 

Static Private Member Functions

static void blackmanharris (double *window, int n)
 

#include <Toolbox.hh>

Member Function Documentation

TString CWB::Toolbox::addCWBFlags ( TMacro  macro,
TString  ofname = "" 
)
static

Definition at line 4117 of file Toolbox.cc.

void CWB::Toolbox::blackmanharris ( double *  window,
int  n 
)
staticprivate

Definition at line 306 of file Toolbox.cc.

bool CWB::Toolbox::checkFile ( TString  fName,
bool  question = false,
TString  message = "" 
)
static
Initial value:
{
CWB::Toolbox::checkFile(gSystem->Getenv("CWB_ROOTLOGON_FILE"))
static bool checkFile(TString fName, bool question=false, TString message="")
Definition: Toolbox.cc:3959

Definition at line 3959 of file Toolbox.cc.

void CWB::Toolbox::convertSampleRate ( wavearray< double >  iw,
wavearray< double >  ow 
)
static

Definition at line 5116 of file Toolbox.cc.

void CWB::Toolbox::convertSampleRate ( wavearray< double >  ix,
wavearray< double >  iy,
wavearray< double >  ox,
wavearray< double > &  oy 
)
static

Definition at line 5160 of file Toolbox.cc.

int CWB::Toolbox::createDagFile ( vector< waveSegment jobList,
TString  condor_dir,
TString  label,
int  jobmin = 0,
int  jobmax = 0 
)
static

Definition at line 1155 of file Toolbox.cc.

int CWB::Toolbox::createDagFile ( vector< slag slagList,
TString  condor_dir,
TString  label,
int  jobmin = 0,
int  jobmax = 0 
)
static

Definition at line 1238 of file Toolbox.cc.

int CWB::Toolbox::createDagFile ( vector< int jobList,
TString  condor_dir,
TString  label,
vector< TString jobFiles,
TString  stage = "CWB_STAGE_FULL",
int  jobmin = 0,
int  jobmax = 0 
)
static

Definition at line 1134 of file Toolbox.cc.

int CWB::Toolbox::createDagFile ( vector< waveSegment jobList,
TString  condor_dir,
TString  label,
vector< TString jobFiles,
TString  stage = "CWB_STAGE_FULL",
int  jobmin = 0,
int  jobmax = 0 
)
static

Definition at line 1173 of file Toolbox.cc.

int CWB::Toolbox::createDagFile ( vector< slag slagList,
TString  condor_dir,
TString  label,
vector< TString jobFiles,
TString  stage = "CWB_STAGE_FULL",
int  jobmin = 0,
int  jobmax = 0 
)
static

Definition at line 1256 of file Toolbox.cc.

int CWB::Toolbox::createSubFile ( TString  label,
TString  condor_dir,
TString  out_dir,
TString  err_dir,
TString  log_dir,
TString  ext = "",
TString  condor_tag = "" 
)
static

Definition at line 1320 of file Toolbox.cc.

TString CWB::Toolbox::DAG2LSF ( char *  dagFile,
char *  data_label,
char *  nodedir,
char *  data_dir,
char *  condor_dir,
char *  log_dir,
char *  output_dir,
char *  work_dir 
)
static

Definition at line 1544 of file Toolbox.cc.

void CWB::Toolbox::doPoissonPlot ( int  nIFO,
wavearray< double > *  Wlag,
wavearray< double >  Tlag,
wavearray< double >  Rlag,
TString  odir 
)
static

Definition at line 4480 of file Toolbox.cc.

void CWB::Toolbox::dumpFileList ( vector< TString fileList,
TString  ofName 
)
static

Definition at line 2752 of file Toolbox.cc.

void CWB::Toolbox::dumpJobList ( vector< waveSegment ilist,
TString  fName,
double  segLen = 600.,
double  segMLS = 300.,
double  segEdge = 8. 
)
static

Definition at line 608 of file Toolbox.cc.

int CWB::Toolbox::dumpSegList ( vector< waveSegment list,
TString  fName,
bool  c4 = false 
)
static

Definition at line 554 of file Toolbox.cc.

void CWB::Toolbox::dumpSlagList ( vector< slag slagList,
TString  slagFile,
bool  slagOnly = false 
)
static

Definition at line 1070 of file Toolbox.cc.

vector< int > CWB::Toolbox::getCondorJobList ( TString  condor_dir,
TString  label 
)
static

Definition at line 1381 of file Toolbox.cc.

wavearray< double > CWB::Toolbox::GetDetectorPSD ( TString  fName,
double  fWidth = 8192.,
double  dFreq = 1. 
)
static

Definition at line 5057 of file Toolbox.cc.

char * CWB::Toolbox::getEnvCWB ( )
static

Definition at line 4670 of file Toolbox.cc.

vector< TString > CWB::Toolbox::getFileListFromDir ( TString  dir_name,
TString  endString = "",
TString  beginString = "",
TString  containString = "",
bool  fast = false 
)
static

Definition at line 4395 of file Toolbox.cc.

TString CWB::Toolbox::getFileName ( FILE *  fp)
static

Definition at line 6067 of file Toolbox.cc.

TString CWB::Toolbox::getFileName ( char *  symlink)
static

Definition at line 6092 of file Toolbox.cc.

wavearray< double > CWB::Toolbox::getHilbertEnvelope ( wavearray< double >  x)
static

Definition at line 6202 of file Toolbox.cc.

wavearray< double > CWB::Toolbox::getHilbertIFrequency ( wavearray< double >  x)
static

Definition at line 6222 of file Toolbox.cc.

wavearray< double > CWB::Toolbox::getHilbertTransform ( wavearray< double >  x)
static

Definition at line 6182 of file Toolbox.cc.

vector< float > CWB::Toolbox::getJobBenchmark ( TString  ifName,
int  stageID,
TString  bench 
)
static

Definition at line 1428 of file Toolbox.cc.

vector< float > CWB::Toolbox::getJobBenchmark ( TString  ifName,
int  stageID,
int  resID,
int  factorID,
TString  bench 
)
static

Definition at line 1438 of file Toolbox.cc.

std::map< int, TString > CWB::Toolbox::getJobFileMapFromDir ( TString  dir_name,
TString  endString = "",
TString  beginString = "",
TString  containString = "",
bool  fast = false 
)
static

Definition at line 4456 of file Toolbox.cc.

int CWB::Toolbox::getJobId ( TString  file,
TString  fext = "root" 
)
static

Definition at line 5984 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::getJobList ( vector< waveSegment ilist,
double  segLen = 600.,
double  segMLS = 300.,
double  segEdge = 8. 
)
static

Definition at line 629 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::getJobList ( vector< waveSegment cat1List,
vector< waveSegment cat2List,
double  segLen = 600.,
double  segMLS = 300.,
double  segTHR = 30.,
double  segEdge = 8. 
)
static

Definition at line 749 of file Toolbox.cc.

double CWB::Toolbox::getLiveTime ( vector< waveSegment > &  jobList,
vector< waveSegment > &  dqList 
)
static

Definition at line 2077 of file Toolbox.cc.

double CWB::Toolbox::getLiveTime ( vector< waveSegment > &  jobList,
vector< waveSegment > &  dqList,
vector< double >  shiftList 
)
static

Definition at line 2085 of file Toolbox.cc.

double CWB::Toolbox::getLiveTime ( int  nIFO,
TChain &  liv,
wavearray< double > &  Trun,
wavearray< double > *  Wlag,
wavearray< double > *  Wslag,
wavearray< double > &  Tlag,
wavearray< double > &  Tdlag,
int  lag_number = -1,
int  slag_number = -1,
int  dummy = 0 
)
static

Definition at line 4213 of file Toolbox.cc.

waveSegment CWB::Toolbox::getMaxSeg ( vector< waveSegment list)
static

Definition at line 1810 of file Toolbox.cc.

TString CWB::Toolbox::GetMDCLog ( TString  log,
int  pos 
)
static

Definition at line 2261 of file Toolbox.cc.

int CWB::Toolbox::GetMDCLogSize ( TString  log)
static

Definition at line 2246 of file Toolbox.cc.

double CWB::Toolbox::getMDCShift ( mdcshift  mshift,
double  time 
)
static

Definition at line 2279 of file Toolbox.cc.

vector< int > CWB::Toolbox::getMergeJobList ( TString  merge_dir,
TString  label,
int  version 
)
static

Definition at line 1681 of file Toolbox.cc.

vector< int > CWB::Toolbox::getMergeJobList ( TString  ifname,
vector< TString > &  jobFileList 
)
static

Definition at line 1714 of file Toolbox.cc.

vector< int > CWB::Toolbox::getMergeJobList ( TString  ifname)
static

Definition at line 1700 of file Toolbox.cc.

TString CWB::Toolbox::getParameter ( TString  options,
TString  param = "" 
)
static

Definition at line 6014 of file Toolbox.cc.

wavearray< double > CWB::Toolbox::GetPhase ( wavearray< double >  hi,
wavearray< double >  hr,
wavearray< double > &  fi,
wavearray< double > &  fr,
wavearray< double > &  s 
)
static

Definition at line 6449 of file Toolbox.cc.

wavecomplex CWB::Toolbox::getRate ( double  rho,
double  Tgap,
int  nIFO,
TChain &  wav,
wavearray< int > &  Wsel,
wavearray< double > *  Wlag,
wavearray< double > *  Wslag,
wavearray< double >  Tlag 
)
static

Definition at line 5480 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::getSegList ( int  jobId,
int  nIFO,
double  segLen,
double  segMLS,
double  segEdge,
vector< waveSegment dqList 
)
static

Definition at line 2782 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::getSegList ( slag  SLAG,
vector< waveSegment jobList,
double  segLen,
double  segMLS,
double  segEdge,
vector< waveSegment dqList 
)
static

Definition at line 2031 of file Toolbox.cc.

void CWB::Toolbox::getSimNoise ( wavearray< double > &  u,
TString  fName,
int  seed,
int  run 
)
static

Definition at line 4880 of file Toolbox.cc.

void CWB::Toolbox::getSineFittingParams ( double  a,
double  b,
double  c,
double  rate,
double &  amplitude,
double &  omega,
double &  phase 
)
static

Definition at line 6352 of file Toolbox.cc.

slag CWB::Toolbox::getSlag ( vector< slag slagList,
int  jobid 
)
static

Definition at line 1827 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::getSlagJobList ( vector< waveSegment ilist,
int  seglen = 600 
)
static

Definition at line 1774 of file Toolbox.cc.

vector< slag > CWB::Toolbox::getSlagList ( size_t  nIFO,
size_t  slagSize,
int  slagSegs,
int  slagOff,
size_t  slagMin,
size_t  slagMax,
size_t *  slagSite,
char *  slagFile = NULL 
)
static

Definition at line 792 of file Toolbox.cc.

vector< slag > CWB::Toolbox::getSlagList ( vector< slag slagList,
vector< TString ifos,
double  segLen,
double  segMin,
double  segEdge,
int  nDQF,
dqfile iDQF,
CWB_CAT  dqcat 
)
static

Definition at line 1843 of file Toolbox.cc.

void CWB::Toolbox::getSlagList ( vector< slag > &  slagList,
int  slagSize,
int  slagRank,
int  nifo,
vector< int > &  id 
)
static

Definition at line 1027 of file Toolbox.cc.

int CWB::Toolbox::GetStepFunction ( TString  fName,
vector< double > &  x,
vector< double > &  y,
vector< double > &  ex = DEFAULT_DOUBLE_VECTOR,
vector< double > &  ey = DEFAULT_DOUBLE_VECTOR 
)
static

Definition at line 5716 of file Toolbox.cc.

double CWB::Toolbox::GetStepFunction ( TString  option,
TString  fName,
double  V = 0,
vector< double > &  x = DEFAULT_DOUBLE_VECTOR,
vector< double > &  y = DEFAULT_DOUBLE_VECTOR,
vector< double > &  ex = DEFAULT_DOUBLE_VECTOR,
vector< double > &  ey = DEFAULT_DOUBLE_VECTOR 
)
static

Definition at line 5741 of file Toolbox.cc.

TString CWB::Toolbox::getTemporaryFileName ( TString  label = "temporary",
TString  extension = "tmp" 
)
static

Definition at line 5940 of file Toolbox.cc.

double CWB::Toolbox::getTimeSegList ( vector< waveSegment list)
static

Definition at line 594 of file Toolbox.cc.

void CWB::Toolbox::getUniqueFileList ( TString  ifile,
TString  ofile 
)
static

Definition at line 6115 of file Toolbox.cc.

wavearray< double > CWB::Toolbox::getWignerVilleTransform ( wavearray< double >  x)
static

Definition at line 6258 of file Toolbox.cc.

double CWB::Toolbox::getZeroLiveTime ( int  nIFO,
TChain &  liv,
int  dummy = 0 
)
static

Definition at line 4176 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::invertSegments ( vector< waveSegment > &  ilist)
static

Definition at line 230 of file Toolbox.cc.

bool CWB::Toolbox::isFileExisting ( TString  fName)
static

Definition at line 3940 of file Toolbox.cc.

bool CWB::Toolbox::isLeafInTree ( TTree *  itree,
TString  leaf 
)
static

Definition at line 4753 of file Toolbox.cc.

void CWB::Toolbox::makeSpectrum ( wavearray< double > &  psd,
wavearray< double >  x,
double  chuncklen = 8,
double  scratchlen = 0,
bool  oneside = true 
)
static

Definition at line 4776 of file Toolbox.cc.

void CWB::Toolbox::makeSpectrum ( TString  ofname,
wavearray< double >  x,
double  chuncklen = 8,
double  scratchlen = 0,
bool  oneside = true 
)
static

Definition at line 4849 of file Toolbox.cc.

vector< TString > CWB::Toolbox::mergeCWBTrees ( TString  dir_name,
bool  simulation,
TString  odir,
TString  label,
bool  brms = false,
bool  bvar = false,
bool  bpsm = false 
)
static

Definition at line 2445 of file Toolbox.cc.

void CWB::Toolbox::mergeCWBTrees ( vector< TString fileList,
bool  simulation,
TString  odir,
TString  label,
bool  brms = false,
bool  bvar = false,
bool  bpsm = false 
)
static

Definition at line 2465 of file Toolbox.cc.

vector< TString > CWB::Toolbox::mergeCWBTrees ( int  nthreads,
TString  dir_name,
bool  simulation,
TString  odir,
TString  label,
bool  brms = false,
bool  bvar = false,
bool  bpsm = false 
)
static

Definition at line 2311 of file Toolbox.cc.

void CWB::Toolbox::mergeCWBTrees ( int  nthreads,
vector< TString fileList,
bool  simulation,
TString  odir,
TString  label,
bool  brms = false,
bool  bvar = false,
bool  bpsm = false 
)
static

Definition at line 2332 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::mergeSegLists ( vector< waveSegment > &  ilist1,
vector< waveSegment > &  ilist2 
)
static

Definition at line 333 of file Toolbox.cc.

void CWB::Toolbox::mergeTrees ( vector< TString fileList,
TString  treeName,
TString  odir,
TString  ofName,
bool  bhistory 
)
static

Definition at line 2633 of file Toolbox.cc.

void CWB::Toolbox::mkDir ( TString  dir,
bool  question = false,
bool  remove = true 
)
static

Definition at line 4003 of file Toolbox.cc.

static int CWB::Toolbox::mksTemp ( char *  fTemplate)
inlinestatic

Definition at line 324 of file Toolbox.hh.

void CWB::Toolbox::PrintProcInfo ( TString  str = "")
static

Definition at line 5922 of file Toolbox.cc.

bool CWB::Toolbox::question ( TString  question)
static

Definition at line 4095 of file Toolbox.cc.

char * CWB::Toolbox::readFile ( TString  ifName)
static

Definition at line 2818 of file Toolbox.cc.

vector< TString > CWB::Toolbox::readFileList ( TString  ifName)
static

Definition at line 2722 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::readSegList ( dqfile  DQF)
static

Definition at line 392 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::readSegList ( int  nDQF,
dqfile DQF,
CWB_CAT  dqcat 
)
static

Definition at line 514 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::readSegments ( TString  ifile)
static

Definition at line 57 of file Toolbox.cc.

void CWB::Toolbox::resampleToPowerOfTwo ( wavearray< double > &  w)
static

Definition at line 5889 of file Toolbox.cc.

bool CWB::Toolbox::rmDir ( TString  dir,
bool  question = true 
)
static

Definition at line 4054 of file Toolbox.cc.

int CWB::Toolbox::setChunk ( TString  ifName,
TString  idir,
TString  odir,
TString  trname,
int  chunk 
)
static

Definition at line 3197 of file Toolbox.cc.

int CWB::Toolbox::setCuts ( TString  ifName,
TString  idir,
TString  odir,
TString  trname,
TString  cuts,
TString  olabel 
)
static

Definition at line 2859 of file Toolbox.cc.

int CWB::Toolbox::setIFAR ( TString  ifName,
TString  idir,
TString  odir,
TString  trname,
TString  sels,
TString  farFile,
int  irho,
TString  olabel,
bool  inclusive = true 
)
static

Definition at line 2973 of file Toolbox.cc.

TString CWB::Toolbox::SetMDCLog ( TString  log,
int  pos,
TString  val 
)
static

Definition at line 2221 of file Toolbox.cc.

TString CWB::Toolbox::SetMDCLog ( TString  log,
int  pos,
double  val 
)
static

Definition at line 2204 of file Toolbox.cc.

int CWB::Toolbox::setMultiplicity ( TString  ifName,
TString  idir,
TString  odir,
int  nIFO,
double  dTime 
)
static

Definition at line 5194 of file Toolbox.cc.

void CWB::Toolbox::setSlagShifts ( slag  SLAG,
vector< TString ifos,
double  segLen,
int  nDQF,
dqfile DQF 
)
static

Definition at line 2000 of file Toolbox.cc.

void CWB::Toolbox::setUniqueEvents ( TString  ifwave,
TString  ofwave,
int  nIFO,
int  pp_irho 
)
static

Definition at line 3318 of file Toolbox.cc.

int CWB::Toolbox::setVeto ( TString  ifName,
TString  idir,
TString  odir,
vector< TString ifos,
int  nVDQF,
dqfile VDQF,
int  nDQF,
dqfile DQF,
double  segLen,
double  segMLS,
double  segEdge 
)
static

Definition at line 3497 of file Toolbox.cc.

int CWB::Toolbox::shiftBurstMDCLog ( std::vector< std::string > &  mdcList,
vector< TString ifos,
double  mdc_shift 
)
static

Definition at line 2157 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::sortSegments ( vector< waveSegment > &  ilist)
static

Definition at line 168 of file Toolbox.cc.

vector< TString > CWB::Toolbox::sortStrings ( vector< TString ilist)
static

Definition at line 5965 of file Toolbox.cc.

vector< waveSegment > CWB::Toolbox::unionSegments ( vector< waveSegment > &  ilist)
static

Definition at line 102 of file Toolbox.cc.

void CWB::Toolbox::unWrapPhase ( wavearray< float > &  p)
static

Definition at line 6295 of file Toolbox.cc.

TString CWB::Toolbox::WriteFrameFile ( wavearray< double >  x,
TString  chName,
TString  frName,
TString  frLabel,
TString  frDir = "" 
)
static

Definition at line 6379 of file Toolbox.cc.


The documentation for this class was generated from the following files: