Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:29:41

0001 //******************************************
0002 //  rootlogon for macro analysis
0003 //******************************************
0004 {
0005 // browser = new TBrowser();
0006 // gSystem->Load("libTreeViewer");
0007 // printf("\n type helpMe() for my help \n");
0008 // my user macros
0009 //gROOT->LoadMacro("/afs/cern.ch/user/d/droll/root_macros/UseRoot.C");
0010 //gROOT->LoadMacro("/afs/cern.ch/user/d/droll/root_macros/myFunctions.C");
0011 
0012 //my color table
0013 TColor *color = new TColor(1111,1.0,1.0,0.8,"moon");
0014 TColor *color = new TColor(2222,0.5,0.0,0.8,"blackberry");
0015 TColor *color = new TColor(3333,0.9,0.0,0.5,"bordeaux");
0016 TColor *color = new TColor(4444,0.0,0.7,0.4,"tanne");
0017 TColor *color = new TColor(5555,0.8,0.8,1.0,"milka");
0018 TColor *color = new TColor(6666,0.6,1.0,0.8,"mint");
0019 TColor *color = new TColor(7777,1.0,1.0,0.6,"zitrone");
0020 TColor *color = new TColor(8888,0.0,0.0,0.5,"nightsky");
0021 TColor *color = new TColor(9999,1.0,0.3,0.5,"hummer");
0022 
0023 gStyle->SetCanvasBorderMode(0);
0024 gStyle->SetPadBorderMode(0);
0025 gStyle->SetStatBorderSize(1);
0026 gStyle->SetStatStyle(1001);
0027 gStyle->SetCanvasColor(10);
0028 gStyle->SetPadColor(10);
0029 gStyle->SetStatColor(10);
0030 
0031 gStyle->SetStatFont(22);        // Times New Roman
0032 gStyle->SetTextFont(22);        // Times New Roman
0033 gStyle->SetTitleFont(22,"XYZ"); // Times New Roman
0034 gStyle->SetLabelFont(22,"XYZ"); // Times New Roman
0035 
0036 gStyle->SetPadBottomMargin(0.11);
0037 gStyle->SetPadTopMargin(0.09);
0038 gStyle->SetPadLeftMargin(0.15);
0039 gStyle->SetPadRightMargin(0.05);
0040 gStyle->SetStatX(0.95);
0041 gStyle->SetStatY(0.95);
0042 gStyle->SetStatW(0.2);
0043 gStyle->SetStatH(0.2);
0044 
0045 gStyle->SetTitleSize(0.07,"XYZ");
0046 gStyle->SetLabelSize(0.07,"XYZ");
0047 
0048 gStyle->SetTitlePS("error parametrization");
0049 gStyle->SetOptStat(11111110);   // print fit results in the stat box
0050 gStyle->SetOptFit(0110);
0051 gStyle->SetOptDate(0);
0052 gStyle->SetOptStat(0);
0053 gStyle->SetOptTitle(0);
0054 gStyle->SetMarkerColor(4444);
0055 gStyle->SetMarkerStyle(4);
0056 gStyle->SetMarkerSize(0.2);
0057 gStyle->SetHistLineColor(1);
0058 gStyle->SetHistLineWidth(3);
0059 
0060 
0061 }
0062 
0063