10 #ifndef ANTARCTICAMAPPLOTTER_H 11 #define ANTARCTICAMAPPLOTTER_H 37 void addHistogram(TString name, TString title, Int_t nBinsX, Int_t nBinsY);
38 void addTGraph(TString name, TString title, Int_t n=0, Double_t* latitude=NULL, Double_t* longitude=NULL);
47 Int_t
Fill(Double_t latitude, Double_t longitude, Double_t weight=1);
57 Double_t TrueScaleLat;
59 Double_t RadiusOfEarth;
69 void getRelXYFromLatLong(Double_t latitude, Double_t longitude,Double_t &x, Double_t &y);
70 void initializeInternals();
75 std::map<TString, TH2D*> hists;
76 std::map<TString, TGraph*> grs;
86 #endif //ANTARCTICAMAPPLOTTER_H TH2D * getCurrentHistogram()
Return pointer to current histogram.
void DrawTGraph(TString opt)
Draws the canvas, image and histogram.
Int_t setCurrentTGraph(TString name)
Sets the current histrogram pointer* hCurrent.
TGraph * getCurrentTGraph()
Return pointer to current TGraph.
void DrawHist(TString opt)
Draws the canvas, image and histogram.
Class to plot reconstructed events onto a picture of Antarctica.
Int_t Fill(Double_t latitude, Double_t longitude, Double_t weight=1)
How to fill the histogram, converts latitude and longitude into x/y bins first.
Int_t setCurrentHistogram(TString name)
Sets the current histogram pointer* hCurrent.
void addHistogram(TString name, TString title, Int_t nBinsX, Int_t nBinsY)
Creates a new histogram to go in the internal map and sets it as the current histogram.
void addTGraph(TString name, TString title, Int_t n=0, Double_t *latitude=NULL, Double_t *longitude=NULL)
Creates a new graph to go in the internal map and sets it as the current histogram.
AntarcticaMapPlotter()
Constructor.
~AntarcticaMapPlotter()
Destructor.