Logo Coherent WaveBurst  
Reference Guide
Logo
 All Namespaces Files Functions Variables Macros Pages
Macros | Functions | Variables
Make_PP_IFAR.C File Reference

Macros

#define CHUNK_FILE_LIST   "Chunk_List.txt"
 
#define CHUNK_MAX_SIZE   100
 
#define DAY   (24.*3600.)
 
#define FAP0   1-0.682689
 
#define FAP1   1-0.954499
 
#define FAP2   1-0.997300
 
#define IFAR_NBIN   2000
 
#define MACRO_READ_CHUNK   "ReadChunkList.C"
 
#define MAX_LIST_SIZE   100
 
#define MAX_RUNS   2
 
#define PP_BBH   false
 
#define PP_BELT_STYLE   "continuos"
 
#define PP_CHUNK   -1
 
#define PP_EXIT   true
 
#define PP_GW151226_IFAR   0
 
#define PP_IFAR_MAX   -1
 
#define PP_LAG   -1
 
#define PP_NIFO   2
 
#define PP_PFNAME   ""
 
#define PP_RHO_MIN   4.5
 
#define PP_RUN   "O2"
 
#define PP_SEARCH   ""
 
#define PP_SFACTOR   1
 
#define PP_SLAG   -1
 
#define PP_TRIALS   1
 
#define PP_ZL_MAX_IFAR   0
 
#define PP_ZL_STYLE   "step"
 
#define YEAR   (24.*3600.*365.)
 

Functions

void DumpBackground ()
 
void DumpForeground ()
 
void DumpLoudest (double obsTime)
 
void DumpPeriod (double *obsTime)
 
void DumpSimulation (double ifar_cmax)
 
void DumpUserOptions ()
 
int GetChunkID (double gps, TString &run)
 
TString GetCutBBH ()
 
double GetGPSBBH (TString name)
 
void GetLiveTime (int nwave, TChain **live, int *lag, int *slag, int *bin, TString *run, double *liveZero, double *liveTot)
 
TString GetNameBBH (double gps)
 
int GetPercentiles (double mu, double *q)
 
int GetPoissonNinf (double mu, double fap)
 
int GetPoissonNsup (double mu, double fap)
 
void InitBBH ()
 
void Make_PP_IFAR (TString ifName, TString options)
 
void MakePlot (TString title, double obsTime, double ifar_cmax)
 
void PrintUserOptions ()
 
int ReadFileList (TString ifName, TChain **live, TChain **wave, TChain **mdc, int *lag, int *slag, int *chunk, int *bin, TString *run)
 
void ReadUserOptions (TString options)
 
void ResetUserOptions ()
 

Variables

TArrow * arrow
 
wavearray< double > bRATE
 
TCanvas * canvas
 
int chunk_id [MAX_RUNS][CHUNK_MAX_SIZE]
 
int chunk_size [MAX_RUNS]
 
double chunk_start [MAX_RUNS][CHUNK_MAX_SIZE]
 
double chunk_stop [MAX_RUNS][CHUNK_MAX_SIZE]
 
TGraphAsymmErrors * egr0
 
TGraphAsymmErrors * egr1
 
TGraphAsymmErrors * egr2
 
TGraphAsymmErrors * egrsimbkg0
 
wavearray< double > exFAR
 
wavearray< double > exSIM_BKG_IFAR
 
wavearray< double > eyRATEinf0
 
wavearray< double > eyRATEinf1
 
wavearray< double > eyRATEinf2
 
wavearray< double > eyRATEsup0
 
wavearray< double > eyRATEsup1
 
wavearray< double > eyRATEsup2
 
wavearray< double > eySIM_BKG_inf0
 
wavearray< double > eySIM_BKG_sup0
 
uoptions gOPT
 
TGraph * gr
 
TGraph * gr0
 
TGraph * grsim
 
TGraph * grsimbkg
 
TLatex * latex
 
TLegend * leg
 
TLegend * leg0
 
TMarker * marker
 
vector< double > O1_BBH_GPS
 
vector< TString > O1_BBH_NAME
 
vector< double > O2_BBH_GPS
 
vector< TString > O2_BBH_NAME
 
wavearray< double > SIM_BKG_NEVT
 
wavearray< double > SIM_IFAR
 
wavearray< double > SIM_NEVT
 
wavearray< double > xFAR
 
wavearray< double > xIFAR
 
wavearray< double > xSIM_BKG_IFAR
 
wavearray< double > yBKG
 
wavearray< double > ySIM_BKG
 
wavearray< double > ZL_GPS
 
wavearray< double > ZL_IFAR
 
wavearray< double > ZL_NEVT
 

Macro Definition Documentation

#define CHUNK_FILE_LIST   "Chunk_List.txt"

Definition at line 91 of file Make_PP_IFAR.C.

#define CHUNK_MAX_SIZE   100

