]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MFT/rootlogon.C
Support files added
[u/mrichter/AliRoot.git] / MFT / rootlogon.C
1 {
2
3   cout << "Loading libraries ..." << endl;
4   gROOT->LoadMacro("${ALICE_ROOT}/MUON/loadlibs.C");
5   gInterpreter->ProcessLine("loadlibs()");
6   
7   TString includePath = "-I${ROOTSYS}/include ";
8   includePath        += "-I/gridgroup/ALICE/auras/macros ";
9   includePath        += "-I${ALICE_ROOT}/STEER ";
10   includePath        += "-I${ALICE_ROOT}/STEERBase ";
11   includePath        += "-I${ALICE_BUILD}/include ";
12   includePath        += "-I${ALICE_ROOT}/RAW ";
13   includePath        += "-I${ALICE_ROOT}/FASTSIM ";
14   includePath        += "-I${ALICE_ROOT}/EVGEN ";
15   includePath        += "-I${ALICE_ROOT}/SHUTTLE/TestShuttle ";
16   includePath        += "-I${ALICE_ROOT}/ITS ";
17   includePath        += "-I${ALICE_ROOT}/MUON ";
18   includePath        += "-I${ALICE_ROOT}/MFT ";
19   includePath        += "-I${ALICE_ROOT}/MUON/mapping ";
20   includePath        += "-I${ALICE_ROOT}/RAW ";
21   includePath        += "-I${ALICE_ROOT}/CORRFW ";
22   includePath        += "-I${ROOTSYS}/net/alien/inc ";
23   gSystem->SetIncludePath(includePath.Data());
24   
25   gSystem->Load("libCore.so"); 
26   gSystem->Load("libTree.so");
27   gSystem->Load("libGeom.so");
28   gSystem->Load("libVMC.so");
29   gSystem->Load("libPhysics.so");
30   gSystem->Load("libSTEERBase");
31   gSystem->Load("libESD");
32   gSystem->Load("libAOD");
33   gSystem->Load("libANALYSIS") ;
34   gSystem->Load("libANALYSISalice") ;
35   gSystem->Load("libCORRFW") ;
36   gSystem->Load("libMFTbase") ;
37   gSystem->Load("libMFTsim") ;
38   gSystem->Load("libMFTrec") ;
39   
40   //================= define the style =================== //
41   
42   // divisions: axis marks outside the figure (minus sign)
43   gStyle->SetTickLength(-0.03,"X");  gStyle->SetTickLength(-0.03,"Y"); 
44   gStyle->SetNdivisions(508,"X");    gStyle->SetNdivisions(506,"Y"); // set ndvx (y)
45   
46   // dimensions and position of fonts connected to axes  
47   gStyle->SetLabelSize(0.05,"X");    gStyle->SetLabelSize(0.05,"Y");  
48   gStyle->SetLabelOffset(0.02,"X");  gStyle->SetLabelOffset(0.04,"Y");  
49   
50   // dimension of the canvas and of the figure (pad) inside it
51   gStyle->SetCanvasDefW(600);        gStyle->SetCanvasDefH(600);
52   gStyle->SetPadBottomMargin(0.16);  gStyle->SetPadLeftMargin(0.18);    
53   gStyle->SetPadTopMargin(0.08);     gStyle->SetPadRightMargin(0.06);    
54   gStyle->SetTitleXSize(0.05);       gStyle->SetTitleYSize(0.05);
55   gStyle->SetTitleXOffset(1.5);      gStyle->SetTitleYOffset(1.9);
56   gStyle->SetStatW(0.16);            gStyle->SetStatH(0.16);
57   gStyle->SetFitFormat("9.6g"); 
58   gStyle->SetCanvasColor(0);
59   gStyle->SetCanvasBorderMode(0);
60   gStyle->SetPadBorderMode(0);
61   gStyle->SetOptTitle(1);
62   gStyle->SetOptStat(1110);
63   gStyle->SetOptFit(1);
64   
65   gStyle->SetPalette(1,0);  // rainbow colors
66   gStyle->SetHistLineWidth(2); 
67   
68   gStyle->SetFrameBorderMode(0);
69   gROOT->ForceStyle();
70   
71 }
72