Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | List of all members
watplot Class Reference

Definition at line 27 of file watplot.hh.

Public Member Functions

 watplot (char *name=NULL, int=200, int=20, int=800, int=600)
 
virtual ~watplot ()
 
void blackmanharris (wavearray< double > &w)
 
void clear ()
 
TGraph * getGraph (int n)
 
double getmax (WSeries< double > &w, double t1, double t2)
 
double getmax (WSeries< double > *tf, double t1=0., double t2=0.)
 
void goptions (char *opt=NULL, int col=1, double t1=0., double t2=0., bool fft=false, float f1=0., float f2=0., bool psd=false, float t3=0., bool oneside=false)
 
void gtitle (TString title="", TString xtitle="", TString ytitle="")
 
void null ()
 
void plot (wavearray< double > &, char *=NULL, int=1, double=0., double=0., bool=false, float=0., float=0., bool=false, float=0., bool=false)
 
void plot (wavearray< double > *ts, char *o=NULL, int c=1, double t1=0., double t2=0., bool fft=false, float f1=0., float f2=0., bool psd=false, float t3=0., bool oneside=false)
 
void plot (wavearray< float > *ts, char *o=NULL, int c=1, double t1=0., double t2=0., bool fft=false, float f1=0., float f2=0., bool psd=false, float t3=0., bool oneside=false)
 
void plot (wavearray< float > &ts, char *o=NULL, int c=1, double t1=0., double t2=0., bool fft=false, float f1=0., float f2=0., bool psd=false, float t3=0., bool oneside=false)
 
void plot (wavearray< int > *ts, char *o=NULL, int c=1, double t1=0., double t2=0., bool fft=false, float f1=0., float f2=0., bool psd=false, float t3=0., bool oneside=false)
 
void plot (wavearray< int > &ts, char *o=NULL, int c=1, double t1=0., double t2=0., bool fft=false, float f1=0., float f2=0., bool psd=false, float t3=0., bool oneside=false)
 
void plot (WSeries< double > &, int=0, double=0., double=0., char *=NULL, int=256, int=0)
 
void plot (WSeries< double > *tf, int m=0, double t1=0., double t2=0., char *o=NULL, int p=256, int pid=0)
 
void plot (skymap &, char *=NULL, int=256)
 
void plot (netcluster *pwc, int cid, int nifo, char type='L', int irate=0, char *opt=NULL, int pal=256, bool wp=false)
 
void plot (clusterdata *pcd, double inj_mchirp)
 
void plsmooth (WSeries< double > &, int=0, double=0., double=0., char *=NULL, int=256, int=0)
 
void plsmooth (WSeries< double > *tf, int sfact=0, double t1=0., double t2=0., char *o=NULL, int p=256, int pid=0)
 
void print (TString fname)
 
double procOpt (int opt, double val00, double val90=0.)
 
void SetPlotStyle (int paletteId, int NCont=255)
 

Public Attributes

TCanvas * canvas
 
int col
 
wavearray< double > data
 
double f1
 
double f2
 
bool fft
 
std::vector< TGraph * > graph
 
std::vector< TH1F * > hist1D
 
TH2F * hist2D
 
int ncol
 
bool oneside
 
TString opt
 
bool psd
 
double t1
 
double t2
 
double t3
 
TString title
 
TString xtitle
 
TString ytitle
 

#include <watplot.hh>

Constructor & Destructor Documentation

watplot::watplot ( char *  name = NULL,
int  i1 = 200,
int  i2 = 20,
int  i3 = 800,
int  i4 = 600 
)

Definition at line 68 of file watplot.cc.

virtual watplot::~watplot ( )
inlinevirtual

Definition at line 34 of file watplot.hh.

Member Function Documentation

void watplot::blackmanharris ( wavearray< double > &  w)

Definition at line 1152 of file watplot.cc.

void watplot::clear ( )
inline

Definition at line 40 of file watplot.hh.

TGraph* watplot::getGraph ( int  n)
inline

Definition at line 168 of file watplot.hh.

double watplot::getmax ( WSeries< double > &  w,
double  t1,
double  t2 
)

Definition at line 413 of file watplot.cc.

double watplot::getmax ( WSeries< double > *  tf,
double  t1 = 0.,
double  t2 = 0. 
)
inline

Definition at line 146 of file watplot.hh.

void watplot::goptions ( char *  opt = NULL,
int  col = 1,
double  t1 = 0.,
double  t2 = 0.,
bool  fft = false,
float  f1 = 0.,
float  f2 = 0.,
bool  psd = false,
float  t3 = 0.,
bool  oneside = false 
)

Definition at line 1202 of file watplot.cc.

void watplot::gtitle ( TString  title = "",
TString  xtitle = "",
TString  ytitle = "" 
)

Definition at line 1237 of file watplot.cc.

void watplot::null ( )
inline

Definition at line 53 of file watplot.hh.

void watplot::plot ( wavearray< double > &  td,
char *  opt = NULL,
int  col = 1,
double  t1 = 0.,
double  t2 = 0.,
bool  fft = false,
float  f1 = 0.,
float  f2 = 0.,
bool  psd = false,
float  t3 = 0.,
bool  oneside = false 
)

