Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "BAT/BCAux.h"
00011
00012 #include <TStyle.h>
00013
00014
00015
00016 void BCAux::SetStyle()
00017 {
00018
00019 gStyle -> SetCanvasColor (kWhite);
00020 gStyle -> SetCanvasBorderMode(0);
00021 gStyle -> SetCanvasDefH (700);
00022 gStyle -> SetCanvasDefW (700);
00023
00024
00025 gStyle -> SetPadTopMargin (0.13);
00026 gStyle -> SetPadBottomMargin(0.15);
00027 gStyle -> SetPadLeftMargin (0.15);
00028 gStyle -> SetPadRightMargin (0.13);
00029 gStyle -> SetPadBorderMode (0);
00030
00031
00032 gStyle -> SetFrameFillStyle (0);
00033 gStyle -> SetFrameFillColor (kWhite);
00034 gStyle -> SetFrameLineColor (kBlack);
00035 gStyle -> SetFrameLineStyle (0);
00036 gStyle -> SetFrameLineWidth (1);
00037 gStyle -> SetFrameBorderMode(0);
00038
00039
00040 gStyle -> SetHistFillColor(kWhite);
00041 gStyle -> SetHistFillStyle(0);
00042 gStyle -> SetHistLineColor(kBlack);
00043 gStyle -> SetHistLineStyle(0);
00044 gStyle -> SetHistLineWidth(1);
00045
00046
00047 gStyle -> SetOptTitle(0);
00048
00049
00050 gStyle -> SetLineColor(kBlack);
00051 gStyle -> SetLineStyle(1);
00052 gStyle -> SetLineWidth(1);
00053
00054
00055 gStyle -> SetMarkerStyle(kFullCircle);
00056 gStyle -> SetMarkerSize (1.0);
00057
00058
00059 gStyle -> SetFuncColor(kBlack);
00060 gStyle -> SetFuncStyle(0);
00061 gStyle -> SetFuncWidth(2);
00062
00063
00064
00065 gStyle -> SetLabelFont(62, "X");
00066
00067
00068
00069 gStyle -> SetLabelFont(62, "Y");
00070
00071
00072
00073 gStyle -> SetTitleFillColor(kWhite);
00074 gStyle -> SetTitleBorderSize(0);
00075 gStyle -> SetTitleFont (62, "");
00076 gStyle -> SetTitleOffset (0.0, "");
00077 gStyle -> SetTitleH (0.07);
00078
00079 gStyle -> SetTitleFont (62, "X");
00080
00081 gStyle -> SetTitleOffset (1.1, "X");
00082
00083 gStyle -> SetTitleFont (62, "Y");
00084
00085 gStyle -> SetTitleOffset (1.6, "Y");
00086
00087
00088 gStyle -> SetTickLength(0.03);
00089
00090
00091 gStyle -> SetStatFont (62);
00092 gStyle -> SetStatColor(kWhite);
00093 gStyle -> SetStatH (0.20);
00094 gStyle -> SetStatW (0.20);
00095 gStyle -> SetStatX (0.965);
00096 gStyle -> SetStatY (0.90);
00097
00098
00099 gStyle -> SetPalette(1,0);
00100
00101 }
00102
00103
00104