27 #include "Math/BrentRootFinder.h" 28 #include "Math/WrappedTF1.h" 29 #include "TApplication.h" 35 #include "TGraphSmooth.h" 41 #include "TMultiGraph.h" 42 #include "TObjArray.h" 43 #include "TObjString.h" 47 #include "TRatioPlot.h" 51 #include "TSystemDirectory.h" 53 #include "TTreeIndex.h" 55 #include "TGraph2DErrors.h" 56 #include "TPaveText.h" 80 #define LST_TREE_NAME "frl" 92 static Long64_t GetTreeIndex(TTree*
tree,
const char* selection);
94 static void doROCPlot(
int bkg_entries,
104 static void doROCPlot(
int bkg_entries,
118 static TF1* doRangePlot(
int RHO_NBINS,
129 static double getLiveTime(
int nIFO,
135 static double getLiveTime2(TChain& liv);
137 static double getZeroLiveTime(
int nIFO, TChain& liv);
139 static double getZeroLiveTime2(
int nIFO, TChain& liv);
141 static double getFAR(
float rho, TH1* hc,
double liveTot);
143 static TH2F* FillSLagHist(
int NIFO_MAX,
149 static void doChirpFARPlot(
int sel_events,
156 static double calc_isco_radius(
double a);
158 static double calc_isco_freq(
double a);
160 static double _final_spin_diff(
double a_f,
166 static double _final_spin_diff(Double_t*
x, Double_t*
par);
168 static double bbh_final_mass_and_spin_non_precessing(
double m1,
173 static double chip(
double m1,
wavearray< double > a(hp.size())
void AddChip(TString filein, TString treename)
cout<< endl;cout<< "ts size = "<< ts.size()<< " ts rate = "<< ts.rate()<< endl;tf.Forward(ts, wdm);int levels=tf.getLevel();cout<< "tf size = "<< tf.size()<< endl;double dF=tf.resolution();double dT=1./(2 *dF);cout<< "rate(hz) : "<< RATE<< "\ layers : "<< nLAYERS<< "\ dF(hz) : "<< dF<< "\ dT(ms) : "<< dT *1000.<< endl;int itime=TIME_PIXEL_INDEX;int ifreq=FREQ_PIXEL_INDEX;int index=(levels+1) *itime+ifreq;double time=itime *dT;double freq=(ifreq >0) ? ifreq *dF :dF/4;cout<< endl;cout<< "PIXEL TIME = "<< time<< " sec "<< endl;cout<< "PIXEL FREQ = "<< freq<< " Hz "<< endl;cout<< endl;wavearray< double > x
void CreateDistanceParplots(char *sim_file_name, char *mdc_file_name, char *netdir, TString opt="", double MINX=0.0, double MAXX=1.0, double MAXDISTANCE=5000., int NBIN_DIST=10, float T_ifar=0.0, float T_win=0.2, int nIFO=2)
TGraphErrors * CreateGraphRadiusIFAR(char *sim_file_name, char *mdc_file_name, TString SEL, float shell_volume, Color_t color=kBlue, TString opt="default", double liveTot=1e6, float T_ifar=0.0, float T_win=0.2, int TRIALS=1, int nIFO=2)
Meyer< double > S(1024, 2)