Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
cwb_report_prod_1.C File Reference
#include "GToolbox.hh"
Include dependency graph for cwb_report_prod_1.C:

Functions

wave Add (net_file_name)
 
live Add (liv_file_name)
 
c1 Clear ()
 
gSystem Exec ("date")
 
gSystem Exit (0)
 
 fclose (ftrig)
 
 for ()
 
gROOT ForceStyle ()
 
 fprintf (ftrig,"#Start\tStop\n")
 
 fprintf (ftrig,"%d\t%d\n",(int) T_bgn,(int) T_end)
 
GetEntry (0)
 
rho_T GetXaxis () -> SetTitle(fname)
 
rho_T GetYaxis () -> SetTitle("#rho")
 
 if (ftrig==NULL)
 
 if (delete c1)
 
 if (pp_rho_log)
 
TChain live ("liveTime")
 
c1 Print (fname)
 
c1 SaveAs (fname)
 
cout<<"netplot starts..."
<< endl;if(nIFO==1){CWB::config
config;config.Import();config.SetSingleDetectorMode();config.Export();}TCanvas
*c1=new TCanvas("c","C",
0, 0, 600, 600);c1-> 
SetBorderMode (0)
 
c1 SetBorderSize (2)
 
c1 SetBottomMargin (0.103939)
 
gStyle SetCanvasColor (kWhite)
 
wave SetEstimate (wave.GetEntries())
 
c1 SetFillColor (0)
 
gStyle SetFrameBorderMode (0)
 
c1 SetGridx ()
 
c1 SetGridy ()
 
gStyle SetLabelFont (42,"X")
 
gStyle SetLabelFont (42,"Y")
 
gStyle SetLabelOffset (0.014,"X")
 
gStyle SetLabelOffset (0.010,"Y")
 
gStyle SetLabelSize (0.04,"X")
 
gStyle SetLabelSize (0.04,"Y")
 
gStyle SetLineColor (kWhite)
 
c1 SetLogx (kFALSE)
 
c1 SetLogz (kFALSE)
 
rho_T SetMarkerColor (1)
 
rho_T2 SetMarkerColor (2)
 
rho_T SetMarkerSize (0.8)
 
rho_T SetMarkerStyle (20)
 
gStyle SetNumberContours (256)
 
gStyle SetOptStat (kFALSE)
 
c1 SetRightMargin (0.1517039)
 
gStyle SetStatBorderSize (1)
 
rho_T SetStats (kFALSE)
 
gStyle SetTextFont (12)
 
rho_T2 SetTitle ("Red dots vetoed CAT3 or hveto")
 
rho_T SetTitle ("after pp-cuts")
 
gStyle SetTitleColor (kBlue,"D")
 
gStyle SetTitleFillColor (kWhite)
 
gStyle SetTitleFont (42,"X")
 
gStyle SetTitleFont (42,"Y")
 
gStyle SetTitleFont (12,"D")
 
gStyle SetTitleH (0.050)
 
gStyle SetTitleOffset (1.4,"X")
 
gStyle SetTitleOffset (1.2,"Y")
 
gStyle SetTitleW (0.95)
 
gStyle SetTitleY (0.98)
 
c1 SetTopMargin (0.0772727)
 
 sprintf (fname,"%s/time.txt", netdir)
 
 sprintf (fname,"Red dots vetoed CAT3 or hveto")
 
 sprintf (fname,"%s/rho_frequency.eps", netdir)
 
 sprintf (ch1,"rho[%d]:time[0]>>rho_T", pp_irho)
 
 sprintf (fname,"%s/rho_time.eps", netdir)
 
c1 Update ()
 
TChain wave ("waveburst")
 

Variables

bool bcat2 = false
 
bool bcat3 = false
 
bool bhveto = false
 
Double_t blue [nRGBs] = { 0.10, 0.00, 0.00}
 
char ch1 [256]
 
char ch3 [256]
 
 else
 
char fname [1024]
 
FILE * ftrig = fopen(fname,"w")
 
Double_t green [nRGBs] = { 0.00, 0.00, 1.00}
 
int n
 
int nBins = 100
 
const Int_t nRGBs = 3
 
Double_t red [nRGBs] = { 0.559, 1.00, 1.00}
 
TH2F * rho_T = new TH2F("rho_T","",nBins,T_bgn,T_end,pp_rho_bin,pp_rho_min,pp_rho_max)
 
TH2F * rho_T2 = new TH2F("rho_T2","",nBins,T_bgn,T_end,pp_rho_bin,pp_rho_min,pp_rho_max)
 
double sTARt = W.gps[0]
 
double sTOp = W.gps[0]
 
Double_t stops [nRGBs] = { 0.00, 0.50, 1.00}
 
double T_bgn = sTARt
 
double T_end = sTOp
 
netevent W & wave
 

Function Documentation

wave Add ( net_file_name  )
live Add ( liv_file_name  )
c1 Clear ( )

Definition at line 1261 of file CWB_Plugin_xWRC.C.

gSystem Exec ( "date"  )
gSystem Exit ( )
fclose ( ftrig  )
for ( )

Definition at line 94 of file cwb_report_prod_1.C.

