1 |
{ |
2 |
TString rootsys = gSystem->Getenv("ROOTSYS"); |
3 |
TString pamlib = gSystem->Getenv("PAM_LIB"); |
4 |
TString paminc = gSystem->Getenv("PAM_INC"); |
5 |
TString clhepinc = gSystem->Getenv("CLHEP_INCLUDE_DIR"); |
6 |
TString clheplib = gSystem->Getenv("CLHEP_LIB_DIR"); |
7 |
TString g4inc = gSystem->Getenv("G4INCLUDE"); |
8 |
TString g4vmc = gSystem->Getenv("G4VMC_DIR"); |
9 |
TString pamvmc = gSystem->Getenv("PAM_VMC"); |
10 |
TString vgm = gSystem->Getenv("VGM_INSTALL"); |
11 |
TString g4lib = gSystem->Getenv("G4LIB"); |
12 |
gROOT->ProcessLine(".include "+paminc); |
13 |
gROOT->ProcessLine(".include "+paminc+"/yoda"); |
14 |
gROOT->ProcessLine(".include "+pamvmc+"/include"); |
15 |
gROOT->ProcessLine(".include "+pamvmc+"/aux/spectra_generator"); |
16 |
gROOT->ProcessLine(".include "+pamvmc+"/cal/include"); |
17 |
gROOT->ProcessLine(".include "+pamvmc+"/ac/include"); |
18 |
gROOT->ProcessLine(".include "+pamvmc+"/nd/include"); |
19 |
gROOT->ProcessLine(".include "+pamvmc+"/s4/include"); |
20 |
gROOT->ProcessLine(".include "+pamvmc+"/tof/include"); |
21 |
gROOT->ProcessLine(".include "+pamvmc+"/trk/include"); |
22 |
gROOT->ProcessLine(".include "+clhepinc+"/include"); |
23 |
gROOT->ProcessLine(".include "+g4inc); |
24 |
gROOT->ProcessLine(".include "+g4vmc+"/include"); |
25 |
gSystem->SetDynamicPath(pamlib+":"+rootsys+"/lib"+":"+rootsys+"/cint/cint/stl"+":"+g4lib+"/Linux-g++"+":"+clheplib+":/usr/lib:"+vgm+"/lib/Linux-g++:"+g4vmc+"/lib/tgt_linux"); |
26 |
|
27 |
gSystem->Load("libCore.so"); |
28 |
gSystem->Load("libRIO.so"); |
29 |
gSystem->Load("libTree.so"); |
30 |
gSystem->Load("libTMVA.so"); |
31 |
|
32 |
|
33 |
|
34 |
gSystem->Load("libyoda.so"); |
35 |
gSystem->Load("libGLTables.so"); |
36 |
|
37 |
gSystem->Load("libsgp4.so"); |
38 |
|
39 |
gSystem->Load("libDarthVader.so"); |
40 |
gSystem->Load("libTrkParams.so"); |
41 |
gSystem->Load("libMatrix.so"); |
42 |
gSystem->Load("libOrbitalInfo.so"); |
43 |
gSystem->Load("libNDLevel2.so"); |
44 |
gSystem->Load("libAcLevel2.so"); |
45 |
gSystem->Load("libS4Level2.so"); |
46 |
gSystem->Load("libTrkCore.so"); |
47 |
|
48 |
gSystem->Load("libTrigLevel2.so"); |
49 |
gSystem->Load("libTrkLevel0.so"); |
50 |
gSystem->Load("libTrkLevel2.so"); |
51 |
gSystem->Load("libCaloLevel1.so"); |
52 |
gSystem->Load("libCaloLevel2.so"); |
53 |
gSystem->Load("libToFLevel2.so"); |
54 |
gSystem->Load("libPamLevel2.so"); |
55 |
gSystem->Load("libGeom"); |
56 |
gSystem->Load("libVMC"); |
57 |
gSystem->Load("libEG"); |
58 |
gSystem->Load("libPhysics"); |
59 |
|
60 |
gROOT->LoadMacro(pamvmc+"/macro/PamG4Libs.C"); |
61 |
PamG4Libs(); |
62 |
|
63 |
TString PLAT=gSystem->Getenv("PLATFORM"); |
64 |
gSystem->Load(pamvmc+"/lib/tgt_"+PLAT+"/libPamVMC_fc.so"); |
65 |
gSystem->Load(pamvmc+"/lib/tgt_"+PLAT+"/libPamG4RunConfiguration.so"); |
66 |
gSystem->Load(pamvmc+"/aux/spectra_generator/libPrimaryInfo.so"); |
67 |
gSystem->Load("libgeant4vmc.so"); |
68 |
|
69 |
gROOT->SetStyle("Plain"); |
70 |
gStyle->SetPalette(1); |
71 |
gStyle->SetPalette(1); |
72 |
gStyle->SetPadTickX(1); |
73 |
gStyle->SetPadTickY(1); |
74 |
} |