7 #define COORDINATES "Celestial"
13 #define WAVE_FILE "data.1/wave_966383954_600_uniform_in_snr_dbg1_1_job1.root"
15 #define XANALYSIS "2G"
23 TB.
checkFile(gSystem->Getenv(
"CWB_PARAMETERS_FILE"));
25 gROOT->Macro(cwb_parameter_name);
26 TB.
checkFile(gSystem->Getenv(
"CWB_UPARAMETERS_FILE"));
27 TString cwb_uparameter_name = gSystem->Getenv(
"CWB_UPARAMETERS_FILE");
28 gROOT->Macro(cwb_uparameter_name);
31 int nevt =
event->GetEntries();
33 cout <<
"no events are presents in the file : " <<
WAVE_FILE << endl;
35 }
else cout <<
"nevt : " << nevt << endl;
38 TList* ifoList =
event->fChain->GetUserInfo();
39 int nIFO = ifoList->GetSize();
43 cout << dParams.
name << endl;
53 cout <<
"-----------------------------------" << endl;
54 cout <<
"gps : " <<
int(event->time[0]) << endl;
55 cout <<
"rho : " <<
event->rho[1] << endl;
56 cout <<
"cc : " <<
event->netcc[0] << endl;
57 cout <<
"network snr : " << sqrt(event->likelihood) << endl;
58 cout <<
"rec RA : " <<
event->phi[2] << endl;
59 cout <<
"rec DEC : " <<
event->theta[2] << endl;
60 cout <<
"-----------------------------------" << endl<<endl;
66 char fits_name[256];
sprintf(fits_name,
"probability_skymap_%d.fits.gz",
int(event->time[0]));
73 cout <<
"Dump fits file : " << fits_name << endl;
74 Psm->Dump2fits(fits_name,event->time[0],configur);
80 char title[256];
sprintf(title,
"probability skymap gps = %d",
int(event->time[0]));
83 double RA =
event->phi[2];
84 double DEC =
event->theta[2];
90 cout <<
"prob : " << prob << endl;
detectorParams getDetectorParams()
void ReadSkyMapFromTree()
void DrawMarker(double phi, double theta, int marker, Size_t msize=1, Color_t tcolor=1)
void Draw(int dpaletteId=0, Option_t *option="colfz")
void SetTitle(TString title)
TString cwb_parameter_name
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
double get(size_t i)
param: sky index
void SetOptions(TString projection="hammer", TString coordinate="Geographic", double resolution=1, bool goff=false)