simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
AtlasUtils.h
1 //
2 // @file AtlasUtils.h
3 //
4 //
5 // @author M.Sutton
6 //
7 // Copyright (C) 2010 Atlas Collaboration
8 //
9 // $Id: AtlasUtils.h, v0.0 Thu 25 Mar 2010 10:34:20 CET $
10 
11 
12 #ifndef __ATLASUTILS_H
13 #define __ATLASUTILS_H
14 
15 #include "TGraphErrors.h"
16 #include "TGraphAsymmErrors.h"
17 
18 void ATLAS_LABEL(Double_t x,Double_t y,Color_t color=1);
19 
20 TGraphErrors* myTGraphErrorsDivide(TGraphErrors* g1,TGraphErrors* g2);
21 
22 TGraphAsymmErrors* myTGraphErrorsDivide(TGraphAsymmErrors* g1,TGraphAsymmErrors* g2);
23 
24 TGraphAsymmErrors* myMakeBand(TGraphErrors* g0, TGraphErrors* g1,TGraphErrors* g2);
25 
26 void myAddtoBand(TGraphErrors* g1, TGraphAsymmErrors* g2);
27 
28 TGraphErrors* TH1TOTGraph(TH1 *h1);
29 
30 void myText(Double_t x,Double_t y,Color_t color,char *text);
31 
32 void myBoxText(Double_t x, Double_t y,Double_t boxsize,Int_t mcolor,char *text);
33 
34 void myMarkerText(Double_t x,Double_t y,Int_t color,Int_t mstyle,char *text,Float_t msize=2.);
35 
36 #endif // __ATLASUTILS_H