rootlogon.C 2.41 KB
Newer Older
1 2
void rootlogon() {

Vratislav Chudoba's avatar
Vratislav Chudoba committed
3 4
	return;

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
	Info("rootlogon.c", "This settings are used to make large canvases");

//	return;

	//gStyle choice
//	gROOT->SetStyle("Classic");
//	gROOT->SetStyle("Plain");
//	gROOT->SetStyle("Bold");
//	gROOT->SetStyle("Video");
//	gROOT->SetStyle("Pub");
	gROOT->SetStyle("Modern");

	gStyle->SetTitleSize(0.06, "X");
	gStyle->SetTitleOffset(0.74, "X");

	gStyle->SetTitleSize(0.06, "Y");
	gStyle->SetTitleOffset(0.85, "Y");

	gStyle->SetPadTopMargin(0.04);
	gStyle->SetPadBottomMargin(0.13);
	gStyle->SetPadLeftMargin(0.13);
	gStyle->SetPadRightMargin(0.03);

	gStyle->SetOptStat("n");

//	gStyle->SetTitle


	return;
	gStyle->SetOptStat("n");
	gStyle->SetOptStat("ne");
//	gStyle->SetOptStat("");

	//canvas size and position
	//one panel pictures
//	gStyle->SetCanvasDefW(900);
//	gStyle->SetCanvasDefH(600);
//	gStyle->SetCanvasDefX(800);
//	gStyle->SetCanvasDefY(300);
	gStyle->SetCanvasDefH(1091);
	gStyle->SetCanvasDefW(1200);
	gStyle->SetCanvasDefX(540);
	gStyle->SetCanvasDefY(0);

	//marker attributes
	gStyle->SetMarkerStyle(20);
	gStyle->SetMarkerSize(0.1);
	gStyle->SetMarkerColor(1);

	//line attributes
	gStyle->SetHistLineWidth(1);
//	gStyle->SetHistLineWidth(2);
//	gStyle->SetHistLineWidth(3);

	gStyle->SetTitleBorderSize(0);

	return;

	gStyle->SetTitleXSize(0.06);
	gStyle->SetTitleYSize(0.06);

	return;

	gStyle->SetTitleFont(132, "X");
	gStyle->SetTitleFont(132, "Y");
	gStyle->SetLabelFont(132, "X");
	gStyle->SetLabelFont(132, "Y");

	gStyle->SetPadTopMargin(0.04);
	gStyle->SetPadBottomMargin(0.13);
	gStyle->SetPadLeftMargin(0.13);
	gStyle->SetPadRightMargin(0.03);
//	gStyle->SetTitleOffset(1.3, "Y");
//	gStyle->SetLabelSize(0.05, "X");
//	gStyle->SetLabelSize(0.05, "Y");
//	gStyle->SetTitleSize(0.06, "X");
//	gStyle->SetTitleSize(0.06, "Y");


	return;

	//parameters used for pictures in EXON paper
//	gStyle->SetStatBorderSize(0);
//	gStyle->SetTitleBorderSize(0);
//	gStyle->SetTitleAlign(12);
//	gStyle->SetTitleX(0.83);
//	gStyle->SetTitleY(0.85);
	gStyle->SetTitleX(0.83);	//for Fig2
	gStyle->SetTitleY(0.9);	//for Fig2
	gStyle->SetTitleFontSize(0.08);
//	gStyle->SetTitleFillColor(0);
//	gStyle->SetLineWidth(1);
//	gStyle->SetHistLineWidth(1);
	gStyle->SetHistLineWidth(3);
	gStyle->SetPadTopMargin(0.05);
	gStyle->SetPadBottomMargin(0.13);
	gStyle->SetPadLeftMargin(0.14);
	gStyle->SetPadRightMargin(0.05);


//	gStyle->SetAxisColor(1);
	gStyle->SetLabelColor(1, "X");
	gStyle->SetLabelColor(1, "Y");

}