Definition at line 93 of file Make_PP_IFAR.C.

#define DAY   (24.*3600.)

Definition at line 88 of file Make_PP_IFAR.C.

#define FAP0   1-0.682689

Definition at line 84 of file Make_PP_IFAR.C.

#define FAP1   1-0.954499

Definition at line 85 of file Make_PP_IFAR.C.

#define FAP2   1-0.997300

Definition at line 86 of file Make_PP_IFAR.C.

#define IFAR_NBIN   2000

Definition at line 73 of file Make_PP_IFAR.C.

#define MACRO_READ_CHUNK   "ReadChunkList.C"

Definition at line 92 of file Make_PP_IFAR.C.

#define MAX_LIST_SIZE   100

Definition at line 72 of file Make_PP_IFAR.C.

#define MAX_RUNS   2

Definition at line 70 of file Make_PP_IFAR.C.

#define PP_BBH   false

Definition at line 60 of file Make_PP_IFAR.C.

#define PP_BELT_STYLE   "continuos"

Definition at line 53 of file Make_PP_IFAR.C.

#define PP_CHUNK   -1

Definition at line 47 of file Make_PP_IFAR.C.

#define PP_EXIT   true

Definition at line 61 of file Make_PP_IFAR.C.

#define PP_GW151226_IFAR   0

Definition at line 63 of file Make_PP_IFAR.C.

#define PP_IFAR_MAX   -1

Definition at line 55 of file Make_PP_IFAR.C.

#define PP_LAG   -1

Definition at line 45 of file Make_PP_IFAR.C.

#define PP_NIFO   2

Definition at line 44 of file Make_PP_IFAR.C.

#define PP_PFNAME   ""

Definition at line 51 of file Make_PP_IFAR.C.

#define PP_RHO_MIN   4.5

Definition at line 56 of file Make_PP_IFAR.C.

#define PP_RUN   "O2"

Definition at line 41 of file Make_PP_IFAR.C.

#define PP_SEARCH   ""

Definition at line 42 of file Make_PP_IFAR.C.

#define PP_SFACTOR   1

Definition at line 58 of file Make_PP_IFAR.C.

#define PP_SLAG   -1

Definition at line 46 of file Make_PP_IFAR.C.

#define PP_TRIALS   1

Definition at line 49 of file Make_PP_IFAR.C.

#define PP_ZL_MAX_IFAR   0

Definition at line 64 of file Make_PP_IFAR.C.

#define PP_ZL_STYLE   "step"

Definition at line 52 of file Make_PP_IFAR.C.

#define YEAR   (24.*3600.*365.)

Definition at line 89 of file Make_PP_IFAR.C.

Function Documentation

void DumpBackground ( )

Definition at line 1872 of file Make_PP_IFAR.C.

void DumpForeground ( )

Definition at line 1913 of file Make_PP_IFAR.C.

void DumpLoudest ( double  obsTime)

Definition at line 1618 of file Make_PP_IFAR.C.

void DumpPeriod ( double *  obsTime)

Definition at line 1693 of file Make_PP_IFAR.C.

void DumpSimulation ( double  ifar_cmax)

Definition at line 1940 of file Make_PP_IFAR.C.

void DumpUserOptions ( )

Definition at line 1743 of file Make_PP_IFAR.C.

int GetChunkID ( double  gps,
TString &  run 
)

Definition at line 1678 of file Make_PP_IFAR.C.

TString GetCutBBH ( )

Definition at line 1384 of file Make_PP_IFAR.C.

double GetGPSBBH ( TString  name)

Definition at line 1418 of file Make_PP_IFAR.C.

void GetLiveTime ( int  nwave,
TChain **  live,
int *  lag,
int *  slag,
int *  bin,
TString *  run,
double *  liveZero,
double *  liveTot 
)

Definition at line 1321 of file Make_PP_IFAR.C.

TString GetNameBBH ( double  gps)

Definition at line 1407 of file Make_PP_IFAR.C.

int GetPercentiles ( double  mu,
double *  q 
)

Definition at line 1222 of file Make_PP_IFAR.C.

int GetPoissonNinf ( double  mu,
double  fap 
)

Definition at line 1246 of file Make_PP_IFAR.C.

int GetPoissonNsup ( double  mu,
double  fap 
)

Definition at line 1234 of file Make_PP_IFAR.C.

void InitBBH ( )

Definition at line 1356 of file Make_PP_IFAR.C.

void Make_PP_IFAR ( TString  ifName,
TString  options 
)

Definition at line 234 of file Make_PP_IFAR.C.

void MakePlot ( TString  title,
double  obsTime,
double  ifar_cmax 
)

Definition at line 933 of file Make_PP_IFAR.C.

void PrintUserOptions ( )

Definition at line 1457 of file Make_PP_IFAR.C.

