Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
cwb_report_pe.C File Reference

Macros

#define NMDC_MAX   64
 

Functions

 DrawCosOmegaPRC (data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawCoverageVsPercentagePRC ("prc", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawCoverageVsPercentagePRC ("nre", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawCoverageVsPercentagePRC ("fre", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawMedianPRCvsSNR (listFile,"","MEDIAN50", TString(netdir)+"/median50_vs_snr.png", T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawMedianPRCvsSNR (listFile,"","MEDIAN90", TString(netdir)+"/median90_vs_snr.png", T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawRECvsINJ ("snr", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawRECvsINJ ("distance", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawSearchAreaPRC (data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawSkyDistributionPRC (data_label, netdir, mlabel, IFO, detParms, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar, true, polarization, true)
 
 DrawSkyDistributionPRC (data_label, netdir, mlabel, IFO, detParms, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar, false, polarization)
 
 DrawWRC ("nre", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawWRC ("ff", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawWRC ("of", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawWRC ("ofnre", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawWRC ("offf", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 DrawWRC ("snr", data_label, netdir, mlabel, nIFO, T_win, pp_inetcc, T_cor, pp_irho, T_cut, T_vED, T_pen, T_ifar)
 
 exit (0)
 
 for ()
 
 if (nIFO==1)
 
 if (token)
 
 if (mtype.size()>1)
 
 if (mtype[0]!=0)
 
 if (TString(parPlugin)!="")
 
cout<< listFile<< endl;out.open(listFile,
ios::out);if(!out.good()){cout
<< "cwb_report_pe.C : Error
Opening File : "<< listFile
<< endl;exit(1);}for(int i=0;i
< vtype.size();i++){char
wave_file_name[1024];sprintf(wave_file_name,"%s/wave_%s.%s.root",
merge_dir, data_label,
mlabel.Data());out
<< wave_file_name<< "\t"
<< vname[i]<< "\t"<< vtype[i]
<< "\t"<< (int) colors[i%16]
<< "\t"<< 0<< endl;}out.close();gROOT-> 
LoadMacro (gSystem->ExpandPathName("$HOME_CWB/macros/DrawWRC.C"))
 
gROOT LoadMacro (gSystem->ExpandPathName("$HOME_CWB/macros/DrawRECvsINJ.C"))
 
gROOT LoadMacro (gSystem->ExpandPathName("$HOME_CWB/macros/DrawSkyDistributionPRC.C"))
 
gROOT LoadMacro (gSystem->ExpandPathName("$HOME_CWB/macros/DrawSearchAreaPRC.C"))
 
gROOT LoadMacro (gSystem->ExpandPathName("$HOME_CWB/macros/DrawCosOmegaPRC.C"))
 
gROOT LoadMacro (gSystem->ExpandPathName("$HOME_CWB/macros/DrawCoverageVsPercentagePRC.C"))
 
gROOT LoadMacro (gSystem->ExpandPathName("$HOME_CWB/macros/DrawMedianPRCvsSNR.C"))
 
vname push_back ("ALL")
 
 sprintf (listFile,"%s/DrawMedianPRCvsSNR.lst", netdir)
 

Variables

Color_t colors [16] = {2, 3, 6, 4, 8, 43, 7, 8, 4, 5, 2, 43, 1, 3, 2, 1}
 
 else
 
vector< TStringIFO
 
char listFile [256]
 
TString mlabel =TString(gSystem->Getenv("CWB_MERGE_LABEL"))
 
vector< intmtype
 
ofstream out
 
TString polarization ="TENSOR"
 
TObjArray * token = TString(pp_pe_mdc).Tokenize(TString("/"))
 
vector< TStringvname
 

Macro Definition Documentation

#define NMDC_MAX   64

Function Documentation

DrawCosOmegaPRC ( data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawCoverageVsPercentagePRC ( "prc"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawCoverageVsPercentagePRC ( "nre"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawCoverageVsPercentagePRC ( "fre"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawMedianPRCvsSNR ( listFile  ,
""  ,
"MEDIAN50"  ,
TString(netdir)+"/median50_vs_snr.png"  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawMedianPRCvsSNR ( listFile  ,
""  ,
"MEDIAN90"  ,
TString(netdir)+"/median90_vs_snr.png"  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawRECvsINJ ( "snr"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawRECvsINJ ( "distance"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawSearchAreaPRC ( data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawSkyDistributionPRC ( data_label  ,
netdir  ,
mlabel  ,
IFO  ,
detParms  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar  ,
true  ,
polarization  ,
true   
)
DrawSkyDistributionPRC ( data_label  ,
netdir  ,
mlabel  ,
IFO  ,
detParms  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar  ,
false  ,
polarization   
)
DrawWRC ( "nre"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawWRC ( "ff"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawWRC ( "of"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawWRC ( "ofnre"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawWRC ( "offf"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
DrawWRC ( "snr"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)
exit ( )
for ( )

Definition at line 33 of file cwb_report_pe.C.

if ( nIFO  = =1)

Definition at line 21 of file cwb_report_pe.C.

if ( token  )

Definition at line 50 of file cwb_report_pe.C.

if ( mtype.  size(),
 
)

Definition at line 57 of file cwb_report_pe.C.

if ( mtype!  [0] = 0)

Definition at line 77 of file cwb_report_pe.C.

if ( TString(parPlugin)!  = "")

Definition at line 141 of file cwb_report_pe.C.

cout<< listFile << endl; out.open(listFile,ios::out); if(!out.good()) {cout << "cwb_report_pe.C : Error Opening File : " << listFile << endl;exit(1);} for(int i=0;i<vtype.size();i++) { char wave_file_name[1024]; sprintf(wave_file_name,"%s/wave_%s.%s.root",merge_dir,data_label,mlabel.Data()); out << wave_file_name << "\t" << vname[i] << "\t" << vtype[i] << "\t" << (int)colors[i%16] << "\t" << 0 << endl; } out.close(); gROOT-> LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawWRC.C")
gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawRECvsINJ.C")
gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawSkyDistributionPRC.C")
gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawSearchAreaPRC.C")
gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawCosOmegaPRC.C")
gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawCoverageVsPercentagePRC.C")
gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawMedianPRCvsSNR.C")
vname push_back ( "ALL"  )
sprintf ( listFile  ,
"%s/DrawMedianPRCvsSNR.lst"  ,
netdir   
)

Variable Documentation

Color_t colors[16] = {2, 3, 6, 4, 8, 43, 7, 8, 4, 5, 2, 43, 1, 3, 2, 1}

Definition at line 112 of file cwb_report_pe.C.

else
Initial value:
{
if(mtype[0]<-1) {
cout << "cwb_mkhtml_pe.C : Error - bad option '--mdc type' in pp_pe parameter" << endl;
cout << " mdc type must be in the range [-1:N] " << endl;
cout << endl;
exit(1);
}
}
vector<int> vtype
vector< int > mtype
Definition: cwb_report_pe.C:48
exit(0)

Definition at line 66 of file cwb_report_pe.C.

vector<TString> IFO

Definition at line 32 of file cwb_report_pe.C.

char listFile[256]

Definition at line 116 of file cwb_report_pe.C.

TString mlabel =TString(gSystem->Getenv("CWB_MERGE_LABEL"))

Definition at line 29 of file cwb_report_pe.C.

vector<int> mtype

Definition at line 48 of file cwb_report_pe.C.

ofstream out

Definition at line 115 of file cwb_report_pe.C.

TString polarization ="TENSOR"

Definition at line 140 of file cwb_report_pe.C.

TObjArray* token = TString(pp_pe_mdc).Tokenize(TString("/"))

Definition at line 49 of file cwb_report_pe.C.

vector<TString> vname

Definition at line 76 of file cwb_report_pe.C.