Logo coherent WaveBurst  
Library Reference Guide
Logo
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 ()
 pointers to detectors More...
 
gROOT ForceStyle ()
 
 fprintf (ftrig,"#Start\top\)
 
 fprintf (ftrig,"%d\d\,(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

◆ Add() [1/2]

wave Add ( net_file_name  )

◆ Add() [2/2]

live Add ( liv_file_name  )

◆ Clear()

c1 Clear ( )

Definition at line 1279 of file CWB_Plugin_xWRC.C.

◆ Exec()

gSystem Exec ( "date"  )

◆ Exit()

gSystem Exit ( )

◆ fclose()

fclose ( ftrig  )

◆ for()

for ( )

pointers to detectors

Definition at line 112 of file cwb_report_prod_1.C.

◆ ForceStyle()

gROOT ForceStyle ( )

◆ fprintf() [1/2]

fprintf ( ftrig  ,
"#Start\p\   
)

◆ fprintf() [2/2]

fprintf ( ftrig  ,
"%d\  ,
(int T_bgn,
(int T_end 
)

◆ GetEntry()

W GetEntry ( )

◆ GetXaxis()

rho_T GetXaxis ( ) -> SetTitle(fname)

Definition at line 569 of file cwb_report_cbc.C.

◆ GetYaxis()

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

Definition at line 570 of file cwb_report_cbc.C.

◆ if() [1/3]

if ( ftrig  = =NULL)

Definition at line 150 of file cwb_report_prod_1.C.

◆ if() [2/3]

if ( delete  c1)

Definition at line 179 of file cwb_report_prod_1.C.

◆ if() [3/3]

if ( pp_rho_log  )

Definition at line 281 of file cwb_report_prod_1.C.

◆ live()

TChain live ( "liveTime"  )

◆ Print()

c1 Print ( fname  )

◆ SaveAs()

c1 SaveAs ( fname  )

◆ SetBorderMode()

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 ( )

◆ SetBorderSize()

c1 SetBorderSize ( )

◆ SetBottomMargin()

c1 SetBottomMargin ( 0.  103939)

◆ SetCanvasColor()

gStyle SetCanvasColor ( kWhite  )

◆ SetEstimate()

wave SetEstimate ( wave.  GetEntries())

◆ SetFillColor()

c1 SetFillColor ( )

◆ SetFrameBorderMode()

gStyle SetFrameBorderMode ( )

◆ SetGridx()

c1 SetGridx ( )

◆ SetGridy()

c1 SetGridy ( )

◆ SetLabelFont() [1/2]

gStyle SetLabelFont ( 42  ,
"X"   
)

◆ SetLabelFont() [2/2]

gStyle SetLabelFont ( 42  ,
"Y"   
)

◆ SetLabelOffset() [1/2]

gStyle SetLabelOffset ( 0.  014,
"X"   
)

◆ SetLabelOffset() [2/2]

gStyle SetLabelOffset ( 0.  010,
"Y"   
)

◆ SetLabelSize() [1/2]

gStyle SetLabelSize ( 0.  04,
"X"   
)

◆ SetLabelSize() [2/2]

gStyle SetLabelSize ( 0.  04,
"Y"   
)

◆ SetLineColor()

gStyle SetLineColor ( kWhite  )

◆ SetLogx()

c1 SetLogx ( kFALSE  )

◆ SetLogz()

c1 SetLogz ( kFALSE  )

◆ SetMarkerColor() [1/2]

rho_T SetMarkerColor ( )

◆ SetMarkerColor() [2/2]

rho_T2 SetMarkerColor ( )

◆ SetMarkerSize()

rho_T SetMarkerSize ( 0.  8)

◆ SetMarkerStyle()

rho_T SetMarkerStyle ( 20  )

◆ SetNumberContours()

gStyle SetNumberContours ( 256  )

◆ SetOptStat()

gStyle SetOptStat ( kFALSE  )

◆ SetRightMargin()

c1 SetRightMargin ( 0.  1517039)

◆ SetStatBorderSize()

gStyle SetStatBorderSize ( )

◆ SetStats()

rho_T SetStats ( kFALSE  )

◆ SetTextFont()

gStyle SetTextFont ( 12  )

◆ SetTitle() [1/2]

rho_T2 SetTitle ( "Red dots vetoed CAT3 or hveto"  )

◆ SetTitle() [2/2]

rho_T SetTitle ( "after pp-cuts"  )

◆ SetTitleColor()

gStyle SetTitleColor ( kBlue  ,
"D"   
)

◆ SetTitleFillColor()

gStyle SetTitleFillColor ( kWhite  )

◆ SetTitleFont() [1/3]

gStyle SetTitleFont ( 42  ,
"X"   
)

◆ SetTitleFont() [2/3]

gStyle SetTitleFont ( 42  ,
"Y"   
)

◆ SetTitleFont() [3/3]

gStyle SetTitleFont ( 12  ,
"D"   
)

◆ SetTitleH()

gStyle SetTitleH ( 0.  050)

◆ SetTitleOffset() [1/2]

gStyle SetTitleOffset ( 1.  4,
"X"   
)

◆ SetTitleOffset() [2/2]

gStyle SetTitleOffset ( 1.  2,
"Y"   
)

◆ SetTitleW()

gStyle SetTitleW ( 0.  95)

◆ SetTitleY()

gStyle SetTitleY ( 0.  98)

◆ SetTopMargin()

c1 SetTopMargin ( 0.  0772727)

◆ sprintf() [1/5]

sprintf ( fname  ,
"%s/time.txt"  ,
netdir   
)

◆ sprintf() [2/5]

sprintf ( fname  ,
"Red dots vetoed CAT3 or hveto"   
)

◆ sprintf() [3/5]

sprintf ( fname  ,
"%s/rho_frequency.eps"  ,
netdir   
)

◆ sprintf() [4/5]

sprintf ( ch1  ,
"rho:time>>rho_T [%d][0],
pp_irho   
)

◆ sprintf() [5/5]

sprintf ( fname  ,
"%s/rho_time.eps"  ,
netdir   
)

◆ Update()

c1 Update ( )

◆ wave()

TChain wave ( "waveburst"  )

Variable Documentation

◆ bcat2

bool bcat2 = false

Definition at line 108 of file cwb_report_prod_1.C.

◆ bcat3

bool bcat3 = false

Definition at line 110 of file cwb_report_prod_1.C.

◆ bhveto

bool bhveto = false

Definition at line 109 of file cwb_report_prod_1.C.

◆ blue

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

Definition at line 97 of file cwb_report_prod_1.C.

◆ ch1

char ch1[256]

Definition at line 129 of file cwb_report_prod_1.C.

◆ ch3

char ch3[256]

Definition at line 130 of file cwb_report_prod_1.C.

◆ else

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

Definition at line 288 of file cwb_report_prod_1.C.

◆ fname

char fname[1024]

Definition at line 128 of file cwb_report_prod_1.C.

◆ ftrig

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

Definition at line 149 of file cwb_report_prod_1.C.

◆ green

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

Definition at line 96 of file cwb_report_prod_1.C.

◆ n

int n

Definition at line 132 of file cwb_report_prod_1.C.

◆ nBins

int nBins = 100

Definition at line 147 of file cwb_report_prod_1.C.

◆ nRGBs

const Int_t nRGBs = 3

Definition at line 93 of file cwb_report_prod_1.C.

◆ red

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

Definition at line 95 of file cwb_report_prod_1.C.

◆ rho_T

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

Definition at line 159 of file cwb_report_prod_1.C.

◆ rho_T2

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

Definition at line 169 of file cwb_report_prod_1.C.

◆ sTARt

sTARt = W.gps[0]

Definition at line 133 of file cwb_report_prod_1.C.

◆ sTOp

sTOp = W.gps[0]

Definition at line 133 of file cwb_report_prod_1.C.

◆ stops

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

Definition at line 94 of file cwb_report_prod_1.C.

◆ T_bgn

T_bgn = sTARt

Definition at line 143 of file cwb_report_prod_1.C.

◆ T_end

T_end = sTOp

Definition at line 144 of file cwb_report_prod_1.C.

◆ wave

netevent W& wave

Definition at line 104 of file cwb_report_prod_1.C.