Definition at line 132 of file watplot.cc.

void watplot::plot ( wavearray< double > *  ts,
char *  o = NULL,
int  c = 1,
double  t1 = 0.,
double  t2 = 0.,
bool  fft = false,
float  f1 = 0.,
float  f2 = 0.,
bool  psd = false,
float  t3 = 0.,
bool  oneside = false 
)
inline

Definition at line 66 of file watplot.hh.

void watplot::plot ( wavearray< float > *  ts,
char *  o = NULL,
int  c = 1,
double  t1 = 0.,
double  t2 = 0.,
bool  fft = false,
float  f1 = 0.,
float  f2 = 0.,
bool  psd = false,
float  t3 = 0.,
bool  oneside = false 
)
inline

Definition at line 72 of file watplot.hh.

void watplot::plot ( wavearray< float > &  ts,
char *  o = NULL,
int  c = 1,
double  t1 = 0.,
double  t2 = 0.,
bool  fft = false,
float  f1 = 0.,
float  f2 = 0.,
bool  psd = false,
float  t3 = 0.,
bool  oneside = false 
)
inline

Definition at line 80 of file watplot.hh.

void watplot::plot ( wavearray< int > *  ts,
char *  o = NULL,
int  c = 1,
double  t1 = 0.,
double  t2 = 0.,
bool  fft = false,
float  f1 = 0.,
float  f2 = 0.,
bool  psd = false,
float  t3 = 0.,
bool  oneside = false 
)
inline

Definition at line 88 of file watplot.hh.

void watplot::plot ( wavearray< int > &  ts,
char *  o = NULL,
int  c = 1,
double  t1 = 0.,
double  t2 = 0.,
bool  fft = false,
float  f1 = 0.,
float  f2 = 0.,
bool  psd = false,
float  t3 = 0.,
bool  oneside = false 
)
inline

Definition at line 96 of file watplot.hh.

void watplot::plot ( WSeries< double > &  w,
int  mode = 0,
double  t1 = 0.,
double  t2 = 0.,
char *  opt = NULL,
int  pal = 256,
int  palId = 0 
)

Definition at line 447 of file watplot.cc.

void watplot::plot ( WSeries< double > *  tf,
int  m = 0,
double  t1 = 0.,
double  t2 = 0.,
char *  o = NULL,
int  p = 256,
int  pid = 0 
)
inline

Definition at line 113 of file watplot.hh.

void watplot::plot ( skymap sm,
char *  opt = NULL,
int  pal = 256 
)

Definition at line 711 of file watplot.cc.

void watplot::plot ( netcluster pwc,
int  cid,
int  nifo,
char  type = 'L',
int  irate = 0,
char *  opt = NULL,
int  pal = 256,
bool  wp = false 
)

Definition at line 784 of file watplot.cc.

void watplot::plot ( clusterdata pcd,
double  inj_mchirp 
)

Definition at line 1003 of file watplot.cc.

void watplot::plsmooth ( WSeries< double > &  w,
int  sfact = 0,
double  t1 = 0.,
double  t2 = 0.,
char *  opt = NULL,
int  pal = 256,
int  palId = 0 
)

Definition at line 266 of file watplot.cc.

void watplot::plsmooth ( WSeries< double > *  tf,
int  sfact = 0,
double  t1 = 0.,
double  t2 = 0.,
char *  o = NULL,
int  p = 256,
int  pid = 0 
)
inline

Definition at line 118 of file watplot.hh.

void watplot::print ( TString  fname)

Definition at line 1178 of file watplot.cc.

double watplot::procOpt ( int  opt,
double  val00,
double  val90 = 0. 
)
inline

Definition at line 157 of file watplot.hh.

void watplot::SetPlotStyle ( int  paletteId,
int  NCont = 255 
)

Definition at line 1063 of file watplot.cc.

Member Data Documentation

TCanvas* watplot::canvas

Definition at line 174 of file watplot.hh.

int watplot::col

Definition at line 185 of file watplot.hh.

wavearray<double> watplot::data

Definition at line 179 of file watplot.hh.

double watplot::f1

Definition at line 189 of file watplot.hh.

double watplot::f2

Definition at line 190 of file watplot.hh.

bool watplot::fft

Definition at line 188 of file watplot.hh.

std::vector<TGraph*> watplot::graph

Definition at line 176 of file watplot.hh.

std::vector<TH1F*> watplot::hist1D

Definition at line 177 of file watplot.hh.

TH2F* watplot::hist2D

Definition at line 175 of file watplot.hh.

int watplot::ncol

Definition at line 183 of file watplot.hh.

bool watplot::oneside

Definition at line 193 of file watplot.hh.

TString watplot::opt

Definition at line 184 of file watplot.hh.

bool watplot::psd

Definition at line 191 of file watplot.hh.

double watplot::t1

Definition at line 186 of file watplot.hh.

double watplot::t2

Definition at line 187 of file watplot.hh.

double watplot::t3

Definition at line 192 of file watplot.hh.

TString watplot::title

Definition at line 180 of file watplot.hh.

TString watplot::xtitle

Definition at line 181 of file watplot.hh.

TString watplot::ytitle

Definition at line 182 of file watplot.hh.


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