{ printf("This is the rootlogon.C executed in: %s\n", gSystem->WorkingDirectory()); // JEC Modified version of // Known as Pub style in ROOT::TStyle v4 // Authors: Art Poskanzer and Jim Thomas, LBNL, Oct. 2000 // //Size/Offset gStyle->SetPaperSize(20,26); // add this same as kA4 but not known here... gStyle->SetLabelSize(0.05,"XYZ"); gStyle->SetLabelOffset(0.01,"Y"); gStyle->SetTitleBorderSize(0.); gStyle->SetTitleSize(0.06,"XYZ"); gStyle->SetTitleOffset(1.1,"Y"); gStyle->SetTitleX(0.5); gStyle->SetTitleAlign(23); gStyle->SetOptStat(0); //no stat gStyle->SetOptTitle(1); //modify 0->1 gStyle->SetPadBottomMargin(0.15); gStyle->SetPadLeftMargin(0.15); //Ticks gStyle->SetPadTickX(1); gStyle->SetPadTickY(1); gStyle->SetNdivisions(505,"xyz"); //add number of divisions //Widthes gStyle->SetFrameLineWidth(2); gStyle->SetHistLineWidth(2); gStyle->SetLineWidth(2); gStyle->SetFuncWidth(2); //Fonts gStyle->SetLabelFont(132,"xyz"); //132: time-medium-r-normal gStyle->SetStatFont(132); gStyle->SetTitleFont(132,"xyz"); gStyle->SetTextFont(132); //Border style gStyle->SetDrawBorder(0); //Color //gStyle->SetPalette(8,0);//the default palette is used with 9 colors gStyle->SetAxisColor(kBlack); gStyle->SetPadColor(kWhite); gStyle->SetCanvasColor(kWhite); gStyle->SetFrameFillColor(kWhite); gStyle->SetFrameLineColor(kBlack); gStyle->SetLineColor(kBlue); gStyle->SetFillColor(kYellow); gStyle->SetMarkerColor(kRed); gStyle->SetHistLineColor(kRed); gStyle->SetLabelColor(kBlack,"XYZ"); gStyle->SetTitleFillColor(kWhite); gStyle->SetTitleTextColor(kBlue); gStyle->SetFuncColor(kGreen); //force to use this style gROOT->ForceStyle(); }//This mandatory