kalmanalignment is hosted by Hepforge, IPPP Durham
Kalman Alignment

/home/mweber/Dokumente/CMS/Alignment/kalmanalignment/trunk/validation/plot.h

00001 #ifndef _plot_h
00002 #define _plot_h
00003 
00004 // ROOT
00005 #include "TCanvas.h"
00006 #include "TGraph.h"
00007 #include "TH1F.h"
00008 #include "TLegend.h"
00009 #include "TStyle.h"
00010 
00011 
00012 // event
00013 #include "AlignEvent.h"
00014 
00015 
00016 // Globals
00017 //=========
00018 
00020 extern bool gGerman;
00021 
00022 // Method prototypes
00023 //===================
00024 
00025 char * strdup_new(const char * text);
00026 
00027 // Standard option settings
00028 void setopt(TStyle * style);
00029 void setopt(TCanvas * canvas);
00030 void setopt(TVirtualPad * pad);
00031 void setopt(TH1 * histo);
00032 void setopt(TLegend *leg);
00033 void setopt(TGraph *gr);
00034 void setoptlarge(TH1 * histo);
00035 
00036 const char * GetUnit(const char * hname);
00037 const char * GetXTitle(const TH1F * histo);
00038 const char * GetYTitle(const TH1F * histo);
00039 void settitle(TH1F * histo);
00040 
00041 #endif