9 #define COORDINATES "Celestial"
15 #define GRACEDB_LABEL "GXXXXXX"
16 #define EM_LABEL "EM_FOLLOWUP"
17 #define EM_PHI 360.-65.5
18 #define EM_THETA -82.06
26 double S = 4*pi*pow(180/pi,2);
34 double* prob =
new double[
L];
35 for(
int l=0;
l<
L;
l++) {
36 prob[
l] = gSM->
get(
l);
39 TMath::Sort(L,prob,index,
false);
41 for(
int l=0;
l<
L;
l++) {
56 tag.ReplaceAll(
"_",
" ");
57 gSM->
SetTitle(TString::Format(
"%s : SkyMap Cumulative Probability Distribution (%s)",
GRACEDB_LABEL,tag.Data()));
64 tag.ReplaceAll(
"_",
" ");
72 for(
int l=0;
l<
L;
l++) {
73 double P = gSM->
get(
l);
75 if(P==0) gSM->
set(
l,1
e-40);
void set(size_t i, double a)
void DrawMarker(double phi, double theta, int marker, Size_t msize=1, Color_t tcolor=1)
void DrawText(double phi, double theta, TString text, double tsize=0.04, Color_t tcolor=1)
double getTheta(size_t i)
void Draw(int dpaletteId=0, Option_t *option="colfz")
void SetTitle(TString title)
Meyer< double > S(1024, 2)
double get(size_t i)
param: sky index
void DrawFitsGraceDB(TString fitsName, TString label="", bool cumulative=false, bool save=false)
void Print(TString pname)
void SetOptions(TString projection="hammer", TString coordinate="Geographic", double resolution=1, bool goff=false)
void SetZaxisTitle(TString zAxisTitle)