1 #define IDIR "/home/shubhanshu.tiwari/EBBH/catalogue/O1/O1_C01_SIM_eBBH_10_10_snr_20_e_0_500/output/" 2 #define OFILE "ebbh_10_10_snr_20_e_0_500.txt" 22 gROOT->LoadMacro(
"/home/vedovato/WP/eBBH/MACROS/ChirpMass.C");
30 cout <<
"Number of files : " << fList.size() << endl;
34 for(
int n=0;
n<fList.size();
n++) {
35 cout << fList[
n] << endl;
36 double status =
ChirpMass(fList[
n],0,0,0,ebbh);
38 cout <<
n <<
" -> Eccentricity Index = " << ebbh->ei <<
" status : " << status << endl;
40 out << ebbh->mass[0] <<
" " << ebbh->mass[0] <<
" " 41 << ebbh->spin[2] <<
" " << ebbh->spin[5] <<
" " 42 << ebbh->e0 <<
" " << ebbh->rp0 <<
" " << ebbh->dist <<
" " << ebbh->redshift <<
" " 43 << ebbh->ch_mass[0] <<
" " << ebbh->ch_energy[0] <<
" " << ebbh->ei << endl;
int ChirpMass(TString ifroot, int gtype=0, int entry=0, int ifo=0, EBBH *xebbh=NULL)