Logo coherent WaveBurst  
Library Reference Guide
Logo
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 ()
 pointers to detectors More...
 
 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<< "\"<< vname[i]<< "\"<< vtype[i]<< "\"<<(int) colors[i%16]<< "\"<< 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

◆ NMDC_MAX

#define NMDC_MAX   64

Function Documentation

◆ DrawCosOmegaPRC()

DrawCosOmegaPRC ( data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawCoverageVsPercentagePRC() [1/3]

DrawCoverageVsPercentagePRC ( "prc"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawCoverageVsPercentagePRC() [2/3]

DrawCoverageVsPercentagePRC ( "nre"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawCoverageVsPercentagePRC() [3/3]

DrawCoverageVsPercentagePRC ( "fre"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawMedianPRCvsSNR() [1/2]

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() [2/2]

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() [1/2]

DrawRECvsINJ ( "snr"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawRECvsINJ() [2/2]

DrawRECvsINJ ( "distance"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawSearchAreaPRC()

DrawSearchAreaPRC ( data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawSkyDistributionPRC() [1/2]

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() [2/2]

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() [1/6]

DrawWRC ( "nre"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawWRC() [2/6]

DrawWRC ( "ff"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawWRC() [3/6]

DrawWRC ( "of"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawWRC() [4/6]

DrawWRC ( "ofnre"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawWRC() [5/6]

DrawWRC ( "offf"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ DrawWRC() [6/6]

DrawWRC ( "snr"  ,
data_label  ,
netdir  ,
mlabel  ,
nIFO  ,
T_win  ,
pp_inetcc  ,
T_cor  ,
pp_irho  ,
T_cut  ,
T_vED  ,
T_pen  ,
T_ifar   
)

◆ exit()

exit ( )

◆ for()

for ( )

pointers to detectors

Definition at line 51 of file cwb_report_pe.C.

◆ if() [1/5]

if ( nIFO  = =1)

Definition at line 39 of file cwb_report_pe.C.

◆ if() [2/5]

if ( token  )

Definition at line 68 of file cwb_report_pe.C.

◆ if() [3/5]

if ( mtype.  size(),
 
)

Definition at line 75 of file cwb_report_pe.C.

◆ if() [4/5]

if ( mtype!  [0] = 0)

Definition at line 95 of file cwb_report_pe.C.

◆ if() [5/5]

if ( TString(parPlugin)!  = "")

Definition at line 159 of file cwb_report_pe.C.

◆ LoadMacro() [1/7]

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

◆ LoadMacro() [2/7]

gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawRECvsINJ.C")

◆ LoadMacro() [3/7]

gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawSkyDistributionPRC.C")

◆ LoadMacro() [4/7]

gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawSearchAreaPRC.C")

◆ LoadMacro() [5/7]

gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawCosOmegaPRC.C")

◆ LoadMacro() [6/7]

gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawCoverageVsPercentagePRC.C")

◆ LoadMacro() [7/7]

gROOT LoadMacro ( gSystem->  ExpandPathName"$HOME_CWB/macros/DrawMedianPRCvsSNR.C")

◆ push_back()

vname push_back ( "ALL"  )

◆ sprintf()

sprintf ( listFile  ,
"%s/DrawMedianPRCvsSNR.lst"  ,
netdir   
)

Variable Documentation

◆ colors

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

Definition at line 130 of file cwb_report_pe.C.

◆ else

else
Initial value:
{
if(mtype[0]<-1) {
cout << "cwb_report_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:66
exit(0)

Definition at line 84 of file cwb_report_pe.C.

◆ IFO

vector<TString> IFO

Definition at line 50 of file cwb_report_pe.C.

◆ listFile

char listFile[256]

Definition at line 134 of file cwb_report_pe.C.

◆ mlabel

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

Definition at line 47 of file cwb_report_pe.C.

◆ mtype

vector<int> mtype

Definition at line 66 of file cwb_report_pe.C.

◆ out

ofstream out

Definition at line 133 of file cwb_report_pe.C.

◆ polarization

TString polarization ="TENSOR"

Definition at line 158 of file cwb_report_pe.C.

◆ token

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

Definition at line 67 of file cwb_report_pe.C.

◆ vname

vector<TString> vname

Definition at line 94 of file cwb_report_pe.C.