]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/loadmacros.C
A new macro for loading and compiling the macros in MUON
[u/mrichter/AliRoot.git] / MUON / loadmacros.C
CommitLineData
2095bb50 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/* $Id$ */
17
18// Macro which loads and compiles the MUON macros:
19//
20// DecodeRecoCocktail.C - ok, comp, README; Hermine, Alessandro
21// ReadRecoCocktail.C - ok, x, README; Hermine, Alessandro
22// MergeMuonLight.C - x, x, README; Hermine, Alessandro
23// MakeMUONFullMisAlignment.C - ok, comp, README; Javier, Ivana
24// MakeMUONResMisAlignment.C - ok, comp, README; Javier, Ivana
25// MakeMUONZeroMisAlignment.C - ok, comp, README; Javier, Ivana
26// MUONAlignment.C - ok, comp, README; Javier
27// MUONCheck.C - ok, comp, x, Frederic, in test
28// MUONCheckDI.C - x, !comp, x Artur
29// MUONCheckMisAligner.C - ok, comp, x, Javier
30// MUONdisplay.C - ok, comp, deprecated
31// MUONefficiency.C - ok, comp, README; Christophe, in test
32// MUONGenerateBusPatch.C - ok, comp, x, Christian
33// MUONGenerateGeometryData.C - ok, comp, README; Ivana
34// MUONGenerateTestGMS.C - ok, comp, x, Ivana
35// MUONmassPlot_ESD.C - ok, comp, x, Christian
36// MUONplotefficiency.C - ok, x, README; Christophe
37// MUONRawStreamTracker.C - x, comp, README; Christian
38// MUONRawStreamTrigger.C - x, comp, README; Christian
39// MUONRecoCheck.C - ok, comp, README; Hermine, Alessandro
40// MUONResoEffChamber.C - ok, comp, x, Nicolas
41// MUONStatusMap.C - x, !comp, x, Laurent
42// MUONTracker.C - no, !comp, README; Philippe P.
43// MUONTrigger.C - ok, comp, README, Philippe C.
44// MUONTriggerEfficiency.C - ok, comp, x, Philippe C., in test
45// MUONTriggerEfficiencyPt.C - x, comp, README, Philippe C.
46// TestMUONPreprocessor.C - ok, comp, READMEshuttle; Laurent
47//
48// 1st item:
49// ok/fails/x - if the macro runs; x means that it was not tried either for lack
50// of documentation, or expertise
51//
52// 2nd item:
53// comp/x - if the macro can be compiled
54//
55// 3rd item:
56// README*/x - if it is documented in README, x means no doxumentation outside the
57// macro itself
58//
59// 4th item: - author(s), responsible for macro maintenance
60//
61// eventually
62// 5th item: - if the macro is run within test scripts
63//
64// I. Hrivnacova
65
66#if !defined(__CINT__) || defined(__MAKECINT__)
67
68#include <TROOT.h>
69#include <TSystem.h>
70#include <TString.h>
71
72#endif
73
74void loadmacros ()
75{
76 // Redefine include paths as some macros need
77 // to see more than what is define in rootlogon.C
78 //
79 TString includePath = "-I${ALICE_ROOT}/include ";
80 includePath += "-I${ALICE_ROOT}/RAW ";
81 includePath += "-I${ALICE_ROOT}/SHUTTLE/TestShuttle ";
82 includePath += "-I${ALICE_ROOT}/ITS ";
83 includePath += "-I${ALICE_ROOT}/MUON ";
84 includePath += "-I${ALICE_ROOT}/MUON/mapping";
85 gSystem->SetIncludePath(includePath.Data());
86
87 // Load libraries not linked with aliroot
88 //
89 gSystem->Load("../SHUTTLE/TestShuttle/libTestShuttle.so");
90 gSystem->Load("libMUONshuttle.so");
91 gSystem->Load("libMUONevaluation.so");
92
93 // Load macros
94 //
95 gROOT->LoadMacro("DecodeRecoCocktail.C++");
96 // gROOT->LoadMacro("ReadRecoCocktail.C++");
97 // gROOT->LoadMacro("MergeMuonLight.C++");
98 gROOT->LoadMacro("MakeMUONFullMisAlignment.C++");
99 gROOT->LoadMacro("MakeMUONResMisAlignment.C++");
100 gROOT->LoadMacro("MakeMUONZeroMisAlignment.C++");
101 gROOT->LoadMacro("MUONAlignment.C++");
102 gROOT->LoadMacro("MUONCheck.C++");
103 // gROOT->LoadMacro("MUONCheckDI.C++");
104 gROOT->LoadMacro("MUONCheckMisAligner.C++");
105 gROOT->LoadMacro("MUONdisplay.C++");
106 gROOT->LoadMacro("MUONefficiency.C++");
107 gROOT->LoadMacro("MUONGenerateBusPatch.C++");
108 gROOT->LoadMacro("MUONGenerateGeometryData.C++");
109 gROOT->LoadMacro("MUONGenerateTestGMS.C++");
110 gROOT->LoadMacro("MUONmassPlot_ESD.C++");
111 // gROOT->LoadMacro("MUONplotefficiency.C++");
112 gROOT->LoadMacro("MUONRawStreamTracker.C++");
113 gROOT->LoadMacro("MUONRawStreamTrigger.C++");
114 gROOT->LoadMacro("MUONRecoCheck.C++");
115 gROOT->LoadMacro("MUONResoEffChamber.C++");
116 // gROOT->LoadMacro("MUONStatusMap.C++");
117 // gROOT->LoadMacro("MUONTracker.C++");
118 gROOT->LoadMacro("MUONTrigger.C++");
119 gROOT->LoadMacro("MUONTriggerEfficiency.C++");
120 gROOT->LoadMacro("MUONTriggerEfficiencyPt.C++");
121 gROOT->LoadMacro("TestMUONPreprocessor.C++");
122}