int ReadFileList ( TString  ifName,
TChain **  live,
TChain **  wave,
TChain **  mdc,
int *  lag,
int *  slag,
int *  chunk,
int *  bin,
TString *  run 
)

Definition at line 1258 of file Make_PP_IFAR.C.

void ReadUserOptions ( TString  options)

Definition at line 1498 of file Make_PP_IFAR.C.

void ResetUserOptions ( )

Definition at line 1429 of file Make_PP_IFAR.C.

Variable Documentation

TArrow* arrow

Definition at line 154 of file Make_PP_IFAR.C.

wavearray<double> bRATE

Definition at line 164 of file Make_PP_IFAR.C.

TCanvas* canvas

Definition at line 145 of file Make_PP_IFAR.C.

int chunk_id[MAX_RUNS][CHUNK_MAX_SIZE]

Definition at line 201 of file Make_PP_IFAR.C.

int chunk_size[MAX_RUNS]

Definition at line 200 of file Make_PP_IFAR.C.

double chunk_start[MAX_RUNS][CHUNK_MAX_SIZE]

Definition at line 202 of file Make_PP_IFAR.C.

double chunk_stop[MAX_RUNS][CHUNK_MAX_SIZE]

Definition at line 203 of file Make_PP_IFAR.C.

TGraphAsymmErrors* egr0

Definition at line 156 of file Make_PP_IFAR.C.

TGraphAsymmErrors* egr1

Definition at line 157 of file Make_PP_IFAR.C.

TGraphAsymmErrors* egr2

Definition at line 158 of file Make_PP_IFAR.C.

TGraphAsymmErrors* egrsimbkg0

Definition at line 149 of file Make_PP_IFAR.C.

wavearray<double> exFAR

Definition at line 183 of file Make_PP_IFAR.C.

wavearray<double> exSIM_BKG_IFAR

Definition at line 173 of file Make_PP_IFAR.C.

wavearray<double> eyRATEinf0

Definition at line 184 of file Make_PP_IFAR.C.

wavearray<double> eyRATEinf1

Definition at line 186 of file Make_PP_IFAR.C.

wavearray<double> eyRATEinf2

Definition at line 188 of file Make_PP_IFAR.C.

wavearray<double> eyRATEsup0

Definition at line 185 of file Make_PP_IFAR.C.

wavearray<double> eyRATEsup1

Definition at line 187 of file Make_PP_IFAR.C.

wavearray<double> eyRATEsup2

Definition at line 189 of file Make_PP_IFAR.C.

wavearray<double> eySIM_BKG_inf0

Definition at line 175 of file Make_PP_IFAR.C.

wavearray<double> eySIM_BKG_sup0

Definition at line 176 of file Make_PP_IFAR.C.

uoptions gOPT

Definition at line 141 of file Make_PP_IFAR.C.

TGraph* gr

Definition at line 146 of file Make_PP_IFAR.C.

TGraph* gr0

Definition at line 150 of file Make_PP_IFAR.C.

TGraph* grsim

Definition at line 147 of file Make_PP_IFAR.C.

TGraph* grsimbkg

Definition at line 148 of file Make_PP_IFAR.C.

TLatex* latex

Definition at line 155 of file Make_PP_IFAR.C.

TLegend* leg

Definition at line 152 of file Make_PP_IFAR.C.

TLegend* leg0

Definition at line 151 of file Make_PP_IFAR.C.

TMarker* marker

Definition at line 153 of file Make_PP_IFAR.C.

vector<double> O1_BBH_GPS

Definition at line 193 of file Make_PP_IFAR.C.

vector<TString> O1_BBH_NAME

Definition at line 192 of file Make_PP_IFAR.C.

vector<double> O2_BBH_GPS

Definition at line 197 of file Make_PP_IFAR.C.

vector<TString> O2_BBH_NAME

Definition at line 196 of file Make_PP_IFAR.C.

wavearray<double> SIM_BKG_NEVT

Definition at line 169 of file Make_PP_IFAR.C.

wavearray<double> SIM_IFAR

Definition at line 167 of file Make_PP_IFAR.C.

wavearray<double> SIM_NEVT

Definition at line 168 of file Make_PP_IFAR.C.

wavearray<double> xFAR

Definition at line 163 of file Make_PP_IFAR.C.

wavearray<double> xIFAR

Definition at line 162 of file Make_PP_IFAR.C.

wavearray<double> xSIM_BKG_IFAR

Definition at line 174 of file Make_PP_IFAR.C.

wavearray<double> yBKG

Definition at line 165 of file Make_PP_IFAR.C.

wavearray<double> ySIM_BKG

Definition at line 172 of file Make_PP_IFAR.C.

wavearray<double> ZL_GPS

Definition at line 180 of file Make_PP_IFAR.C.

wavearray<double> ZL_IFAR

Definition at line 178 of file Make_PP_IFAR.C.

wavearray<double> ZL_NEVT

Definition at line 179 of file Make_PP_IFAR.C.