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