]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MFT/rootlogon.C
Support files added
[u/mrichter/AliRoot.git] / MFT / rootlogon.C
CommitLineData
c95698be 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
37 //================= define the style =================== //
38
39 // divisions: axis marks outside the figure (minus sign)
40 gStyle->SetTickLength(-0.03,"X"); gStyle->SetTickLength(-0.03,"Y");
41 gStyle->SetNdivisions(508,"X"); gStyle->SetNdivisions(506,"Y"); // set ndvx (y)
42
43 // dimensions and position of fonts connected to axes
44 gStyle->SetLabelSize(0.05,"X"); gStyle->SetLabelSize(0.05,"Y");
45 gStyle->SetLabelOffset(0.02,"X"); gStyle->SetLabelOffset(0.04,"Y");
46
47 // dimension of the canvas and of the figure (pad) inside it
48 gStyle->SetCanvasDefW(600); gStyle->SetCanvasDefH(600);
49 gStyle->SetPadBottomMargin(0.16); gStyle->SetPadLeftMargin(0.18);
50 gStyle->SetPadTopMargin(0.08); gStyle->SetPadRightMargin(0.06);
51 gStyle->SetTitleXSize(0.05); gStyle->SetTitleYSize(0.05);
52 gStyle->SetTitleXOffset(1.5); gStyle->SetTitleYOffset(1.9);
53 gStyle->SetStatW(0.16); gStyle->SetStatH(0.16);
54 gStyle->SetFitFormat("9.6g");
55 gStyle->SetCanvasColor(0);
56 gStyle->SetCanvasBorderMode(0);
57 gStyle->SetPadBorderMode(0);
58 gStyle->SetOptTitle(1);
59 gStyle->SetOptStat(1110);
60 gStyle->SetOptFit(1);
61
62 gStyle->SetPalette(1,0); // rainbow colors
63 gStyle->SetHistLineWidth(2);
64
65 gStyle->SetFrameBorderMode(0);
66 gROOT->ForceStyle();
67
68}
69