gROOT ForceStyle ( )
fprintf ( ftrig  ,
"#Start\tStop\n"   
)
fprintf ( ftrig  ,
"%d\t%d\n ,
(int T_bgn,
(int T_end 
)
W GetEntry ( )
rho_T GetXaxis ( ) -> SetTitle(fname)

Definition at line 321 of file cwb_report_prod_2.C.

rho_T GetYaxis ( ) -> SetTitle("#rho")

Definition at line 213 of file cbc_plots.C.

if ( ftrig  = =NULL)

Definition at line 132 of file cwb_report_prod_1.C.

if ( delete  c1)

Definition at line 161 of file cwb_report_prod_1.C.

if ( pp_rho_log  )

Definition at line 263 of file cwb_report_prod_1.C.

TChain live ( "liveTime"  )
c1 Print ( fname  )
c1 SaveAs ( fname  )
cout<<"netplot starts..."<<endl; if(nIFO==1) { CWB::config config; config.Import(); config.SetSingleDetectorMode(); config.Export(); } TCanvas *c1 = new TCanvas("c","C",0,0,600,600); c1-> SetBorderMode ( )
c1 SetBorderSize ( )
c1 SetBottomMargin ( 0.  103939)
gStyle SetCanvasColor ( kWhite  )
wave SetEstimate ( wave.  GetEntries())
p_radius SetFillColor ( )
gStyle SetFrameBorderMode ( )
c1 SetGridx ( )
c1 SetGridy ( )
gStyle SetLabelFont ( 42  ,
"X"   
)
gStyle SetLabelFont ( 42  ,
"Y"   
)
gStyle SetLabelOffset ( 0.  014,
"X"   
)
gStyle SetLabelOffset ( 0.  010,
"Y"   
)
gStyle SetLabelSize ( 0.  04,
"X"   
)
gStyle SetLabelSize ( 0.  04,
"Y"   
)
gStyle SetLineColor ( kWhite  )
c1 SetLogx ( kFALSE  )
c1 SetLogz ( kFALSE  )
gr2 SetMarkerColor ( )
D_dchirp_rec SetMarkerColor ( )
sim SetMarkerSize ( 0.  8)
sim SetMarkerStyle ( 20  )
gStyle SetNumberContours ( 256  )
gStyle SetOptStat ( kFALSE  )
c1 SetRightMargin ( 0.  1517039)
gStyle SetStatBorderSize ( )
rho_pf SetStats ( kFALSE  )
gStyle SetTextFont ( 12  )
rho_T2 SetTitle ( "Red dots vetoed CAT3 or hveto"  )
rho_T SetTitle ( "after pp-cuts"  )
gStyle SetTitleColor ( kBlue  ,
"D"   
)
gStyle SetTitleFillColor ( kWhite  )
gStyle SetTitleFont ( 42  ,
"X"   
)
gStyle SetTitleFont ( 42  ,
"Y"   
)
gStyle SetTitleFont ( 12  ,
"D"   
)
gStyle SetTitleH ( 0.  050)
gStyle SetTitleOffset ( 1.  4,
"X"   
)
gStyle SetTitleOffset ( 1.  2,
"Y"   
)
gStyle SetTitleW ( 0.  95)
gStyle SetTitleY ( 0.  98)
c1 SetTopMargin ( 0.  0772727)
sprintf ( fname  ,
"%s/time.txt"  ,
netdir   
)
sprintf ( fname  ,
"Red dots vetoed CAT3 or hveto"   
)
sprintf ( fname  ,
"%s/rho_frequency.eps"  ,
netdir   
)
sprintf ( ch1  ,
"rho:time>>rho_T [%d][0],
pp_irho   
)
sprintf ( fname  ,
"%s/rho_time.eps"  ,
netdir   
)
c1 Update ( )
TChain wave ( "waveburst"  )

Variable Documentation

bool bcat2 = false

Definition at line 90 of file cwb_report_prod_1.C.

bool bcat3 = false

Definition at line 92 of file cwb_report_prod_1.C.

bool bhveto = false

Definition at line 91 of file cwb_report_prod_1.C.

Double_t blue[nRGBs] = { 0.10, 0.00, 0.00}

Definition at line 79 of file cwb_report_prod_1.C.

char ch1[256]

Definition at line 111 of file cwb_report_prod_1.C.

char ch3[256]

Definition at line 112 of file cwb_report_prod_1.C.

else
Initial value:
{
char ch2[2048]
char ch1[256]
gx Draw(GWAT_TIME)
netevent W & wave

Definition at line 270 of file cwb_report_prod_1.C.

char fname[1024]

Definition at line 110 of file cwb_report_prod_1.C.

FILE* ftrig = fopen(fname,"w")

Definition at line 131 of file cwb_report_prod_1.C.

Double_t green[nRGBs] = { 0.00, 0.00, 1.00}

Definition at line 78 of file cwb_report_prod_1.C.

int n

Definition at line 114 of file cwb_report_prod_1.C.

int nBins = 100

Definition at line 129 of file cwb_report_prod_1.C.

const Int_t nRGBs = 3

Definition at line 75 of file cwb_report_prod_1.C.

Double_t red[nRGBs] = { 0.559, 1.00, 1.00}

Definition at line 77 of file cwb_report_prod_1.C.

TH2F* rho_T = new TH2F("rho_T","",nBins,T_bgn,T_end,pp_rho_bin,pp_rho_min,pp_rho_max)

Definition at line 141 of file cwb_report_prod_1.C.

TH2F* rho_T2 = new TH2F("rho_T2","",nBins,T_bgn,T_end,pp_rho_bin,pp_rho_min,pp_rho_max)

Definition at line 151 of file cwb_report_prod_1.C.

sTARt = W.gps[0]

Definition at line 115 of file cwb_report_prod_1.C.

sTOp = W.gps[0]

Definition at line 115 of file cwb_report_prod_1.C.

Double_t stops[nRGBs] = { 0.00, 0.50, 1.00}

Definition at line 76 of file cwb_report_prod_1.C.

T_bgn = sTARt

Definition at line 125 of file cwb_report_prod_1.C.

T_end = sTOp

Definition at line 126 of file cwb_report_prod_1.C.

netevent W& wave

Definition at line 86 of file cwb_report_prod_1.C.