Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:00

0001 {
0002 
0003 cout << "FWlite ..." << endl;
0004 
0005 gSystem->Load("libFWCoreFWLite.so");
0006    FWLiteEnabler::enable();
0007 
0008 cout << "Redefining colors ..." << endl;
0009 
0010 
0011 TColor::InitializeColors(); 
0012 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(41));
0013 color->SetRGB(1.0, 0.1, 0.5); // deep roze    
0014 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(42));
0015 color->SetRGB(0.5, 0.8, 0.1); // light green  
0016 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(43));
0017 color->SetRGB(0.1, 0.5, 0.3); // dark  green  
0018 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(44));
0019 color->SetRGB(0.5, 0.2, 0.8); // blue-violet  
0020 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(45));
0021 color->SetRGB(0.2, 0.6, 0.9); // grey-blue    
0022 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(46));
0023 color->SetRGB(1.0, 0.5, 0.0); // orange-brick 
0024 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(47));
0025 color->SetRGB(0.8, 0.0, 0.0); // brick 
0026 //
0027 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(51));
0028 color->SetRGB(1.0 , 1.0 , 0.8 ); // lightest yellow 
0029 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(52));
0030 color->SetRGB(0.8 , 1.00, 1.00); // lightest blue-cyan       
0031 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(53));
0032 color->SetRGB(1.0 , 0.95, 0.95); // lightest rose
0033 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(54));
0034 color->SetRGB(0.8 , 1.0 , 0.8 ); // lightest green
0035 TColor *color = (TColor*)(gROOT->GetListOfColors()->At(55));
0036 color->SetRGB(1.00, 1.00, 1.00); // white
0037 
0038 gStyle->SetOptStat(0);   
0039 
0040   gStyle->SetCanvasBorderMode(0);
0041   gStyle->SetCanvasColor(52);
0042   gStyle->SetTitleSize(0.06, "XYZ");
0043   gStyle->SetTitleXOffset(0.9);
0044   gStyle->SetTitleYOffset(1.25);
0045 
0046   gStyle->SetLabelOffset(0.007, "XYZ");
0047   gStyle->SetLabelSize(0.05, "XYZ");
0048 
0049  
0050   gStyle->SetTitle("");
0051   gStyle->SetOptTitle(0);
0052  
0053   gStyle->SetHistLineColor(45);
0054   gStyle->SetHistLineStyle(1);
0055   gStyle->SetHistLineWidth(2);
0056 
0057   gStyle->SetPadColor(52);  
0058   gStyle->SetPadBorderSize(1); 
0059   gStyle->SetPadBottomMargin(0.15);
0060   gStyle->SetPadTopMargin(0.1);
0061   gStyle->SetPadLeftMargin(0.15);
0062   gStyle->SetPadRightMargin(0.15);
0063   gStyle->SetFrameBorderMode(0);
0064   gStyle->SetFrameFillColor(55);
0065 }